|
Is the arp information the same as the ifconfig -a information?
Example:
ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:06:29:12:23:AD
inet addr:192.168.1.32 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3577287 errors:0 dropped:0 overruns:0 frame:0
TX packets:3417405 errors:0 dropped:0 overruns:0 carrier:0
collisions:255764 txqueuelen:1000
RX bytes:808985656 (771.5 Mb) TX bytes:1810851984 (1726.9 Mb)
Interrupt:10 Base address:0x7c60 Memory:f3eff000-f3eff038
[
arp/arp -e/arp -a
[root@localhost /]# arp
Address HWtype HWaddress Flags Mask Iface
oslo ether 08:00:20:7C:84:48 C eth0
192.168.1.1 ether 00:50:54:FF:3B:E5 C eth0
[root@localhost /]# arp -e
Address HWtype HWaddress Flags Mask Iface
oslo ether 08:00:20:7C:84:48 C eth0
192.168.1.1 ether 00:50:54:FF:3B:E5 C eth0
[root@localhost /]# arp -a
oslo (192.168.1.33) at 08:00:20:7C:84:48 [ether] on eth0
? (192.168.1.1) at 00:50:54:FF:3B:E5 [ether] on eth0
[root@localhost /]#
????
I don't think you are looking at the same MAC address. If you want to make a MAC address permand, do a man page on ethers. Remember, Computers in there local broadcast domain/subnet are not using Ip addresses, they are directly using MAC addresses to talk to each other. If you put in a duplicated MAC address, your network will do funny things.
Give it a try....
Ralf
Last edited by mrsun2005; 12th June 2004 at 02:05 AM.
|