- 论坛徽章:
- 0
|
C:\Documents and Settings\Administrator>ipconfig
Windows IP Configuration
Ethernet adapter 本地连接:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 10.165.179.17
Subnet Mask . . . . . . . . . . . : 255.255.255.224
Default Gateway . . . . . . . . . : 10.164.176.1
C:\Documents and Settings\Administrator>ping 10.164.176.1
Pinging 10.164.176.1 with 32 bytes of data:
Reply from 10.164.176.1: bytes=32 time=2ms TTL=255
Reply from 10.164.176.1: bytes=32 time=1ms TTL=255
Ping statistics for 10.164.176.1:
Packets: Sent = 2, Received = 2, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 2ms, Average = 1ms
C:\Documents and Settings\Administrator>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 01 02 59 db 27 ...... Realtek RTL8139 Family PCI Fast Ethernet NIC -
数据包计划程序微型端口
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.164.176.1 10.165.179.17 20
10.165.179.0 255.255.255.224 10.165.179.17 10.165.179.17 20
10.165.179.17 255.255.255.255 127.0.0.1 127.0.0.1 20
10.255.255.255 255.255.255.255 10.165.179.17 10.165.179.17 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
224.0.0.0 240.0.0.0 10.165.179.17 10.165.179.17 20
255.255.255.255 255.255.255.255 10.165.179.17 10.165.179.17 1
Default Gateway: 10.164.176.1
以上是在windows下的配置,在linux下,运行route add -host 10.164.176.1 gw eth1 后,仍然不能. |
|