- 论坛徽章:
- 0
|
如题,10.0.0.181 和10.0.0.180是同一网段的位于两台主机的两个IP,请看其中一台HOST的路由配置,
hme0: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
inet 192.168.166.180 netmask ffffff00 broadcast 192.168.166.255
hme1: flags=863<UP,BROADCAST,NOTRAILERS,RUNNING,MULTICAST> mtu 1500
inet 10.0.0.180 netmask ffffff00 broadcast 10.0.1.255
Routing Table:
Destination Gateway Flags Ref Use Interface
-------------------- -------------------- ----- ----- ------ ---------
10.0.0.0 10.0.0.180 U 2 0 hme1
192.168.166.0 192.168.166.180 U 3 184587 hme0
default 192.168.166.1 UG 0 489391
traceroute 10.0.0.181
traceroute: Warning: Multiple interfaces found; using 192.168.166.180 @ hme0
traceroute to 10.0.0.181 (10.0.0.181), 30 hops max, 40 byte packets
1 SSC-ESE181 (192.168.166.181) 0.489 ms * 0.356 ms
为什么此时绑定到hme0出去的,似乎应该是绑定到hme1出去,如果绑定了hme0上,应该是不通的,因为在不同的网段上,但居然也能通,为什么? |
|