From: Andreas Koenecke
* Freitag, 12. Juli 2002 um 20:58 (+0200) schrieb Martin Falley:
pinguin:/home/martin # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 192.168.1.250 255.255.255.0 UG 0 0 0 eth0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
Schon besser... Die GW-Route auf 192.168.1.250 ist zwar noch drin, aber du hast jetzt eine Default-Route...
Ich habe die Route nochmal gekillt mit: route del -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.250
und Ping sieht so aus:
pinguin:/home/martin # ping -c 3 194.162.162.194 PING 194.162.162.194 (194.162.162.194) from 192.168.1.250 : 56(84) bytes of data .
--- 194.162.162.194 ping statistics --- 3 packets transmitted, 0 received, 100% loss, time 1999ms
Das ist doch schon viel besser als ein "Network unreachable". Die Pakete gehen jetzt immerhin schon raus.
Huch, das hatte ich so verstanden, daß die Pakete eben _nicht_ rausgehen. Wenn die doch rausgehen, müßte man ja ganz woanders suchen? Ich habe jetzt nochmal ein Ping abgesetzt, nachdem ich die .250 als GW herausgenommen habe: pinguin:/home/martin # ping -c 3 127.0.0.1 PING 127.0.0.1 (127.0.0.1) from 127.0.0.1 : 56(84) bytes of data. 64 bytes from 127.0.0.1: icmp_seq=1 ttl=255 time=0.043 ms 64 bytes from 127.0.0.1: icmp_seq=2 ttl=255 time=0.020 ms 64 bytes from 127.0.0.1: icmp_seq=3 ttl=255 time=0.019 ms --- 127.0.0.1 ping statistics --- 3 packets transmitted, 3 received, 0% loss, time 1998ms rtt min/avg/max/mdev = 0.019/0.027/0.043/0.011 ms Ping selbst funktioniert also dann: pinguin:/home/martin # ping -c 3 191.168.1.250 (Linux-Rechner) PING 191.168.1.250 (191.168.1.250) from 192.168.1.250 : 56(84) bytes of data. --- 191.168.1.250 ping statistics --- 3 packets transmitted, 0 received, 100% loss, time 2015ms pinguin:/home/martin # ping -c 3 191.168.1.1 (NT als Gateway) PING 191.168.1.1 (191.168.1.1) from 192.168.1.250 : 56(84) bytes of data. --- 191.168.1.1 ping statistics --- 3 packets transmitted, 0 received, 100% loss, time 2017ms pinguin:/home/martin # ping -c 3 191.168.1.10 (noch'n anderer NT) PING 191.168.1.10 (191.168.1.10) from 192.168.1.250 : 56(84) bytes of data. --- 191.168.1.10 ping statistics --- 3 packets transmitted, 0 received, 100% loss, time 2010ms
Nochmal zur Vollstaändigkeit: Der Rechner kann den Router anpingen und der Router umgekehrt den Rechner?
Ja, korrekt. Aber jetzt, nach dem Herausnehmen der .250 als GW nicht mehr.
Wenn ja, dann mach doch mal ein traceroute auf eine externe IP und poste das Ergebnis hier.
D:\>tracert 192.168.1.250 Routenverfolgung zu PINGUIN [192.168.1.250] über maximal 30 Abschnitte: 1 <10 ms <10 ms <10 ms PINGUIN [192.168.1.250] Ablaufverfolgung beendet. und umgekehrt: pinguin:/home/martin # traceroute 192.168.1.1 -s 192.168.1.250 traceroute to 192.168.1.1 (192.168.1.1), 30 hops max, 40 byte packets 1 nt2000.ebfnet (192.168.1.1) 0 ms 0 ms 0 ms pinguin:/home/martin # traceroute 192.168.1.10 -s 192.168.1.250 traceroute to 192.168.1.10 (192.168.1.10), 30 hops max, 40 byte packets 1 laptop1.ebfnet (192.168.1.10) 1 ms 0 ms 0 ms pinguin:/home/martin # traceroute 194.162.162.194 -g 192.168.1.1 -s 192.168.1.250 traceroute to 194.162.162.194 (194.162.162.194), 30 hops max, 40 byte packets 1 * * * 2 * * * 3 Man kann es drehen, wie man will, der Wurm ist drin. Gruß Martin