2014年11月14日星期五
关于宽带拨号ip
1、某次宽带拨号后,路由器上显示状态如下:
Login Status: Connected
Internet IP Address: 183.1.106.161
Subnet Mask: 255.255.255.255
Default Gateway: 183.1.104.1
DNS1: 202.96.128.86
DNS2: 202.96.134.33
Login Status: Connected
Internet IP Address: 183.1.106.161
Subnet Mask: 255.255.255.255
Default Gateway: 183.1.104.1
DNS1: 202.96.128.86
DNS2: 202.96.134.33
2、通过外部ping,结果如下:
$ ping 183.1.106.161
PING 183.1.106.161 (183.1.106.161): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
^C
--- 183.1.106.161 ping statistics ---
4 packets transmitted, 0 packets received, 100.0% packet loss
$ ping 183.1.106.1
PING 183.1.106.1 (183.1.106.1): 56 data bytes
64 bytes from 183.1.106.1: icmp_seq=0 ttl=51 time=45.982 ms
64 bytes from 183.1.106.1: icmp_seq=1 ttl=51 time=631.629 ms
64 bytes from 183.1.106.1: icmp_seq=2 ttl=51 time=46.624 ms
^C
--- 183.1.106.1 ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 45.982/193.633/631.629/223.345 ms
$ ping 183.1.104.1
PING 183.1.104.1 (183.1.104.1): 56 data bytes
64 bytes from 183.1.104.1: icmp_seq=0 ttl=243 time=30.278 ms
64 bytes from 183.1.104.1: icmp_seq=1 ttl=243 time=26.882 ms
64 bytes from 183.1.104.1: icmp_seq=2 ttl=243 time=61.261 ms
^C
--- 183.1.104.1 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 26.882/39.474/61.261/15.468 ms
结果:拨号后分配ip不能ping通,网关可以ping通
3、通过内部ping,即在实用宽带上网线路本身ping,结果如下:
woodydeMacBook-Pro:~ woody$ ping 183.1.106.161
PING 183.1.106.161 (183.1.106.161): 56 data bytes
64 bytes from 183.1.106.161: icmp_seq=0 ttl=64 time=3.475 ms
64 bytes from 183.1.106.161: icmp_seq=1 ttl=64 time=3.780 ms
64 bytes from 183.1.106.161: icmp_seq=2 ttl=64 time=2.681 ms
^C
--- 183.1.106.161 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 2.681/3.312/3.780/0.463 ms
woodydeMacBook-Pro:~ woody$ ping 183.1.106.1
PING 183.1.106.1 (183.1.106.1): 56 data bytes
64 bytes from 183.1.106.1: icmp_seq=0 ttl=62 time=21.689 ms
64 bytes from 183.1.106.1: icmp_seq=1 ttl=62 time=22.295 ms
64 bytes from 183.1.106.1: icmp_seq=2 ttl=62 time=26.266 ms
^C
--- 183.1.106.1 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 21.689/23.417/26.266/2.030 ms
woodydeMacBook-Pro:~ woody$ ping 183.1.104.1
PING 183.1.104.1 (183.1.104.1): 56 data bytes
64 bytes from 183.1.104.1: icmp_seq=0 ttl=254 time=11.457 ms
64 bytes from 183.1.104.1: icmp_seq=1 ttl=254 time=7.758 ms
64 bytes from 183.1.104.1: icmp_seq=2 ttl=254 time=6.188 ms
^C
--- 183.1.104.1 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 6.188/8.468/11.457/2.209 ms
结果:拨号后分配ip及网关ip均可ping通
订阅 博文 [Atom]