设为首页收藏本站language 语言切换
查看: 15483|回复: 9
收起左侧

连上VPN服务器,但PING不通公司内网

[复制链接]
发表于 2012-2-26 13:38:18 | 显示全部楼层 |阅读模式
在家连上VPN无法访问公司内网的问题:
    家中有一无线路由:172.16.1.1
    想要连公司内网服务器IP:   192.168.0.103
连上VPN后,公司内网都不能访问,家中用的长城宽带,有的同事在家(电信)通过VPN能够访问。
请问与这有关吗?是否需要对服务器进行设置?
被这个折腾了很久一直没有解决,哪位高手帮帮帮忙啊{:soso_e105:}

连接VPN前后 ipconfig及route print 信息如下:
//连上VPN前
C:\>ipconfig /all
Ethernet adapter wireless:
        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : 11b/g/n  Wireless LAN Mini-PCI Express Adapter II
        Physical Address. . . . . . . . . : 90-4C-E5-E3-C8-49
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 172.16.1.101
        Subnet Mask . . . . . . . . . . . : 255.255.0.0
        Default Gateway . . . . . . . . . : 172.16.1.1
        DHCP Server . . . . . . . . . . . : 172.16.1.1
        DNS Servers . . . . . . . . . . . : 10.203.104.1
                                            211.161.192.73
        Lease Obtained. . . . . . . . . . : 2012年2月21日 20:44:32
        Lease Expires . . . . . . . . . . : 2012年2月21日 22:44:32
Ethernet adapter Local:
        Media State . . . . . . . . . . . : Media disconnected
        Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
        Physical Address. . . . . . . . . : C8-0A-A9-1B-66-B0
Ethernet adapter {DEAD9485-FB4E-44D1-8403-CBFE09ED7B80}:
        Media State . . . . . . . . . . . : Media disconnected
        Description . . . . . . . . . . . : Suresec Virtual Ethernet Adapter - 数据包计划程序微型端口
        Physical Address. . . . . . . . . : 00-01-01-43-00-16

C:\>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x3 ...90 4c e5 e3 c8 49 ...... 11b/g/n  Wireless LAN Mini-PCI Express Adapter II - 数据包计划程序微型端口
0x4 ...c8 0a a9 1b 66 b0 ...... Realtek PCIe GBE Family Controller - 数据包计划程序微型端口
0x5 ...00 01 01 43 00 16 ...... Suresec Virtual Ethernet Adapter - 数据包计划程序微型端口
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0       172.16.1.1    172.16.1.101       20
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
      169.254.0.0      255.255.0.0  169.254.127.164  169.254.127.164      30
  169.254.127.164  255.255.255.255        127.0.0.1       127.0.0.1       30
  169.254.255.255  255.255.255.255  169.254.127.164  169.254.127.164      30
       172.16.0.0      255.255.0.0     172.16.1.101    172.16.1.101       20
     172.16.1.101  255.255.255.255        127.0.0.1       127.0.0.1       20
   172.16.255.255  255.255.255.255     172.16.1.101    172.16.1.101       20
        224.0.0.0        240.0.0.0  169.254.127.164  169.254.127.164      30
        224.0.0.0        240.0.0.0     172.16.1.101    172.16.1.101       20
  255.255.255.255  255.255.255.255  169.254.127.164  169.254.127.164      1
  255.255.255.255  255.255.255.255  169.254.127.164               4       1
  255.255.255.255  255.255.255.255     172.16.1.101    172.16.1.101       1
Default Gateway:        172.16.1.1
===========================================================================
Persistent Routes:
  None  

//连上VPN后
C:\>ipconfig /all  
Ethernet adapter wireless:
        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : 11b/g/n  Wireless LAN Mini-PCI Express Adapter II
        Physical Address. . . . . . . . . : 90-4C-E5-E3-C8-49
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 172.16.1.101
        Subnet Mask . . . . . . . . . . . : 255.255.0.0
        Default Gateway . . . . . . . . . : 172.16.1.1
        DHCP Server . . . . . . . . . . . : 172.16.1.1
        DNS Servers . . . . . . . . . . . : 10.203.104.1
                                            211.161.192.73
        Lease Obtained. . . . . . . . . . : 2012年2月21日 20:44:32
        Lease Expires . . . . . . . . . . : 2012年2月21日 22:44:32
Ethernet adapter Local:
        Media State . . . . . . . . . . . : Media disconnected
        Description . . . . . . . . . . . : Realtek PCIe GBE Family Controller
        Physical Address. . . . . . . . . : C8-0A-A9-1B-66-B0
Ethernet adapter {DEAD9485-FB4E-44D1-8403-CBFE09ED7B80}:
        Media State . . . . . . . . . . . : Media disconnected
        Description . . . . . . . . . . . : Suresec Virtual Ethernet Adapter - 数据包计划程序微型端口
        Physical Address. . . . . . . . . : 00-01-01-43-00-16
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.16.31
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . :
        DNS Servers . . . . . . . . . . . : 192.168.0.100  
  
C:\>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x3 ...90 4c e5 e3 c8 49 ...... 11b/g/n  Wireless LAN Mini-PCI Express Adapter II - 数据包计划程序微型端口
0x4 ...c8 0a a9 1b 66 b0 ...... Realtek PCIe GBE Family Controller - 数据包计划程序微型端口
0x5 ...00 01 01 43 00 16 ...... Suresec Virtual Ethernet Adapter - 数据包计划程序微型端口
0x20002 ...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       172.16.1.1    172.16.1.101       20
  116.236.146.131  255.255.255.255       172.16.1.1    172.16.1.101       1
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
      169.254.0.0      255.255.0.0  169.254.127.164  169.254.127.164      30
  169.254.127.164  255.255.255.255        127.0.0.1       127.0.0.1       30
  169.254.255.255  255.255.255.255  169.254.127.164  169.254.127.164      30
       172.16.0.0      255.255.0.0     172.16.1.101    172.16.1.101       20
       172.16.1.1  255.255.255.255     172.16.1.101    172.16.1.101       1
     172.16.1.101  255.255.255.255        127.0.0.1       127.0.0.1       20
   172.16.255.255  255.255.255.255     172.16.1.101    172.16.1.101       20
      192.168.0.0    255.255.240.0    192.168.16.31   192.168.16.31       1
     192.168.16.0    255.255.255.0    192.168.16.31   192.168.16.31       20
    192.168.16.31  255.255.255.255        127.0.0.1       127.0.0.1       20
   192.168.16.255  255.255.255.255    192.168.16.31   192.168.16.31       20
        224.0.0.0        240.0.0.0  169.254.127.164  169.254.127.164      30
        224.0.0.0        240.0.0.0     172.16.1.101    172.16.1.101       20
        224.0.0.0        240.0.0.0    192.168.16.31   192.168.16.31       20
  255.255.255.255  255.255.255.255  169.254.127.164               4       1
  255.255.255.255  255.255.255.255  169.254.127.164  169.254.127.164      1
  255.255.255.255  255.255.255.255     172.16.1.101    172.16.1.101       1
  255.255.255.255  255.255.255.255    192.168.16.31   192.168.16.31       1
Default Gateway:        172.16.1.1
===========================================================================
Persistent Routes:
  None  


发表于 2012-2-26 16:05:33 | 显示全部楼层
把VPN连接里面的那个默认网关的勾去掉,   但这样就只能上外网。不能上内网。   把勾勾上,只能上内网不能上外网,   建议加一条路由。   把所有内网的IP请求,指向到内网的网关。
沙发 2012-2-26 16:05:33 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-2-28 10:09:15 | 显示全部楼层
不了解  
板凳 2012-2-28 10:09:15 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-2-28 21:42:09 | 显示全部楼层
默认网关不对
地板 2012-2-28 21:42:09 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-2-29 21:44:00 | 显示全部楼层
你应该在路由里面写静态路由的
5# 2012-2-29 21:44:00 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-2-29 21:48:17 | 显示全部楼层
6# 2012-2-29 21:48:17 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-2-29 22:08:46 | 显示全部楼层
7# 2012-2-29 22:08:46 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-2-29 22:34:28 | 显示全部楼层
8# 2012-2-29 22:34:28 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-2-29 23:07:46 | 显示全部楼层
9# 2012-2-29 23:07:46 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-5-21 13:54 , Processed in 0.101408 second(s), 27 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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