-----Original Message----- From: Andreas Koenecke [mailto:akoenecke@akoenecke.de] Sent: Monday, July 15, 2002 6:25 PM To: suse-linux@suse.com Subject: Re: Kein ping auf externe Rechner
* Montag, 15. Juli 2002 um 17:51 (+0200) schrieb Martin Falley:
Und du hast den Rechner über das Wochenende
runtergefahren, oder?
Genau, wozu sollte er laufen? ;)
Damit er seine Routing-Tabelle nicht "vergisst"... ;-)
wenn er die jedesmal vergiss, muß mein Pinguin sich mal nen Zettel schnappen und sich die Routen aufschreiben. Vielleicht macht er das ja schon. Aber wo ist dann der Zettel (welche Datei ist das?)? Ich dachte immer, daß das /etc/route.conf ist. Die sieht jetzt so aus: pinguin:/home/martin # less /etc/route.conf 192.168.1.0 0.0.0.0 255.255.255.0 default 192.168.1.1
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
Und da ist auch schon wieder alles weg. ;-)
Also noch mal vor der ganzen "Pingerei" und "Tracerouterei":
'route del -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.250'
'route add default gw 192.168.1.1'
same procedure as every time: pinguin:/home/martin # route del -net 192.168.1.0 netmask 255.255.255.0 gw 192. 168.1.250 pinguin:/home/martin # route add default gw 192.168.1.1 pinguin:/home/martin # 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 0 0 0 eth0 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0 pinguin:/home/martin # ping -c 3 192.168.1.1 PING 192.168.1.1 (192.168.1.1) from 192.168.1.250 : 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=128 time=0.164 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=128 time=0.157 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=128 time=0.147 ms --- 192.168.1.1 ping statistics --- 3 packets transmitted, 3 received, 0% loss, time 1998ms rtt min/avg/max/mdev = 0.147/0.156/0.164/0.007 ms pinguin:/home/martin # ping -c 3 192.168.1.250 PING 192.168.1.250 (192.168.1.250) from 192.168.1.250 : 56(84) bytes of data. 64 bytes from 192.168.1.250: icmp_seq=1 ttl=255 time=0.085 ms 64 bytes from 192.168.1.250: icmp_seq=2 ttl=255 time=0.022 ms 64 bytes from 192.168.1.250: icmp_seq=3 ttl=255 time=0.020 ms --- 192.168.1.250 ping statistics --- 3 packets transmitted, 3 received, 0% loss, time 1998ms rtt min/avg/max/mdev = 0.020/0.042/0.085/0.030 ms 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 2016ms pinguin:/home/martin # traceroute -v 194.162.162.194 traceroute to 194.162.162.194 (194.162.162.194), 30 hops max, 40 byte packets 1 * * * 2 * * * 3 * * * 4 pinguin:/home/martin # traceroute-lbl -I -v 194.162.162.194 traceroute-lbl to 194.162.162.194 (194.162.162.194), 30 hops max, 38 byte packet s 1 * * * 2 * * * 3 * * * 4 76 bytes from 192.168.1.250 to 192.168.1.250: icmp type 3 (Dest Unreachable) cod e 3 4: x44000045 8: x0040ee14 12: x76a01140 16: xfa01a8c0 20: xfa01a8c0 24: x35003880 28: x7f1c3000 32: x00011090 36: x00000100 40: x00000000 44: x30013901 48: x32033001 52: x69073432 56: x64612d6e 60: x61047264 64: x00617072 68: x01000c00 72: x00000000 * 76 bytes from 192.168.1.250 to 192.168.1.250: icmp type 3 (Dest Unreachable) cod e 3 4: x44000045 8: x00407418 12: xf09c1140 16: xfa01a8c0 20: xfa01a8c0 24: x35003a80 28: x7d1c3000 32: x00011090 36: x00000100 40: x00000000 44: x30013901 48: x32033001 52: x69073432 56: x64612d6e 60: x61047264 64: x00617072 68: x01000c00 72: x00000000 * * 5 80 bytes from 192.168.1.250 to 192.168.1.250: icmp type 3 (Dest Unreachable) cod e 3 4: x48000045 8: x0040fa1b 12: x66991140 16: xfa01a8c0 20: xfa01a8c0 24: x35003b80 28: x43723400 32: x00011190 36: x00000100 40: x00000000 44: x02393102 48: x31033437 52: x32033139 56: x69073331 60: x64612d6e 64: x61047264 68: x00617072 72: x01000c00 76: x00000000 * pinguin:/home/martin # Den letzten Kram kenne und verstehe ich nun überhaupt nicht. Gruß Martin