日期:2014-05-17  浏览次数:21551 次

双网卡的电脑如何同时上“专网”和“外网”?
如图,电脑XP系统,按有2个网卡,配置如图,目的是同时上“专网”和“外网”但现在只能上外网,IE无法访问“专网”。只有将外网网卡禁用或断开网线,才能(就能)上“专网”,如何做能既能上“专网”又同时能上“外网”?



ipconfig/all 如下:

Windows IP Configuration

  Host Name . . . . . . . . . . . . : RL-PC

  Primary Dns Suffix . . . . . . . : 

  Node Type . . . . . . . . . . . . : Unknown

  IP Routing Enabled. . . . . . . . : No

  WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter 本地连接:

  Connection-specific DNS Suffix . : 

  Description . . . . . . . . . . . : Generic Marvell Yukon 88E8056 based Ethernet Controller

  Physical Address. . . . . . . . . : 00-E0-B0-F3-71-BD

  Dhcp Enabled. . . . . . . . . . . : No

  IP Address. . . . . . . . . . . . : 10.10.31.74

  Subnet Mask . . . . . . . . . . . : 255.255.255.252

  Default Gateway . . . . . . . . . : 10.10.31.73



Ethernet adapter 本地连接II:

  Connection-specific DNS Suffix . : 

  Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethernet NIC

  Physical Address. . . . . . . . . : 00-E0-4C-B2-B4-73

  Dhcp Enabled. . . . . . . . . . . : No

  IP Address. . . . . . . . . . . . : 192.168.1.120

  Subnet Mask . . . . . . . . . . . : 255.255.255.0

  Default Gateway . . . . . . . . . : 192.168.1.1

  DNS Servers . . . . . . . . . . . : 192.168.1.1

  202.96.64.68

------解决方案--------------------
1 在网卡配置的时候 外网网卡配置网关 专线网卡网关不要配置

2 route -p add 10.0.0.0 mask 255.0.0.0 10.10.31.73 metric 1
执行上面程序 将10.10.31.73网关写入路由表

3 重启两个网卡,试试

不行再上来问