Académique Documents
Professionnel Documents
Culture Documents
MANKOURI Amani
2020-2021
10 FEV 2021
Architecture des réseaux
Sommaire :
I. Introduction
II. Topologie de réseau
a. Information de réseau
b. Création de la topologie
III. Configuration
a. Pour les hôtes
b. Pour les routeurs
IV. Ping mutuelle
V. Mode simulation
VI. Configuration des routes statique
VII. Ping mutuelle
VIII. Les sauts
IX. Routage dynamique
Le but de ce TP est d’apprendre à configurer les routes statiques sur
un routeur Cisco, en utilisant le simulateur de réseaux Packet Tracer.
b. Création de la topologie :
a. Configuration des hôtes :
Pour les hôtes on les configure avec l’interface PC/Desktop/IP configuration
PC1 PC2
Routeur 1 :
Would you like to enter the initial configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>enable
Router#conf
Configuring from terminal, memory, or network [terminal]? terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface GigabitEthernet0/0
Router(config-if)#ip address 10.0.0.254 255.0.0.0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0,
changed state to up
Router(config-if)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#conf
Configuring from terminal, memory, or network [terminal]? terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface GigabitEthernet0/1
Router(config-if)#ip address 192.168.0.1 255.255.255.252
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
^Z
Routeur 2 :
Would you like to enter the initial configuration dialog? [yes/no]: no
Press RETURN to get started!
Router>enable
Router#conf
Configuring from terminal, memory, or network [terminal]? terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface GigabitEthernet0/0
Router(config-if)#ip address 192.168.0.2 255.255.255.252
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0,
changed state to up
Router(config-if)#^Z
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#conf
Configuring from terminal, memory, or network [terminal]? terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface GigabitEthernet0/1
Router(config-if)#ip address 148.16.255.254 255.255.0.0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
^Z
Les PCs 1 et 2 ne peuvent pas se pinger mutuellement car ils sont de deux
réseaux différents + on n’a pas encore configuré la route entre R1 (Routeur de
PC1) et R2 (Routeur de PC2).
Apres un Ping de PC1 vers PC2 on obtient :
NEXT LAYER :
NEXT LAYER :
Le ping d’un pc vers l’autre a besoin d’entrer dans 2 autres réseau (plus que
son réseau d’envoie), ça s’appelle les sauts. Donc il a besoin de 2 sauts, et on
peut confirmer avec « Time to live » dans l’entête IP
On peut ne peut pas utiliser le routage dynamique RIPv1 car il marche que
avec les réseaux classfull, et notre réseau est classless.
Par contre on peut configurer par le RIPv2 :
R1 Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#no auto-summary
Router(config-router)#network 10.0.0.0
Router(config-router)#network 192.168.0.0
Router(config-router)#passive-interface g0/0
R2 Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#no auto-summary
Router(config-router)#network 192.168.0.0
Router(config-router)#network 148.16.0.0
Router(config-router)#passive-interface g0/0