Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-12-2004, 08:32 AM   #1
Registered: May 2004
Posts: 130

Rep: Reputation: 15
How to know MAC address ( Machine address)??

How to know MAC address ( Machine address)??

Can I change it?
Old 08-12-2004, 08:45 AM   #2
Registered: Aug 2004
Location: Cairo, Egypt
Distribution: Slackware
Posts: 101

Rep: Reputation: 15
ping it, run arp -a and match the IP address to the MAC address.

if you want to change your MAC address in linux
ifconfig ethX hw ether <mac address>

Last edited by elsheikhmh; 08-12-2004 at 08:50 AM.
Old 08-12-2004, 10:07 AM   #3
Registered: May 2004
Posts: 130

Original Poster
Rep: Reputation: 15
I don't understand it clearly
I want to know my MAC address and Must I ping my IP address?
my IP address is 161.XXX.18.Y1 so I use this command

[root@localhost root]# ping 161.XXX.18.Y1
and when I run " arp -a"
[root@localhost root]# arp -a
? (161.XXX.18.4) at 00:0B:CC:CC:CC:CC [ether] on eth0
? (161.XXX.18.1) at 000DDD:CC [ether] on eth0

I use both command "ping" and "arp -a" in the same machine?
what does it mean?
why don't have my IP address "161.XXX.18.Y1"
The machine that have IP "161.XXX.18.4" ping to me?
and if I ping to one machine,and doesn't want that machine know I ping to.. How to delete it? I mean when that machine use command "arp-a" and my IP disappear...

How to change MAC address in Window?
and the last questions Could u explain me more about command "arp-a"?
Old 08-12-2004, 10:30 AM   #4
Registered: Mar 2004
Location: england
Distribution: slackware
Posts: 164

Rep: Reputation: 30
arp -a just lists the contents of the arp cache.

you best off just using ifconfig -a to get up the mac address.

dare i ask why you're changing the mac address?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find an IP address from the MAC address of a remote machine ? jitz Linux - General 3 01-03-2006 08:55 AM
How to find IP address of a machine if I know their MAC Address dysenteryduke Linux - Networking 13 09-12-2005 11:21 AM
How to find MAC address of a specified IP address ? longtongfish Programming 1 07-12-2005 04:26 PM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 05:33 AM
DHCP Server MAC Address found, IP address not assigned wmburke Linux - Wireless Networking 17 11-17-2004 11:33 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration