# 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

link|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 at 20:58
@grawity i am not sure i am catching you drift – François ッ Vespa ت Jan 22 at 21:01
feedback

1 Answer

up vote 1 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.

link|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 at 20:59
feedback

Your Answer

 
or
required, but never shown

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