TP Routage IPv4
Voir le cours sur le routage
TP Routage statique (.pdf)
On mets d’abord en place le TP :
Exercice 1
S1****enconf thostname SW-Site1do write
S2****enconf thostname SW-Site2do write
S3****enconf thostname SW-Site3do write
Exercice 2
R1****enconf thostname RT-Site1do write
R2****enconf thostname RT-Site2do write
R3****enconf thostname RT-Site3do write
Exercice 3-5
Tout d’abord, on définis les adresse de passerelle :
Interfaces | RT1 | RT2 | RT3 |
---|---|---|---|
Interface 0 | 192.168.1.254 /24 | 192.168.2.254 / 24 | 192.168.3.254 /24 |
Interface 1 | 12.12.12.1 /30 | 12.12.12.2 /30 | - |
Interface 2 | - | 23.23.23.2 /30 | 23.23.23.1 /30 |
Résultat :
Configuration :
R1****int g0/0no shutdownip address 192.168.1.254 255.255.255.0int g0/1no shutdownip address 12.12.12.1 255.255.255.252
R2****int g0/0no shutdownip address 192.168.2.254 255.255.255.0int g0/1no shutdownip address 12.12.12.2 255.255.255.252int g0/2no shutdownip address 23.23.23.2 255.255.255.252
R3****int g0/0no shutdownip address 192.168.3.254 255.255.255.0int g0/2no shutdownip address 23.23.23.1 255.255.255.252
Exercice 6-7
R1****enconf tip route 0.0.0.0 0.0.0.0 12.12.12.2do write
Exercice 8
R2****enconf tip route 192.168.1.0 255.255.255.0 12.12.12.1ip route 192.168.3.0 255.255.255.0 23.23.23.1do write
Exercice 9
R2****enconf tip route 0.0.0.0 0.0.0.0 23.23.23.2do write
Exercice 10
R3****ping 12.12.12.1ping 23.23.23.2
R1****ping 23.23.23.1ping 12.12.12.2
R2****ping 12.12.12.1ping 23.23.23.1
Exercice 11
On configure le serveur DHCP :