3.4 Routage

Porte=GATEWAY
[buffat@ufrmeca Cours]$ cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=ufrmeca.univ-lyon1.fr
DOMAINNAME=univ-lyon1.fr
GATEWAY=134.214.92.1
GATEWAYDEV=eth0
FORWARD_IPV4=no
Table de routage
[buffat@ufrmeca Cours]$ /sbin/route -n
Table de routage IP du noyau
Destination     Passerelle      Genmask         Indic Metric Ref    Use Iface
134.214.93.120  0.0.0.0         255.255.255.255 UH    0      0        0 eth0
134.214.92.0    0.0.0.0         255.255.252.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         134.214.92.1    0.0.0.0         UG    0      0        0 eth0

Test de routage

[root@ufrmeca Cours]# traceroute athena.mecaflu.ec-lyon.fr
traceroute to athena.mecaflu.ec-lyon.fr (156.18.40.105), 30 hops max, 40 byte packets
 1  accel101-1ercycle (134.214.92.1)  3.336 ms  18.720 ms  2.632 ms
 2  cs7505-cism (134.214.200.225)  1.202 ms  1.156 ms  0.964 ms
 3  u-1-cism-villeurbanne (193.48.222.2)  2.021 ms  5.537 ms  2.071 ms
 4  lyon.aramis.ft.net (193.48.66.13)  21.626 ms  9.631 ms  8.879 ms
 5  centrale-lyon.aramis.ft.net (193.48.66.62)  6.949 ms  29.308 ms  60.353 ms
 6  193.54.216.1 (193.54.216.1)  19.696 ms  47.226 ms  22.045 ms
 7  eclgw.servers.ec-lyon.fr (156.18.19.254)  9.213 ms  110.096 ms  36.818 ms
 8  athena.mecaflu.ec-lyon.fr (156.18.40.105)  41.103 ms  39.818 ms  80.468 ms

Test d'une connection: $ping$

[root@ufrmeca Cours]# ping athena.mecaflu.ec-lyon.fr
PING athena.mecaflu.ec-lyon.fr (156.18.40.105): 56 data bytes
64 bytes from 156.18.40.105: icmp_seq=0 ttl=248 time=51.9 ms
64 bytes from 156.18.40.105: icmp_seq=1 ttl=248 time=53.0 ms
64 bytes from 156.18.40.105: icmp_seq=2 ttl=248 time=79.7 ms
64 bytes from 156.18.40.105: icmp_seq=3 ttl=248 time=16.5 ms
 
--- athena.mecaflu.ec-lyon.fr ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 16.5/50.2/79.7 ms




Pr. Marc BUFFAT
marc.buffat@univ-lyon1.fr
2007-02-08