|
我的操作系统的winxp + Ubuntu Dapper,通过路由器和同学使用一个ip上网
内部ip是192.168.1.36,在winxp下教育网直通车一切正常,速度还满快的。
但是按照网上找到的帖子,类似于
http://www.linuxsky.net/html/200608/4048.html
在Ubuntu 下始终不能连上。因为希望到linux下搞点开发,十分着急,希望各位大侠帮忙。
现象是:
看到pptpconfig 中已经正常连接,并建立了虚拟通道ppp0
可以ping通网关,提示如下:
────────────────────────────
Using interface ppp0pptpconfig: monitoring interface ppp0
Connect: ppp0 <--> /dev/pts/1
CHAP authentication succeeded
Cannot determine ethernet address for proxy ARP
local IP address 58.207.136.177
remote IP address 58.207.255.18
pptpconfig: pppd process exit status 0 (started)
ip route replace 58.207.255.17 via 192.168.1.1 dev eth0 src 192.168.1.36
pptpconfig: routes added to remote networks
ip route replace default dev 'ppp0'
pptpconfig: default route changed to use tunnel
pptpconfig: connected
ping -c 5 58.207.255.18
PING 58.207.255.18 (58.207.255.18) 56(84) bytes of data.
64 bytes from 58.207.255.18: icmp_seq=1 ttl=64 time=17.6 ms
64 bytes from 58.207.255.18: icmp_seq=2 ttl=64 time=18.1 ms
64 bytes from 58.207.255.18: icmp_seq=3 ttl=64 time=18.0 ms
64 bytes from 58.207.255.18: icmp_seq=4 ttl=64 time=17.5 ms
64 bytes from 58.207.255.18: icmp_seq=5 ttl=64 time=17.4 ms
--- 58.207.255.18 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4016ms
rtt min/avg/max/mdev = 17.449/17.754/18.104/0.297 ms
────────────────────────────
路由表是
────────────────────────────
Destination Gateway Genmask Flags Metric Ref Use Iface
58.207.255.17 192.168.1.1 255.255.255.255 UGH 0 0 0 eth0
58.207.255.18 * 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
default * 0.0.0.0 U 0 0 0 ppp0
────────────────────────────────
在命令行可以ping通google,但是无法ping通yahoo
在firefox中可以正常解析google,yahoo,但连接上以后就提示等待该网站,
数据好像传不过来。
断掉网络直通车以后才能上网。
断掉以后的路由表是
────────────────────────────────
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
────────────────────────────────
现在想请教各位大侠,这是为什么,怎么解决呢? |
|