1
Nom : Date : 31 Août 2024
Post-nom
Prénom :
Promotion L1 Exploitation et administration Réseaux
Site de Lingwala
EXAMEN D’ATELIER RESEAUX
A titre d’illustration, nous considérons la mise en place
d’un système d’interconnexion avec le routage par le protocole BGP
entre les sites de LINGWALA et NDJILI.
2
3
On vous demande :
a) Donner le résultat de ping vers le réseau [Link]
b) Donner le résultat de ping vers le réseau [Link]
Procédure
1. Configuration des équipements
1.1. Configuration Basique
Une configuration basique est une configuration qui
consiste à attribuer des noms d’hôte à un équipement, créé des
utilisateurs, définir un mot de passe, etc. Pour se faire, nous
utilisons l’interface en ligne des commandes ou Command Linguage
Interface (CLI) de packet tracer de Cisco.
a) Configuration typique d’un cas d’un Switch du site de BQG
a-1) Configuration nom d’hôte
Switch>enable
Switch# conf terminal
Switch (config)# no ip domain lookup
Switch (config)# hostname Swi_BQG1
Swi_ BQG1(config)# exit
a-2) Création des utilisateurs, définition mot de passe et attribution
des privilèges
Swi_BQG1(config)# username admin privilege 15 secret *******
Swi_BQG1(config)# line console 0
Swi_BQG1(config-line) # login local
Swi_BQG1(config-line) # exit
Swi_BQG1(config)# line Vty 0 15
Swi_BQG1(config-line) # login local
Swi_BQG1(config-line) # exit
Swi_BQG1(config)# enable password secret ********
Swi_BQG1(config)# service password-encryption
Swi_BQG1(config)#banner motd “ Accès restreint au switch aux personnes
autorisées “
Swi_ BQG1(config)# do wr
a-3) Activation SSH pour la connexion sécurisée à distance
Swi_BQG1(config)# ip domain name [Link]
Swi_BQG1(config)# ip ssh version 2
Swi_BQG1(config)# ip crypto key generate rsa
Swi_BQG1(config)# ip ssh authentication 3
Swi_BQG1(config)# ip ssh time-out 45
Swi_BQG1(config)# line vty 0 15
Swi_BQG1(config)# transport input ssh
Swi_BQG1(config)# transport output ssh
Swi_BQG1(config)# do wr
Sw_BQG1(config)# exit
Swi_BQG1# copy r s
4
b) Configuration du routeur
b-1) Cas des routeurs du site de QG BRACONGO
Router>enable
Router# conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1_BQG1
R1_BQG1(config)#Interface fa0/0
R1_BQG1(config-if) # ip address [Link] [Link]
R1_BQG1(config-if) # no shutdown
R1_BQG1(config-if) #
%LINK-5-CHANGED : Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN : Line protocol on Interface FastEthernet0/0,
changed state to up
R1_BQG1(config)#interface se0/0/0
R1(config-if) #ip add [Link] [Link]
R1(config-if) #no shutdown
%LINK-5-CHANGED : Interface Serial0/0/0, changed state to down
R1(config-if) #
ROUTEUR R2_BQG1
R2_BQG1(config)#interface se0/0/0
R2_BQG1(config-if) #ip add [Link] [Link]
R2_BQG1(config-if) #no shutdown
%LINK-5-CHANGED : Interface Serial0/0/0, changed state to down
R2(config-if) #exit
R2_BQG1(config)#interface se0/0/1
R2_BQG1(config-if) #ip add 10.10.30. [Link]
R2_BQG1(config-if) #no shutdown
%LINK-5-CHANGED : Interface Serial0/0/, changed state to down
R2(config-if) #exit.
1.2. Protocole RIP
AS 600
R1_BQG1(config)# router RIP
R1_BQG1(config)# version 2
R1_BQG1(config)# network [Link]
R1_BQG1(config)# network [Link]
5
R1_BQG1(config)#exit
R2_BQG1(config)# router RIP
R2_BQG1(config)# version 2
R2_BQG1(config)# network [Link]
R2_BQG1(config)# network [Link]
R2_BQG1(config)#exit
AS 700
R1_AB(config)# router RIP
R1_AB(config)# version 2
R1_AB(config)# network [Link]
R1_AB(config)# network [Link]
R1_AB(config)#exit
R2_AB(config)# router RIP
R2_AB(config)# version 2
R2_AB(config)# network [Link]
R2_AB(config)# network [Link]
R2_AB(config)#exit
1.3. Protocole BGP
R2_BQG1(config)# router bgp 600
R2_BQG1(config)# neighbor [Link] remote-as 700
R2_BQG1 (config)#EXIT
R2_AB(config)# router bgp 700
R2_AB(config)# neighbor [Link] remote-as 600
R2_AB(config)#Exit
« Bonne chance »
CT Ric LOPOTE LOKELE.