0
# 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

2
  • 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. Jan 22, 2012 at 20:58
  • @grawity i am not sure i am catching you drift Jan 22, 2012 at 21:01

1 Answer 1

4

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.

1
  • 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! Jan 22, 2012 at 20:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .