"LI Daobing" <lidaobing@gmail.com> writes:
> 贴一下 netstat -rn 的结果
,----[ netstat -nr ]
| Kernel IP routing table
| Destination Gateway Genmask Flags MSS Window irtt Iface
| 192.168.60.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
| 0.0.0.0 192.168.60.254 0.0.0.0 UG 0 0 0 eth0
`----
网关是 192.168.60.254.
,----[ sudo ifconfig eth0 ]
| eth0 Link encap:Ethernet HWaddr 00:13:72:C3:73:07
| inet addr:192.168.60.117 Bcast:192.168.60.255 Mask:255.255.255.0
| inet6 addr: fe80::213:72ff:fec3:7307/64 Scope:Link
| UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
| RX packets:4807 errors:0 dropped:0 overruns:0 frame:0
| TX packets:3857 errors:0 dropped:0 overruns:0 carrier:0
| collisions:0 txqueuelen:1000
| RX bytes:3583508 (3.4 MiB) TX bytes:406375 (396.8 KiB)
| Interrupt:169
|
`----
--
William