Skip to content

TP Routage IPv4

Voir le cours sur le routage
TP Routage statique (.pdf)

On mets d’abord en place le TP :

Exercice 1

S1
****
en
conf t
hostname SW-Site1
do write
S2
****
en
conf t
hostname SW-Site2
do write
S3
****
en
conf t
hostname SW-Site3
do write

Exercice 2

R1
****
en
conf t
hostname RT-Site1
do write
R2
****
en
conf t
hostname RT-Site2
do write
R3
****
en
conf t
hostname RT-Site3
do write

Exercice 3-5

Tout d’abord, on définis les adresse de passerelle :

InterfacesRT1RT2RT3
Interface 0192.168.1.254 /24192.168.2.254 / 24192.168.3.254 /24
Interface 112.12.12.1 /3012.12.12.2 /30-
Interface 2-23.23.23.2 /3023.23.23.1 /30

Résultat : 

Configuration : 

R1
****
int g0/0
no shutdown
ip address 192.168.1.254 255.255.255.0
int g0/1
no shutdown
ip address 12.12.12.1 255.255.255.252
R2
****
int g0/0
no shutdown
ip address 192.168.2.254 255.255.255.0
int g0/1
no shutdown
ip address 12.12.12.2 255.255.255.252
int g0/2
no shutdown
ip address 23.23.23.2 255.255.255.252
R3
****
int g0/0
no shutdown
ip address 192.168.3.254 255.255.255.0
int g0/2
no shutdown
ip address 23.23.23.1 255.255.255.252

Exercice 6-7

R1
****
en
conf t
ip route 0.0.0.0 0.0.0.0 12.12.12.2
do write

Exercice 8

R2
****
en
conf t
ip route 192.168.1.0 255.255.255.0 12.12.12.1
ip route 192.168.3.0 255.255.255.0 23.23.23.1
do write

Exercice 9

R2
****
en
conf t
ip route 0.0.0.0 0.0.0.0 23.23.23.2
do write

Exercice 10

R3
****
ping 12.12.12.1
ping 23.23.23.2
R1
****
ping 23.23.23.1
ping 12.12.12.2
R2
****
ping 12.12.12.1
ping 23.23.23.1

Exercice 11

On configure le serveur DHCP :

Exercice 12

Exercice 13

Exercice 14

Exercice 15