LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1222|回复: 2

[怪问题]adsl在linux下能上网, 有些网页能打开,有些网页打不开,比如163.com

[复制链接]
发表于 2003-9-2 13:06:40 | 显示全部楼层 |阅读模式
系统为rh9.0,adsl采用pppoe拨号。在系统工具--互联网设置向导中设置好了xDSL的连接为ppp0, 启动的时候就eth0设为不活动,ppp0设为活动。但现在只有少数的网页能打开,多数的网页打不开。浏览器Mozilla 1.21,已经装好了flash5.0的插件。
这是我的adsl-status,上面显示出已经拨号成功。
[root@linuxant root]# adsl-status
Note: You have enabled demand-connection; adsl-status may be inaccurate.
adsl-status: Link is up and running on interface ppp0
ppp0      Link encapoint-to-Point Protocol
          inet addr:219.153.113.55  P-t-P:219.153.112.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:252 errors:0 dropped:0 overruns:0 frame:0
          TX packets:289 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:134627 (131.4 Kb)  TX bytes:51922 (50.7 Kb)

现在的情况是我上linuxsir和linuxfans一点问题也没有,如果去sina/163/sohu/chinaren/这些一个都打不开,而且Mozilla还会死。下面是我用ping命令ping出来的结果。
[root@linuxant root]# ping www.sina.com.cn
PING taurus.sina.com.cn (61.172.201.234) 56(84) bytes of data.
64 bytes from 61.172.201.234: icmp_seq=1 ttl=52 time=306 ms
64 bytes from 61.172.201.234: icmp_seq=2 ttl=52 time=314 ms
64 bytes from 61.172.201.234: icmp_seq=3 ttl=52 time=309 ms
64 bytes from 61.172.201.234: icmp_seq=4 ttl=52 time=306 ms
64 bytes from 61.172.201.234: icmp_seq=5 ttl=52 time=307 ms
64 bytes from 61.172.201.234: icmp_seq=6 ttl=52 time=308 ms
64 bytes from 61.172.201.234: icmp_seq=7 ttl=52 time=306 ms
64 bytes from 61.172.201.234: icmp_seq=8 ttl=52 time=310 ms
64 bytes from 61.172.201.234: icmp_seq=9 ttl=52 time=306 ms

sina ping得通,但还是打不开

[root@linuxant root]# ping www.linuxsir.cn
PING www.linuxsir.cn (211.93.98.22) 56(84) bytes of data.
64 bytes from 211.93.98.22: icmp_seq=5 ttl=240 time=135 ms

[root@linuxant root]# ping www.linuxfans.org
PING www.linuxfans.org (211.96.97.22) 56(84) bytes of data.
linuxfans ping都ping不通,竟然还可以上,好奇怪。

[root@linuxant root]# ping www.163.com
PING www.163.com (202.108.36.155) 56(84) bytes of data.

163 ping不能,也打不开

而这些网站在win下面,或是用带路由的modem上网全部没问题,究竟问题出在那里呢?
发表于 2003-9-2 14:41:49 | 显示全部楼层

:)

这是mtu 得问题
tcp/ip 得mtu 是1500
但是adsl 得mtu 只有1492 所以不行
你只要把linux 得mtu 改成1400 就可以了
个人感决 改成1200 更加好
 楼主| 发表于 2003-9-2 15:14:14 | 显示全部楼层
上铺的兄弟,是不是该这样改

ifconfig ppp0 mtu 1200
还是

ipfconfig eth0 mtu 1200
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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