Routing Table
要確定 正確的routing table:
root@wayne21205-BM6630-BM6330-BP6230-8:/wayne_code# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 140.115.156.254 0.0.0.0 UG 0 0 0 eth0
140.115.156.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
192.168.15.0 0.0.0.0 255.255.255.0 U 1 0 0 eth1
若有異常的routing,用下列指令將其刪除:
route del -net 169.254.0.0 netmask 255.255.0.0 gw 0.0.0.0 dev eth0
route del -net 192.168.15.0 netmask 255.255.255.0 gw 0.0.0.0 dev eth0
要確定 正確的routing table:
root@wayne21205-BM6630-BM6330-BP6230-8:/wayne_code# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 140.115.156.254 0.0.0.0 UG 0 0 0 eth0
140.115.156.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0
192.168.15.0 0.0.0.0 255.255.255.0 U 1 0 0 eth1
若有異常的routing,用下列指令將其刪除:
route del -net 169.254.0.0 netmask 255.255.0.0 gw 0.0.0.0 dev eth0
route del -net 192.168.15.0 netmask 255.255.255.0 gw 0.0.0.0 dev eth0
