Vous êtes sur la page 1sur 8

Filière : ISESE Module : Structure, Administration et Sécurité des réseaux informatiques

Professeur : Rachid DAKIR Année Universitaire : 2021-2022

Compte rendu du TP – ROUTAGE -


Rédigé par : Pr. Rachid DAKIR

Configuration et Administration d’un Routeur


Redistribution

A. Configuration des interfaces


----------------------------------- Configuration du routeur R1------------------------------------
enable
conf t
int fa 0/0
ip add 192.168.1.1 255.255.255.0
no sh
exit
int se 1/0
ip add 212.12.12.1 255.255.255.252
clock rate 64000
no sh
int se 1/1
ip add 212.12.12.5 255.255.255.252
clock rate 64000
no sh
Filière : ISESE Module : Structure, Administration et Sécurité des réseaux informatiques
Professeur : Rachid DAKIR Année Universitaire : 2021-2022

exit
do wr
----------------------------------- Configuration du routeur R2------------------------------------
enable
conf t
int se 1/0
ip add 212.12.12.2 255.255.255.252
no sh
int se 1/1
ip add 212.12.12.9 255.255.255.252
clock rate 64000
no sh
exit
do wr
----------------------------------- Configuration du routeur R3------------------------------------
enable
conf t
int se 1/0
ip add 212.12.12.6 255.255.255.252
no sh
int se 1/1
ip add 212.12.12.13 255.255.255.252
clock rate 64000
no sh
exit
do wr
----------------------------------- Configuration du routeur R4------------------------------------
enable
conf t
int fa 0/0
ip add 192.168.2.1 255.255.255.0
no sh
int se 1/0
ip add 212.12.12.10 255.255.255.252
no sh
int se 1/1
ip add 212.12.12.14 255.255.255.252
no sh
int se 1/2
ip add 212.12.12.17 255.255.255.252
clock rate 64000
no sh
int se 1/3
ip add 212.12.12.21 255.255.255.252
clock rate 64000
no sh
exit
do wr
----------------------------------- Configuration du routeur R5------------------------------------
enable
Filière : ISESE Module : Structure, Administration et Sécurité des réseaux informatiques
Professeur : Rachid DAKIR Année Universitaire : 2021-2022

conf t
int se 1/0
ip add 212.12.12.18 255.255.255.252
no sh
int se 1/1
ip add 212.12.12.25 255.255.255.252
clock rate 64000
no sh
exit
do wr
----------------------------------- Configuration du routeur R6------------------------------------
enable
conf t
int se 1/0
ip add 212.12.12.22 255.255.255.252
no sh
int se 1/1
ip add 212.12.12.29 255.255.255.252
clock rate 64000
no sh
exit
do wr
----------------------------------- Configuration du routeur R7------------------------------------
enable
conf t
int se 1/0
ip add 212.12.12.26 255.255.255.252
no sh
int se 1/1
ip add 212.12.12.30 255.255.255.252
clock rate 64000
no sh
int fa 0/0
ip add 192.168.3.1 255.255.255.0
no sh
do wr

B. Configuration des routes

----------------------------------- Configuration du routeur R1------------------------------------


enable
conf t
router rip
version 2
network 192.168.1.0
passive-interface fa 0/0
no auto-summary
exit
router eigrp 100
network 212.12.12.0 0.0.0.3
Filière : ISESE Module : Structure, Administration et Sécurité des réseaux informatiques
Professeur : Rachid DAKIR Année Universitaire : 2021-2022

network 212.12.12.4 0.0.0.3


exit
do wr
----------------------------------- Configuration du routeur R2------------------------------------
en
conf t
router eigrp 100
network 212.12.12.0 0.0.0.3
network 212.12.12.8 0.0.0.3
exit
do wr
----------------------------------- Configuration du routeur R3------------------------------------
enable
conf t
router eigrp 100
network 212.12.12.4 0.0.0.3 area 0
network 212.12.12.12 0.0.0.3 area 0
exit
do wr
----------------------------------- Configuration du routeur R4------------------------------------
enable
conf t
router eigrp 100
network 212.12.12.8 0.0.0.3
network 212.12.12.12 0.0.0.3
exit
router ospf 100
network 212.12.12.16 0.0.0.3 area 0
network 212.12.12.20 0.0.0.3 area 0
do wr
----------------------------------- Configuration du routeur R5------------------------------------
enable
conf t
router ospf 100
network 212.12.12.16 0.0.0.3 area 0
network 212.12.12.24 0.0.0.3 area 0
exit
do wr
----------------------------------- Configuration du routeur R6------------------------------------
enable
conf t
router ospf 100
network 212.12.12.20 0.0.0.3 area 0
network 212.12.12.28 0.0.0.3 area 0
exit
do wr
----------------------------------- Configuration du routeur R7------------------------------------
enable
conf t
router ospf 100
Filière : ISESE Module : Structure, Administration et Sécurité des réseaux informatiques
Professeur : Rachid DAKIR Année Universitaire : 2021-2022

network 212.12.12.24 0.0.0.3 area 0


network 212.12.12.28 0.0.0.3 area 0
exit
ip route 0.0.0.0 0.0.0.0 212.12.12.25
do wr
C. Redistribution :

Routeur 1 :

enable
conf t
router rip
redistribute eigrp 100 metric 1
exit
router eigrp 100
redistribute rip metric 10000 100 255 1 1500
exit
do wr

Routeur 4 :

enable
conf t
router ospf 100
redistribute eigrp 100 subnets
exit
router eigrp 100
redistribute ospf 100 metric 10000 100 255 1 1500
exit
do wr
Routeur 7 :

enable
conf t
router ospf 100
redistribute static subnets
default-information originate
exit
do wr

D. Vérification
R1.
Filière : ISESE Module : Structure, Administration et Sécurité des réseaux informatiques
Professeur : Rachid DAKIR Année Universitaire : 2021-2022
Filière : ISESE Module : Structure, Administration et Sécurité des réseaux informatiques
Professeur : Rachid DAKIR Année Universitaire : 2021-2022
Filière : ISESE Module : Structure, Administration et Sécurité des réseaux informatiques
Professeur : Rachid DAKIR Année Universitaire : 2021-2022

Vous aimerez peut-être aussi