Cours routage

PowerPoint – Chapitre N°10 – Le routage-2025-light

Exercices – 01 – routage statique – 2025

Donnez les lignes de commandes permettant la configuration du routeur 1 CISCO

Entrer en mode configuration globale :

enable

configure terminal

Paramètres généraux :

hostname RouteurA

no ip domain-lookup

 

Configuration des interfaces :

interface GigabitEthernet0/0

description LAN_192.17.52.0/26

ip address 192.17.52.1 255.255.255.192

no shutdown

 

interface GigabitEthernet0/1

ip address 192.17.52.65 255.255.255.192

no shutdown

 

interface GigabitEthernet0/2

ip address 192.48.32.2 255.255.255.0

no shutdown

 

interface GigabitEthernet0/3

ip address 192.17.52.129 255.255.255.192

no shutdown

 

Routes statiques (next-hop via Router B et route par défaut via Router D) :

ip route 192.17.52.192 255.255.255.192 192.17.52.131

ip route 192.1.23.0    255.255.255.0   192.17.52.131

ip route 0.0.0.0       0.0.0.0         192.48.32.1

 

 

Sauvegarde de la configuration :

end

write memory

Commandes de vérification et de diagnostic utiles

show ip interface brief

show ip route

show ip route static