双网卡请各位大侠来看
双网卡请各位大侠来看卡我用双网卡,同时访问连个内部网络
A .ip :10.11.41.20子网掩码 :255.255.255.0
网关:10.11.41.1
B ip:10.12.44.20
子网掩码:255.255.255.0
网关:10.12.44.1
不能同时访问两网络,用route print查看时会看到
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.11.41.1 10.11.41.20
0.0.0.0 0.0.0.0 10.12.44.1 10.12.41.20
我用route delete 0.0.0.0
在用route add -p 0.0.0.0 mask 0.0.0.0 10.11.41.1/route add -p 10.12.0.0mask 255.0.0.0 10.12.44.1
添加第二个route add -p 10.12.0.0mask 255.0.0.0 10.12.44.1提示:The route addition failed: The specified mask parameter is invalid. (Destination
& Mask) != Destination.
请问各位大侠 我那错了 ???
请问这两个什么意思 1.The route addition failed: The specified mask parameter is invalid. (Destination
& Mask) != Destination.
2.The route addition failed: Either the interface index is wrong or the gateway do
es not lie on the same network as the interface. Check the IP Address Table for
the machine. 你物理网卡上面不能有两个网关。。在静态路由上面添加就好啦 学习了,谢谢指点 。。。。。恩!
页:
[1]