Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.
# ifconfig
eth1      Link encap:Ethernet  HWaddr 00:1e:8c:10:xx:xx
# arp
Address                  HWtype  HWaddress           Flags Mask            Iface
192.xxx.x.x              ether   38:72:c0:cc:xx:xx   C                     ethx

How come it shows different MAC addresses?

EDIT: btw, the one shown by ifconfig is the right one because it is the one that I see on my router

share|improve this question
1  
Your question does not show in any way that those different addresses belong to the same interface or the same IP addr. Stop being paranoid and editing out information that is important to the question. –  grawity Jan 22 '12 at 20:58
    
@grawity i am not sure i am catching you drift –  François ッ Vespa ت Jan 22 '12 at 21:01

1 Answer 1

up vote 2 down vote accepted

ifconfig provides the MAC address of your network interface, while arp provides the MAC address of other hardware on the network, such as your router.

share|improve this answer
    
okay now i got it :) i was wondering also why arp was showing the internal IP of my router and not the internal IP of the computer I use. Thanks! –  François ッ Vespa ت Jan 22 '12 at 20:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.