更诡异的事情出现了,调整之后,google.com可以访问,
aliyun.com,也就是我的服务器所在的服务商阿里云的首页和内容甚至论坛都可以访问,WTF
所以MTU问题基本可以排除掉,目前怀疑网关,掩码,之前还怀疑过DNS...
下面是连上aliyun VPN之后的情况客户端和服务器端的情况:
win pc ipconfig/all :
PPP adapter aliyun:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
Physical Address. . . . . . . . . : 00-53-45-00-00-00
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.1.234
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 192.168.1.234
DNS Servers . . . . . . . . . . . : 8.8.8.8
8.8.4.4
win pc route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...5c d9 98 76 90 e0 ...... D-Link DWL-G122 Wireless G USB Adapter (rev.F1)
0x5d0004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.8 2
0.0.0.0 0.0.0.0 192.168.1.234 192.168.1.234 1
42.121.x.x 255.255.255.255 192.168.1.1 192.168.1.8 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 192.168.1.8 192.168.1.8 20
192.168.1.0 255.255.255.0 192.168.1.8 192.168.1.8 20
192.168.1.8 255.255.255.255 127.0.0.1 127.0.0.1 20
192.168.1.234 255.255.255.255 127.0.0.1 127.0.0.1 50
192.168.1.255 255.255.255.255 192.168.1.8 192.168.1.8 20
192.168.1.255 255.255.255.255 192.168.1.234 192.168.1.234 50
224.0.0.0 240.0.0.0 192.168.1.8 192.168.1.8 20
224.0.0.0 240.0.0.0 192.168.1.234 192.168.1.234 1
255.255.255.255 255.255.255.255 192.168.1.8 192.168.1.8 1
255.255.255.255 255.255.255.255 192.168.1.234 192.168.1.234 1
Default Gateway: 192.168.1.234
===========================================================================
Persistent Routes:
None
aliyun ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3e:0e:21:65
inet addr:10.200.x.x Bcast:10.200.247.255 Mask:255.255.248.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4594 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:198106 (198.1 KB) TX bytes:480 (480.0 B)
Interrupt:73
eth1 Link encap:Ethernet HWaddr 00:16:3e:0e:21:66
inet addr:42.121.x.x Bcast:42.121.107.255 Mask:255.255.252.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:144874 errors:0 dropped:0 overruns:0 frame:0
TX packets:4188 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9851321 (9.8 MB) TX bytes:781945 (781.9 KB)
Interrupt:74
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
ppp0 Link encap:Point-to-Point Protocol
inet addr:192.168.1.1 P-t-P:192.168.1.234 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1396 Metric:1
RX packets:1073 errors:0 dropped:0 overruns:0 frame:0
TX packets:655 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:120977 (120.9 KB) TX bytes:283721 (283.7 KB)
aliyun route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 42.121.107.254 0.0.0.0 UG 0 0 0 eth1
10.0.0.0 10.200.247.254 255.0.0.0 UG 0 0 0 eth0
10.200.240.0 * 255.255.248.0 U 0 0 0 eth0
42.121.104.0 * 255.255.252.0 U 0 0 0 eth1
172.16.0.0 10.200.247.254 255.240.0.0 UG 0 0 0 eth0
192.168.0.0 10.200.247.254 255.255.0.0 UG 0 0 0 eth0
192.168.1.234 * 255.255.255.255 UH 0 0 0 ppp0