- 论坛徽章:
- 0
|
[已经解决!]可以ping通,网卡正常,却没有办法打开网页![thx]
原帖由 "platinum" 发表:
好,重新来过,看现在你改后的一些信息
贴出下面信息
ifconfig
ip route
ip route get 218.249.33.35
iptables-save
cat /etc/resolv.conf
ping -c 1 202.108.9.16
ping -c 1 www.163.com
ping -c 1 218...........
以下为各个测试的结果:
ifconfig
- eth0 Link encap:Ethernet HWaddr 00:50:04:BE:0A:A6
- inet addr:210.*.*.* Bcast:210.*.*.* Mask:255.255.255.192
- inet6 addr: fe80::250:4ff:febe:aa6/64 Scope:Link
- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
- RX packets:237 errors:0 dropped:0 overruns:0 frame:0
- TX packets:154 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:1000
- RX bytes:25751 (25.1 KiB) TX bytes:15766 (15.3 KiB)
- Interrupt:11 Base address:0xc000
- eth1 Link encap:Ethernet HWaddr 00:50:BA:BA:36:7D
- inet addr:1.1.1.1 Bcast:1.1.1.63 Mask:255.255.255.192
- inet6 addr: fe80::250:baff:feba:367d/64 Scope:Link
- UP BROADCAST MULTICAST MTU:1500 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:1000
- RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
- Interrupt:12 Base address:0x2000
- 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:8 errors:0 dropped:0 overruns:0 frame:0
- TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:0
- RX bytes:560 (560.0 b) TX bytes:560 (560.0 b)
复制代码
ip route
- 210.*.*.0/26 dev eth0 proto kernel scope link src 210.*.*.*
- 1.1.1.0/26 dev eth1 proto kernel scope link src 1.1.1.1
- 169.254.0.0/16 dev eth1 scope link
- default via 210.*.*.* dev eth0
复制代码
ip route get 218.249.33.35
- 210.*.*.0/26 dev eth0 proto kernel scope link src 210.*.*.*
- 1.1.1.0/26 dev eth1 proto kernel scope link src 1.1.1.1
- 169.254.0.0/16 dev eth1 scope link
- default via 210.*.*.1 dev eth0
复制代码
iptables-save
cat /etc/resolv.conf
ping -c 1 202.108.9.16
- # ping -c 1 202.108.9.16
- PING 202.108.9.16 (202.108.9.16) 56(84) bytes of data.
- 64 bytes from 202.108.9.16: icmp_seq=0 ttl=51 time=26.9 ms
- --- 202.108.9.16 ping statistics ---
- 1 packets transmitted, 1 received, 0% packet loss, time 0ms
- rtt min/avg/max/mdev = 26.911/26.911/26.911/0.000 ms, pipe 2
复制代码
ping -c 1 www.163.com
- # ping -c 1 www.163.com
- PING www.cache.split.netease.com (202.108.9.16) 56(84) bytes of data.
- 64 bytes from zz-9-16-a8.bta.net.cn (202.108.9.16): icmp_seq=0 ttl=51 time=27.2 ms
- --- www.cache.split.netease.com ping statistics ---
- 1 packets transmitted, 1 received, 0% packet loss, time 0ms
- rtt min/avg/max/mdev = 27.210/27.210/27.210/0.000 ms, pipe 2
复制代码
ping -c 1 218.249.33.35
- # ping -c 1 218.249.33.35
- PING 218.249.33.35 (218.249.33.35) 56(84) bytes of data.
- 64 bytes from 218.249.33.35: icmp_seq=0 ttl=113 time=71.9 ms
- --- 218.249.33.35 ping statistics ---
- 1 packets transmitted, 1 received, 0% packet loss, time 0ms
- rtt min/avg/max/mdev = 71.989/71.989/71.989/0.000 ms, pipe 2
复制代码
telnet 218.249.33.35
- # telnet 218.249.33.35
- Trying 218.249.33.35...
- telnet: connect to address 218.249.33.35: Permission denied
- telnet: Unable to connect to remote host: Permission denied
复制代码 |
|