This is route using default mac
Code:
root@lib09/home/clay> route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 ath0
localnet * 255.252.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default homeibm.mshome. 0.0.0.0 UG 0 0 0 ath0
root@lib09/home/clay> ifconfig ath0
ath0 Link encap:Ethernet HWaddr 00:0F:B5:EB:4A:C0
inet addr:192.168.0.88 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20f:b5ff:feeb:4ac0/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:45 errors:0 dropped:0 overruns:0 frame:0
TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13682 (13.3 Kb) TX bytes:14636 (14.2 Kb)
And here we have changed the mac.
Code:
root@lib09/home/clay> route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 ath0
localnet * 255.252.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 192.168.0.1 0.0.0.0 UG 0 0 0 ath0
root@lib09/home/clay> cat /etc/resolv.conf
nameserver 192.168.0.1
search mshome.net
root@lib09/home/clay> ifconfig ath0
ath0 Link encap:Ethernet HWaddr AB:01:23:45:67:89
inet addr:192.168.0.183 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::a901:23ff:fe45:6789/64 Scope:Link
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:366 errors:0 dropped:0 overruns:0 frame:0
TX packets:372 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:193014 (188.4 Kb) TX bytes:68963 (67.3 Kb)
root@lib09/home/clay>
Seee??? Why does that happen?