VPN连接及同时上网的问题
VPN连接到公司网络后就不能同时上QQ和浏览网页了,如何修改路由达到VPN连公司网络,同时又可以上网呢?
VPN未拨号之前的IP及路由表信息
C:\Documents and Settings\Administrator>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : KING
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter 本地连接:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : NVIDIA nForce Networking Controller
Physical Address. . . . . . . . . : 00-0A-48-09-AE-0B
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.1.7
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
DNS Servers . . . . . . . . . . . : 202.96.134.133
202.96.168.68
C:\Documents and Settings\Administrator>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 0a 48 09 ae 0b ...... NVIDIA nForce Networking Controller - 数据包计划
程序微型端口
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.7 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.7 192.168.1.7 20
192.168.1.7 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.1.255 255.255.255.255 192.168.1.7 192.168.1.7 20
224.0.0.0 240.0.0.0 192.168.1.7 192.168.1.7 20
255.255.255.255 255.255.255.255 192.168.1.7 192.168.1.7 1
Default Gateway: 192.168.1.1
===========================================================================
Persistent Routes:
None
VPN拨号连接到公司后IP及路由表信息
C:\Documents and Settings\Administrator>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : KING
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter 本地连接:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : NVIDIA nForce Networking Controller
Physical Address. . . . . . . . . : 00-0A-48-09-AE-0B
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.1.7
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DNS Servers . . . . . . . . . . . : 202.96.134.133
202.96.168.68
Ethernet adapter 本地连接 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Cisco Systems VPN Adapter
Physical Address. . . . . . . . . : 00-05-9A-3C-78-00
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.2.28
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.2.1
C:\Documents and Settings\Administrator>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 0a 48 09 ae 0b ...... NVIDIA nForce Networking Controller - 数据包计划
程序微型端口
0x40004 ...00 05 9a 3c 78 00 ...... Cisco Systems VPN Adapter - 数据包计划程序微
型端口
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.2.1 192.168.2.28 1
61.145.229.171 255.255.255.255 192.168.1.1 192.168.1.7 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.7 192.168.1.7 20
192.168.1.0 255.255.255.0 192.168.2.1 192.168.2.28 20
192.168.1.7 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.1.255 255.255.255.255 192.168.1.7 192.168.1.7 20
192.168.2.0 255.255.255.0 192.168.2.28 192.168.2.28 20
192.168.2.28 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.2.255 255.255.255.255 192.168.2.28 192.168.2.28 20
224.0.0.0 240.0.0.0 192.168.1.7 192.168.1.7 20
224.0.0.0 240.0.0.0 192.168.2.28 192.168.2.28 20
255.255.255.255 255.255.255.255 192.168.1.7 192.168.1.7 1
255.255.255.255 255.255.255.255 192.168.2.28 192.168.2.28 1
Default Gateway: 192.168.2.1
===========================================================================
Persistent Routes:
None
[解决办法]
试试看加路由
route add 0.0.0.0 mask 0.0.0.0 192.168.1.1
[解决办法]
原因很简单。
因为你vpn通之后,网关是指向192。168.2.1了。
你在虚拟拨号的属性----网络---internet 协议tcp/ip 属性----高级----把“在远程网络上使用默认网关” 不勾上。问题就解决了。
[解决办法]
顶2楼
[解决办法]
顶2楼
[解决办法]
route delete 0.0.0.0
route add 0.0.0.0 mask 0.0.0.0 192.168.1.1
[解决办法]
route add 0.0.0.0 mask 0.0.0.0 192.168.1.1 meric 5 这样。要是不行的话加我qq:8685266