Сори, забыл выдернуть сетевой кабель, когда писал предыдущее сообщение. Заново прогнал команды, исправил.
яндекс не пингуется:
fakir13@fakir13:~$ nslookup ya.ru
;; connection timed out; no servers could be reached
fakir13@fakir13:~$ ping -c4 ya.ru
ping: unknown host ya.ru
fakir13@fakir13:~$ ping -c4 87.250.251.3
PING 87.250.251.3 (87.250.251.3) 56(84) bytes of data.
From 192.168.1.6 icmp_seq=1 Destination Host Unreachable
From 192.168.1.6 icmp_seq=2 Destination Host Unreachable
From 192.168.1.6 icmp_seq=3 Destination Host Unreachable
From 192.168.1.6 icmp_seq=4 Destination Host Unreachable
ifconfig -a:
fakir13@fakir13:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:24:54:e3:27:e9
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:9020 errors:0 dropped:0 overruns:0 frame:0
TX packets:5479 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5072926 (5.0 MB) TX bytes:796452 (796.4 KB)
Interrupt:18
eth1 Link encap:Ethernet HWaddr 00:1b:b1:a2:9b:72
inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21b:b1ff:fea2:9b72/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6921 errors:0 dropped:0 overruns:0 frame:1729067
TX packets:5127 errors:48 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5183252 (5.1 MB) TX bytes:496662 (496.6 KB)
Interrupt:16
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:997 errors:0 dropped:0 overruns:0 frame:0
TX packets:997 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:312754 (312.7 KB) TX bytes:312754 (312.7 KB)
route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth1
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
Пользователь решил продолжить мысль 13 Марта 2011, 01:37:11:
ping -c4 google.com
ping: unknown host google.com
Выключил-включил вай-фай:
ping -c4 google.com
PING google.com (74.125.232.19) 56(84) bytes of data.
64 bytes from 74.125.232.19: icmp_req=2 ttl=56 time=195 ms
64 bytes from 74.125.232.19: icmp_req=3 ttl=56 time=20.7 ms
--- google.com ping statistics ---
4 packets transmitted, 2 received, 50% packet loss, time 31251ms
rtt min/avg/max/mdev = 20.771/108.129/195.488/87.359 ms
и для яндекса:
fakir13@fakir13:~$ ping -c4 ya.ru
PING ya.ru (87.250.251.3) 56(84) bytes of data.
64 bytes from www.yandex.ru (87.250.251.3): icmp_req=3 ttl=56 time=21.5 ms
--- ya.ru ping statistics ---
4 packets transmitted, 1 received, 75% packet loss, time 7029ms
rtt min/avg/max/mdev = 21.543/21.543/21.543/0.000 ms
fakir13@fakir13:~$ ping -c4 ya.ru
PING ya.ru (87.250.250.3) 56(84) bytes of data.
64 bytes from www.yandex.ru (87.250.250.3): icmp_req=4 ttl=56 time=20.5 ms