计算机技术论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

  • 欢迎访问 计算机技术论坛-电脑迷与初学者的家园!由于论坛管理严格,新注册会员可能遇到各种问题,无法解决的请发邮件 admin@jsjbbs.cn
查看: 3244|回复: 3

双网卡请各位大侠来看

[复制链接]
发表于 2009-2-11 13:56:32 | 显示全部楼层 |阅读模式
双网卡请各位大侠来看卡


我用双网卡,同时访问连个内部网络
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.0  mask 255.0.0.0 10.12.44.1
添加第二个route add -p 10.12.0.0  mask 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.
发表于 2009-2-12 09:58:18 | 显示全部楼层
你物理网卡上面不能有两个网关  。。在静态路由上面添加就好啦
发表于 2009-5-18 12:03:58 | 显示全部楼层
学习了,谢谢指点
发表于 2009-5-18 12:52:38 | 显示全部楼层
。。。。。恩!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

无图版|手机版|计算机技术论坛 JSJBBS.CN @ 2008-2024 ( 鲁ICP备17021708号 )

技术支持 : 北京康盛新创科技有限责任公司

快速回复 返回顶部 返回列表