Lab 1 : Configuration IPv4, vérification et dépannage des adresses IPv4

configuration, vérification et dépannage des adresses IPv4 :

Objectif du Lab

L’objectif de ce labo est de vous permettre d’apprendre et de comprendre comment créer et dépanner les adresses IPv4 sur les routeurs Cisco.

La configuration de l’adressage IPv4 est l’une de vos tâches les plus fondamentales en tant qu’administrateur réseau. Dans l’examen, il peut également vous être demandé de dépanner un adressage IPv4 qui a déjà été configuré, mais de façon incorrectement ! Vous devez donc savoir quelles commandes show utiliser.

Topologie du Lab configuration IPv4

Voici donc la topologie du Lab :

Lab 1 : configuration, vérification et dépannage des adresses IPv4

Tâche 1 :

Configurez les noms d’hôtes sur les routeurs R1 et R2 comme illustré sur la topologie.

Tâche 2 : configuration IPv4

Configurez les adresses IPv4 sur les interfaces série de R1 et R2 comme illustré sur la topologie. Et aussi, configurez les interfaces Loopback spécifiées dans le diagramme sur R2.

Tâche 3 :

Vérifier les configurations en utilisant la commande show

  • Le résumé de toutes les adresses IPv4 configurées sur les interfaces ;
  • Les status administratifs des interfaces (up ou down);
  • Les masques de sous-réseau appliqué aux interfaces.

Solution du Lab

Tâche 1 :

Sur le routeur R1
R1>enable 
Router#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#hostname R1
R1(config)#

Sur le routeur R2
R1>enable 
Router#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#hostname R2
R2(config)#

Tâche 2 :

R1>enable 

R1#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.

R1(config)#interface serial 0/0/0

R1(config-if)#ip address 192.16.1.1 255.255.255.192

R1(config-if)#no shutdown 

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
R1(config-if)#

R2>enable 

R2#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.

R2(config)#interface serial 0/0/0

R2(config-if)#ip address 172.16.1.2 255.255.255.192

R2(config-if)#no shutdown 

R2(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up

R2(config-if)#exit

R2(config)#interface loopback 10
R2(config-if)#
%LINK-5-CHANGED: Interface Loopback10, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback10, changed state to up


R2(config-if)#ip address 10.10.10.3 255.255.255.128

R2(config-if)#no shutdown 

R2(config-if)#exit 

R2(config)#interface loopback 20
R2(config-if)#
%LINK-5-CHANGED: Interface Loopback20, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback20, changed state to up


R2(config-if)#ip address 20.20.20.3 255.255.255.240

R2(config-if)#no shutdown 
R2(config-if)#exi

R2(config)#interface loopback 30

R2(config-if)#
%LINK-5-CHANGED: Interface Loopback30, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback30, changed state to up


R2(config-if)#ip address 30.30.30.3 255.255.255.248

R2(config-if)#no shutdown 
R2(config-if)#

Tâche 3 :

R2#show ip interface brief 
Interface              IP-Address      OK? Method Status                Protocol 
GigabitEthernet0/0     unassigned      YES unset  administratively down down 
GigabitEthernet0/1     unassigned      YES unset  administratively down down 
GigabitEthernet0/2     unassigned      YES unset  administratively down down 
Serial0/0/0            172.16.1.2      YES manual up                    up 
Serial0/0/1            unassigned      YES unset  administratively down down 
GigabitEthernet0/1/0   unassigned      YES unset  administratively down down 
Serial0/2/0            unassigned      YES unset  administratively down down 
Serial0/2/1            unassigned      YES unset  administratively down down 
GigabitEthernet0/3/0   unassigned      YES unset  administratively down down 
Loopback10             10.10.10.3      YES manual up                    up 
Loopback20             20.20.20.3      YES manual up                    up 
Loopback30             30.30.30.3      YES manual up                    up 
Vlan1                  unassigned      YES unset  administratively down down
R2#

Laisser un commentaire

Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur comment les données de vos commentaires sont utilisées.