0% found this document useful (0 votes)
15 views3 pages

TP4 - 2022 - 2023 - Routage Statique - Fin2

Uploaded by

ahmed.lamiri202
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views3 pages

TP4 - 2022 - 2023 - Routage Statique - Fin2

Uploaded by

ahmed.lamiri202
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Université Ibn Zohr Filière LP: Génie Informatique S3

Faculté Polydisciplinaire Année universitaire 2022- 2023


Taroudant
Travaux pratiques
Module M18: Réseaux 1
TP no4: Routage Statique

Routage statique 1:
1) Réaliser le réseau de la figure suivante :

R1 R2
Continue with configuration dialog? [yes/no]: no Continue with configuration dialog? [yes/no]: no
Router>enable Router>enable
Router#configure terminal Router#configure terminal
Enter configuration commands, one per line. End with Enter configuration commands, one per line. End with
CNTL/Z. CNTL/Z.
Router(config)#hostname R1 Router(config)#hostname R2
R1(config)#exit R2(config)#exit
%SYS-5-CONFIG_I: Configured from console by console %SYS-5-CONFIG_I: Configured from console by console
R1#copy running-config startup-config R2#copy running-config startup-config
Destination filename [startup-config]? Destination filename [startup-config]?
R1#show running-config Building configuration...
Building configuration... [OK]
R1# R2#show running-config
R1# Building configuration...
R1#show startup-config R2#
R2#
R1# R2#show startup-config
R1#configure terminal Using 353 bytes
Enter configuration commands, one per line. End with R2#
CNTL/Z. R2#configure terminal
R1(config)#interface fastethernet 0/0 Enter configuration commands, one per line. End with
R1(config-if)#ip address 192.168.1.1 255.255.255.0 CNTL/Z.
R1(config-if)#no shutdown R2(config)#interface fastethernet 0/0
%LINK-5-CHANGED: Interface FastEthernet0/0, changed R2(config-if)#ip address 192.168.0.1 255.255.255.0
state to up R2(config-if)#no shutdown
R1(config-if)#
R1(config-if)#exit %LINK-5-CHANGED: Interface FastEthernet0/0, changed
R1(config)#exit state to up
1
%SYS-5-CONFIG_I: Configured from console by console R2(config-if)#exit
R1#ping 192.168.1.2 R2(config)#
Type escape sequence to abort. %LINEPROTO-5-UPDOWN: Line protocol on Interface
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout FastEthernet0/0, changed state to up
is 2 seconds: R2(config)#exit
!!!!! %SYS-5-CONFIG_I: Configured from console by console
Success rate is 100 percent (5/5), round-trip min/avg/max R2#configure terminal
= 2/5/6 ms Enter configuration commands, one per line. End with
R1#configure terminal CNTL/Z.
Enter configuration commands, one per line. End with R2(config)#interface fastethernet 0/1
CNTL/Z. R2(config-if)#ip address 192.168.3.2 255.255.255.0
R1(config)#interface fastethernet 0/1 R2(config-if)#no shutdown
R1(config-if)#ip address 192.168.3.1 255.255.255.0
R1(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/1, changed
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
state to up R2(config-if)#exit
R1(config-if)#exit R2(config)#exit
R1(config)#exit %SYS-5-CONFIG_I: Configured from console by console
%SYS-5-CONFIG_I: Configured from console by console R2#
R1# %LINEPROTO-5-UPDOWN: Line protocol on Interface
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
FastEthernet0/1, changed state to up R2#configure terminal
R1#configure terminal Enter configuration commands, one per line. End with
Enter configuration commands, one per line. End with CNTL/Z.
CNTL/Z. R2(config)#ip route 192.168.1.0 255.255.255.0
R1(config)#ip route 192.168.0.0 255.255.255.0 192.168.3.1
192.168.3.2 R2(config)#exit
R1(config)#exit %SYS-5-CONFIG_I: Configured from console by console
%SYS-5-CONFIG_I: Configured from console by console R2#ping 192.168.1.2
R1#ping 192.168.0.2 Type escape sequence to abort.
Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is
Sending 5, 100-byte ICMP Echos to 192.168.0.2, timeout 2 seconds:
is 2 seconds: !!!!!
!!!!! Success rate is 100 percent (5/5), round-trip min/avg/max
Success rate is 100 percent (5/5), round-trip min/avg/max = 7/9/11 ms
= 6/8/10 ms R2#
R1#

Routage statique 2 :

 Configurer les interfaces du routeur R1 et vérifier la connexion avec R2


 Configurer les interfaces du routeur R2

2
Routage statique 3 :

 Configurer les interfaces du routeur R1


 Configurer les interfaces du routeur R2

You might also like