|
![]() | 作者: root_bug [root_bug]
![]() |
登录 |
我用的是ADSL宽带上网.情况如下: #adsl-start ...connected 说明,已经拨上号了啊. 但是,用Netscape Explorer开不了网面,显示无法打开.于是,Ping 新浪的IP地址: ping 218.201.44.9 ,但没有用,Ping不通啊. 以下是有关信息: #ifconfig -a eth0 Link encap:Ethernet HWaddr 00:0A:EB:15:22:3 inet addr:192.168.0.81 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3606 errors:169 dropped:0 overruns:0 frame:0 TX packets:333 errors:0 dropped:0 overruns:0 carrier:0 collisions:31 txqueuelen:100 Interrupt:10 Base address:0xb000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RNNNING MTU:16436 Metric:1 RX packets:86 errors:0 dropped:0 overruns:0 frame:0 TX packets:86 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 ppp0 Link encap:Point-to-Point Protocol inet addr:219.140.145.211 P-t-P:202.103.26.152 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:16 errors:0 dropped:0 overruns:0 frame:0 TX packets:3 errors:0 dropped:0 overruns:0 carrier: collisions:0 txqueuelen:3 =========================== #netstat -nr Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 202.103.26.152 0.0.0.0 255.255.255.255 UH 40 0 0 ppp0 192.168.0.0 0.0.0.0 255.255.255.0 U 40 0 0 eth0 127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo 0.0.0.0 192.168.0.254 0.0.0.0 UG 40 0 0 eth0 ======= 不知道这些信息够不够帮我分析啊?我是新手,请大虾帮我的忙啊,明明连上了,为什么上不了网呢?要上得了的话,我早就放弃了Windows了啊!为了帮我摆脱Windows的束缚,各位一定要帮我啊! |
地主 发表时间: 05/22 09:43 |
![]() | 回复: www [bjhjf007] ![]() |
登录 |
你的默认的网关是eth0,把它改成ppp0就行了,命令是 route add default ppp0 [此贴被 www(bjhjf007) 在 05月22日14时38分 编辑过] |
B1层 发表时间: 05/22 10:36 |
![]() | 回复: root_bug [root_bug] ![]() |
登录 |
怎么不行啊?是不是命令错误啊?是不是应该这样: route add default pppo 啊?我不太了解route这指令啊,add后有default这样的参数吗? |
B2层 发表时间: 05/22 12:30 |
![]() | 回复: root_bug [root_bug] ![]() |
登录 |
我用了 route add default ppp0 这条命令,现在可以Ping通了。 ping新浪的 ping 218.201.44.9有结果了但,还是打不开网页啊! 给出的信息说找不到该主机啊。 我又nslookup 了一下新浪,发现: ================================== [root@localhost /root]# nslookup www.sina.com.cn Note: nslookup is deprecated and may be removed from future releases. Consider using the `dig' or `host' programs instead. Run nslookup with the `-sil[ent]' option to prevent this message from appearing. connection timed out; no servers could be reached ================================== 大虾,告诉我,我该怎么办啊? |
B3层 发表时间: 05/22 17:55 |
![]() | 回复: root_bug [root_bug] ![]() |
登录 |
还有,搞忘了说明,我可以用Telnet 啊,上水木清华很正常的。 用netscape,在地址栏中输211.161.57.29,得到的结果是: Netscape is unable to locate the server www.20cn.net please check the server name and try again. 这说明,DNS设置没错啊,可以解析出IP地址211.161.57.29的域名是www.20cn.net啊。 |
B4层 发表时间: 05/23 00:24 |
![]() | 回复: group [group] ![]() |
登录 |
换个DNS服务器试试 [此贴被 晓澜(group) 在 05月23日09时41分 编辑过] |
B5层 发表时间: 05/23 09:29 |
![]() | 回复: root_bug [root_bug] ![]() |
登录 |
哦?这有什么关系啊?我觉得不是DNS的问题,因为可的解析出IP地址来啊。就是连不上,是不是HTTP协议出问题了啊?应该怎么弄啊? |
B6层 发表时间: 05/23 20:23 |
![]() | 回复: horizon [horizon] ![]() |
登录 |
我怎么都连得上啊?很简单啊,看来我比你强哦! |
B7层 发表时间: 05/25 14:22 |
|
20CN网络安全小组版权所有
Copyright © 2000-2010 20CN Security Group. All Rights Reserved.
论坛程序编写:NetDemon
粤ICP备05087286号