Hi friends...I tried to get the MAC address of my only ethernet card eth0 (configured as DHCP). I got different results with the two commands arp and ifconfig.Can anybody explain me the reason and what is my real MAC address??
Code:
[root@localhost ~]# arp -an
? (192.168.1.1) at 00:17:7C:01:E5:75 [ether] on eth0
[root@localhost ~]#
[root@localhost ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:19:5B:6B:F2:55
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::219:5bff:fe6b:f255/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3049 errors:0 dropped:0 overruns:0 frame:0
TX packets:2559 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1638976 (1.5 MiB) TX bytes:382240 (373.2 KiB)
Interrupt:9 Base address:0x6c00
[root@localhost ~]#
Thanx in advance
--Bhupesh