Divny ping - DLOUHE

Pavel Trubl pavelt na pt.bohem-net.cz
Sobota Listopad 20 15:47:42 CET 1999


Zdravim,
nainstaloval jsem RH 6.1 CZ + sit.karta Micronet (Realtek 8029). IP
karty je 10.1.1.109, IP brany je 10.1.1.9, IP DNS provajdra je
62.229.56.1. Ping na moji kartu ukaze spravne toto:

# ping 10.1.1.109
PING 10.1.1.109 (10.1.1.109) from 10.1.1.109 : 56(84) bytes of data.
64 bytes from 10.1.1.109: icmp_seq=0 ttl=255 time=0.2 ms
64 bytes from 10.1.1.109: icmp_seq=1 ttl=255 time=0.1 ms
64 bytes from 10.1.1.109: icmp_seq=2 ttl=255 time=0.1 ms
--- 10.1.1.109 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.1/0.1/0.2 ms

Ping na branu ukaze toto:

# ping 10.1.1.9
PING 10.1.1.9 (10.1.1.9) from 10.1.1.9 : 56(84) bytes of data.
64 bytes from 10.1.1.9: icmp_seq=1 ttl=255 time=0.1 ms
64 bytes from 10.1.1.9: icmp_seq=2 ttl=255 time=0.1 ms
64 bytes from 10.1.1.9: icmp_seq=3 ttl=255 time=0.1 ms
--- 10.1.1.9 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.1/0.1/0.2 ms

Ale ping na DNS ukazuje nejake divne udaje:

# ping 62.229.56.1
PING 62.229.56.1 (62.229.56.1) from 10.1.1.109 : 56(84) bytes of data.
>From 10.1.1.9: Redirect Host(New nexthop: 10.1.1.1)
64 bytes from 62.229.56.1: icmp_seq=0 ttl=254 time=33.0 ms
>From 10.1.1.9: Redirect Host(New nexthop: 10.1.1.1)
64 bytes from 62.229.56.1: icmp_seq=1 ttl=254 time=29.3 ms
>From 10.1.1.9: Redirect Host(New nexthop: 10.1.1.1)
64 bytes from 62.229.56.1: icmp_seq=2 ttl=254 time=29.3 ms
--- 62.229.56.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 29.3/30.5/33.0 ms

Nevim, co to je to REDIRECT HOST (NEW NEXTHOP: 10.1.1.1)
No a z toho asi prameni problem, ze ping ven nejde:

# ping 192.250.155.29
PING 195.250.155.29 (195.250.155.29) from 10.1.1.109 : 56(84) bytes of
data.
>From 10.1.1.9: Redirect Host(New nexthop: 10.1.1.1)
>From 10.1.1.9: Redirect Host(New nexthop: 10.1.1.1)
>From 10.1.1.9: Redirect Host(New nexthop: 10.1.1.1)
--- 195.250.155.29 ping statistics ---
3 packets transmitted, 3 packets received, 100% packet loss

Vsechny pakety se ztratily a ja vubec netusim proc. Kdyz kabel ze
sitovky strcim do druheho PC (RH 6.0, karta Planet-Realtek 8029) tak
vechno funguje, vypis pingu je normalni. Jeste jsem nezkousel prohodit
sitove karty, ale to az naposledy. Pro uplnost jeste nekolik vypisu:

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
10.1.1.109      0.0.0.0         255.255.255.255 UH    0      0        0
eth0
10.1.1.0        0.0.0.0         255.255.255.0   U     0      0        0
eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0
lo
0.0.0.0         10.1.1.9        0.0.0.0         UG    0      0        0
eth0

# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:7D:03:6D:A6
          inet addr:10.1.1.109  Bcast:10.1.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING  MTU:1500  Metric:1
          RX packets:164 errors:0 dropped:0 overruns:0 frame:0
          TX packets:71 errors:6 dropped:0 overruns:0 carrier:12
          collisions:102 txqueuelen:100
          Interrupt:10 Base address:0x6500

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:18 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

# traceroute -n 62.229.56.1
1  10.1.1.9  1.479 ms  1.400 ms  1.370 ms
2  10.1.1.1  4.208 ms  2.349 ms  2.414 ms
3  62.229.56.1  10.719 ms  10.126 ms  10.021 ms

# cat /etc/resolv.conf
nameserver 62.229.56.1

Predpokladam, ze to bude nejaka hloupost, ktere jsem si nevsiml. Jsem v
casove tisni, proto predem dekuji vsem za jakekoliv rady a napady. Pokud
bude potreba, poskytnu jakekoliv jine vypisy.
Pavel Trubl





Další informace o konferenci Linux