如题,装并配置好了pppoeconf,用pon dsl-provider连后,用ifconfig查看一切正常,拨号成功。可以ping通网关,但不能ping通DNS服务器。/etc/network/interface里的网络信息和/etc/resolv.conf里的DNS服务器都设置正确。。。
此网络略有特殊,就是此机是隔着路由器向ADSL猫拨号的(有特殊原因要这么做。。。此机插在路由器LAN口),路由器已经关了DHCP。另一台装winxp的机器同样插在路由器的另一LAN口,但却拨号成功并可以PING通DNS服务器。装winxp机器上还有一个ubuntu系统,用pon一样可以拨号成功并PING通DNS,想不出为什么只有这台机器无法隔着路由拨号?
相关的东西列在下面了,大家帮忙看看,还需要什么我再加上,谢谢
ifconfig信息如下:
eth0 Link encap:Ethernet HWaddr 00:10:75:01:93:62
inet addr:192.168.0.8 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2785 errors:0 dropped:0 overruns:0 frame:0
TX packets:1935 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:251273 (245.3 KiB) TX bytes:219291 (214.1 KiB)
Interrupt:4 Base address:0x1000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MULTICAST 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:221.201.12.198 P-t-P:221.201.12.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1452 Metric:1
RX packets:30 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1436 (1.4 KiB) TX bytes:54 (54.0 b)
路由信息如下:
(none):/etc# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
221.201.12.1 * 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
PING DNS服务器失败信息如下:
(none):/etc# ping 202.96.69.38
PING 202.96.69.38 (202.96.69.38) 56(84) bytes of data.
From 192.168.0.1 icmp_seq=1 Destination Host Unreachable
From 192.168.0.1 icmp_seq=2 Destination Host Unreachable
From 192.168.0.1 icmp_seq=3 Destination Host Unreachable
From 192.168.0.1 icmp_seq=4 Destination Host Unreachable
From 192.168.0.1 icmp_seq=5 Destination Host Unreachable
From 192.168.0.1 icmp_seq=6 Destination Host Unreachable
From 192.168.0.1 icmp_seq=7 Destination Host Unreachable
--- 202.96.69.38 ping statistics ---
7 packets transmitted, 0 received, +7 errors, 100% packet loss, time 6008ms
PING网关成功信息如下:
(none):/etc# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=255 time=0.461 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=255 time=0.389 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=255 time=0.390 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=255 time=0.390 ms
64 bytes from 192.168.0.1: icmp_seq=5 ttl=255 time=0.390 ms
--- 192.168.0.1 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4007ms
rtt min/avg/max/mdev = 0.389/0.404/0.461/0.028 ms
大家帮我看看为什么明明拨号了却PING不能DNS服务器?
- liwangli
- 帖子: 262
- 注册时间: 2008-02-12 19:47
- thefour
- 帖子: 429
- 注册时间: 2008-03-05 12:31
- 来自: 示爱须唱山歌
- liwangli
- 帖子: 262
- 注册时间: 2008-02-12 19:47