Previous Next Table of Contents

7. Netzprogramme

Um die Konfiguration zu Testen,stehen vorallem 2 Programme zur Verfügung : traceroute und ping

7.1 ping

ping Rechnername testet die Verbindung,in dem Pakete an den Zielrechner geschickt und auf Antwort gewartet wird. Ein korrektes Ping :

PING 127.0.0.1 (127.0.0.1): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.4 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.3 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.3 ms

--- 127.0.0.1 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.3/0.3/0.4 ms
Ein Ping an einen nicht erreichbaren Host :

PING 134.96.32.23 (134.96.32.23): 56 data bytes

--- 134.96.32.23 ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss

Ein Ping mit einer falschen Routingtable

PING 134.96.32.23 (134.96.32.23): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote 134.96.32.23 64 chars,ret =1

7.2 traceroute

Ein normales traceroute :

traceroute to 127.0.0.1 (127.0.0.1), 30 hops max, 40 byte packets
 1  localhost (127.0.0.1)  0.436 ms  0.257 ms  0.212 ms
ein traceroute in ein unzugängliches Netz:

traceroute to (134.96.32.23), 30 hops max, 40 nyte packets
 1 134.96.33.32 ( 134.96.33.32 ) 1.793 ms 1.334 ms 1.217 ms
 2 134.96.33.32 ( 134.96.33.32 ) 1.232 ms !N 1.384 ms !N 1.222 ms !N
ein eventuell defektes Kabel :
 1 134.96.32.23 ( 134.96.32.23 ) 1.786 ms 1.234 ms 1.334 ms
 2 ***


Previous Next Table of Contents