|
rhlinux9.0下用ADSL上网
可以联上去
但是却什么都ping不通
以下是在rhlinux9.0 ping的结果
[root@localhost 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:61.183.80.228 P-t-P:202.103.26.153 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:3 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:30 (30.0 b) TX bytes:30 (30.0 b)
[root@localhost root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:4C:5E:1D:4A
inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1730 errors:0 dropped:0 overruns:0 frame:0
TX packets:733 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1179932 (1.1 Mb) TX bytes:108539 (105.9 Kb)
Interrupt:11 Base address:0x9000
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:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1036 (1.0 Kb) TX bytes:1036 (1.0 Kb)
ppp0 Link encapoint-to-Point Protocol
inet addr:61.183.80.228 P-t-P:202.103.26.153 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:4 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:78 (78.0 b) TX bytes:30 (30.0 b)
[root@localhost root]# more /etc/resolv.conf
# MADE-BY-RP-PPPOE
search localdomain
nameserver 202.103.24.68
nameserver 202.103.0.117
[root@localhost root]# ping 202.103.26.153
PING 202.103.26.153 (202.103.26.153) 56(84) bytes of data.
From 192.168.1.1 icmp_seq=1 Destination Net Unreachable
64 bytes from 202.103.26.153: icmp_seq=5 ttl=127 time=12.5 ms
64 bytes from 202.103.26.153: icmp_seq=6 ttl=127 time=13.6 ms
64 bytes from 202.103.26.153: icmp_seq=7 ttl=127 time=10.8 ms
64 bytes from 202.103.26.153: icmp_seq=8 ttl=127 time=10.8 ms
--- 202.103.26.153 ping statistics ---
8 packets transmitted, 4 received, +1 errors, 50% packet loss, time 7047ms
rtt min/avg/max/mdev = 10.886/12.000/13.648/1.177 ms
[root@localhost root]# ping 202.103.24.68
PING 202.103.24.68 (202.103.24.6 56(84) bytes of data.
From 192.168.1.1 icmp_seq=1 Destination Net Unreachable
From 192.168.1.1 icmp_seq=2 Destination Net Unreachable
From 192.168.1.1 icmp_seq=3 Destination Net Unreachable
From 192.168.1.1 icmp_seq=4 Destination Net Unreachable
From 192.168.1.1 icmp_seq=5 Destination Net Unreachable
--- 202.103.24.68 ping statistics ---
5 packets transmitted, 0 received, +5 errors, 100% packet loss, time 3996ms
[root@localhost root]# ping 61.183.80.228
PING 61.183.80.228 (61.183.80.22 56(84) bytes of data.
From 192.168.1.1 icmp_seq=1 Destination Net Unreachable
From 192.168.1.1 icmp_seq=2 Destination Net Unreachable
From 192.168.1.1 icmp_seq=3 Destination Net Unreachable
From 192.168.1.1 icmp_seq=4 Destination Net Unreachable
--- 61.183.80.228 ping statistics ---
4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 2997ms
[root@localhost root]# ping 202.103.24.116
PING 202.103.24.116 (202.103.24.116) 56(84) bytes of data.
From 192.168.1.1 icmp_seq=1 Destination Net Unreachable
From 192.168.1.1 icmp_seq=2 Destination Net Unreachable
From 192.168.1.1 icmp_seq=3 Destination Net Unreachable
From 192.168.1.1 icmp_seq=4 Destination Net Unreachable
--- 202.103.24.116 ping statistics ---
4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 2997ms
[root@localhost root]#
202.103.26.153是这里的网关
202.103.24.68是DNS
202.103.24.116是这里的一个网站的IP |
|