瀏覽單個文章
網路問題
New Member
 

加入日期: May 2009
文章: 5
補充一下

雙方都在xp下

以下使用xp的route print指令

得到router列表如下

Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 123.xxx.xxx.254 123.xxx.xxx.81 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
140.113.218.0 255.255.255.0 192.168.3.5 192.168.3.6 1
123.xxx.xxx.0 255.255.255.0 123.xxx.xxx.81 123.xxx.xxx.81 20
123.xxx.xxx.81 255.255.255.255 127.0.0.1 127.0.0.1 20
123.xxx.255.255 255.255.255.255 123.xxx.xxx.81 123.xxx.xxx.81 20
192.168.3.0 255.255.255.0 192.168.3.5 192.168.3.6 1
192.168.3.4 255.255.255.252 192.168.3.6 192.168.3.6 30
192.168.3.6 255.255.255.255 127.0.0.1 127.0.0.1 30
192.168.3.255 255.255.255.255 192.168.3.6 192.168.3.6 30
224.0.0.0 240.0.0.0 123.xxx.xxx.81 123.xxx.xxx.81 20
224.0.0.0 240.0.0.0 192.168.3.6 192.168.3.6 30
255.255.255.255 255.255.255.255 123.xxx.xxx.81 123.xxx.xxx.81 1
255.255.255.255 255.255.255.255 192.168.3.6 192.168.3.6 1
Default Gateway: 123.xxx.xxx.254
===========================================================================
Persistent Routes:
None


根據網友提示輸入

以下指令

route add 140.xxx.xxx.0 mask 255.255.255.0 140.xxx.xxx.a

route add 192.168.3.0 mask 255.255.255.0 140.xxx.xxx.a

或以下指令

route add 140.xxx.xxx.0 mask 255.255.255.0 140.xxx.xxx.a metric if

route add 192.168.3.0 mask 255.255.255.0 140.xxx.xxx.a metric if

皆得到錯誤訊息如下

The route addition failed: Either the interface index is wrong or the gateway does not lie on the same network as the interface. Check the IP Address Table for the machine.

謝謝
舊 2009-05-03, 02:32 AM #3
回應時引用此文章
網路問題離線中