|
|
按说明配置好ADSL之后,能看到本地IP,能Ping通网关,也能Ping通其它IP,但是其它的啥服务都用不了,是怎么回事?有人遇到过么?
SSH到IP失败,FTP到IP失败,telnet 到IP的80端口失败,都是提示timeout
adsl-status 信息
[code:1]
[root@alfa alfa]# /sbin/adsl-status
adsl-status: Link is up and running on interface ppp0
ppp0 Link encap:Point-to-Point Protocol
inet addr:221.223.97.18 P-t-P:221.223.96.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:17 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:1162 (1.1 KiB) TX bytes:689 (689.0 b)
[/code:1]
ifconfig
[code:1]
[root@alfa network-scripts]# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:00:E8:AE:14:5B
inet addr:192.168.0.2 Bcast:192.168.0.2 Mask:255.255.255.255
inet6 addr: fe80::200:e8ff:feae:145b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1815 errors:0 dropped:0 overruns:0 frame:236
TX packets:849 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:352137 (343.8 KiB) TX bytes:51202 (50.0 KiB)
Interrupt:217 Base address:0xe000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1662 errors:0 dropped:0 overruns:0 frame:0
TX packets:1662 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1924588 (1.8 MiB) TX bytes:1924588 (1.8 MiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:221.223.96.192 P-t-P:221.223.96.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:918 errors:0 dropped:0 overruns:0 frame:0
TX packets:417 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:108031 (105.4 KiB) TX bytes:17234 (16.8 KiB)[/code:1]
网关信息
[code:1]
[root@alfa network-scripts]# netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
221.223.96.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 221.223.96.1 0.0.0.0 UG 0 0 0 ppp0
[/code:1]
DNS
[code:1]
[root@alfa alfa]# cat /etc/resolv.conf
# MADE-BY-RP-PPPOE
nameserver 202.106.46.151 [color=red]网关分配的[/color]
nameserver 202.106.0.20 [color=red]我一直用的DNS[/color]
[/code:1]
ping 网关
[code:1]
PING 221.223.96.1 (221.223.96.1) 56(84) bytes of data.
64 bytes from 221.223.96.1: icmp_seq=0 ttl=255 time=11.7 ms
wrong data byte #22 should be 0x16 but was 0x0
#16 10 11 12 13 14 15 0 87 36 99 0 87 36 99 0 87 36 99 0 87 36 99 16 17 18 19 16 17 18 19 16 17
#48 18 19 95 ea 0 0 95 ea
64 bytes from 221.223.96.1: icmp_seq=1 ttl=255 time=20.5 ms
wrong data byte #22 should be 0x16 but was 0x0
#16 10 11 12 13 14 15 0 0 e8 ae 0 0 e8 ae 0 0 e8 ae 16 17 18 15 16 17 18 19 16 17 18 19 16 17
#48 18 19 14 5b 0 e0 14 5b
64 bytes from 221.223.96.1: icmp_seq=2 ttl=255 time=20.0 ms
wrong data byte #22 should be 0x16 but was 0xb6
#16 10 11 12 13 14 15 b6 21 0 0 b6 21 0 0 b6 21 0 0 16 17 18 15 16 17 18 19 16 17 18 19 16 17
#48 18 19 0 0 70 2 0 0
64 bytes from 221.223.96.1: icmp_seq=3 ttl=255 time=19.8 ms
wrong data byte #22 should be 0x16 but was 0x0
#16 10 11 12 13 14 15 0 0 68 11 0 0 68 11 0 0 68 11 16 17 18 15 16 17 18 19 16 17 18 19 16 17
#48 18 19 42 18 58 49 42 18
--- 221.223.96.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 11.788/18.049/20.521/3.623 ms, pipe 2[/code:1] |
|