24
Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

Embed Size (px)

Citation preview

Page 1: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

Formation CCNA

25 - Le protocole RIPv2

*Routing Information Protocol version 2

Page 2: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

Sommaire

1) Rappel de RIPv1

2) Spécifications de RIPv2

3) Configuration de RIPv2

4) Configuration de l’authentification

5) Dépannage de RIPv2

Page 3: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

1) Rappel de RIPv1(1/2)

Protocole de routage intérieur

Protocole à vecteur de distance

Métrique =Nombre de sauts ;Max= 15

Mise à jour de routage : 30 secondes

Page 4: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

1) Rappel de RIPv1

Convergence lente

Split Horizon,Compteur de retenue,Poison inverse permettent d’empêcher les boucles de routage

Protocole de routage classful

Ne supporte pas le VLSM

Page 5: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

2) Spécifications de RIPv2

Des spécifications semblables à RIPv1:

Protocole de routage intérieur

Protocole à vecteur de distance

Métrique =Nombre de sauts ;Max= 15

Page 6: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

Spécifications de RIPv2

Mise à jour de routage : 30 secondes

Split Horizon,Compteur de retenue,Poison inverse permettent d’empêcher les boucles de routage

Page 7: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

Spécifications de RIPv2

De nouvelles fonctionnalités:

Routage Classless

Diffusion de masque générique

Supporte le VLSM

Page 8: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

Spécifications de RIPv2

Authentification en texte clair ou crypté (MD5)

Utilise les routes Tag externes

Utilise des mises à jour de routage multicast

Page 9: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

3) Configuration de RIPv2

Étape 1 : Activer le protocole RIP

Étape 2 : Spécifier la version

Étape 3: Indiquer les réseaux directement connectés au routeur

Page 10: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

Étape 1

router rip

Active le protocole RIP

Mode de configuration globale

Router#configure terminalEnt er confi gur at i on commands, one per l i ne. End wi t h CNTL/ Z.Rout er ( confi g) #r out er r i p

Page 11: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

Étape 2

version 2

Spécifie la version

Mode de configuration du protocole RIPv2

Router#configure terminalEnt er confi gur at i on commands, one per l i ne. End wi t h CNTL/ Z.Rout er ( confi g) #r out er r i pRout er ( confi g- r out er ) #ver si on 2

Page 12: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

Étape 3

network{préfixe}

Indique les réseaux directement connectés au routeur

Mode de configuration du protocole RIPv2

Router#conf termEnt er confi gur at i on commands, one per l i ne. End wi t h CNTL/ Z.Rout er ( confi g) #r out er r i pRout er ( confi g- r out er ) #ver si on 2Rout er ( confi g- r out er ) #net wor k 192. 168. 30. 0Rout er ( confi g- r out er ) #net wor k 172. 16. 0. 0Rout er ( confi g- r out er ) #net wor k 10. 0. 0. 0Rout er ( confi g- r out er ) #

Page 13: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

Étape 4

no auto-summary

Désactive l’agrégation automatique

Mode de configuration du protocole RIPv2

Router#conf termEnt er confi gur at i on commands, one per l i ne. End wi t h CNTL/ Z.Rout er ( confi g) #r out er r i pRout er ( confi g- r out er ) #ver si on 2Rout er ( confi g- r out er ) #net wor k 192. 168. 30. 0Rout er ( confi g- r out er ) #net wor k 172. 16. 0. 0Rout er ( confi g- r out er ) #net wor k 10. 0. 0. 0Rout er ( confi g- r out er ) #no aut o- summar y

Page 14: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

Exemple

IP:150.150.150.1/30

S0E0

E0

S1

Router A

Routeur B

IP:192.168.1.33/27

IP:192.168.1.97/27

RouterA(config)#router rip RouterA(config-router)#version 2 RouterA(config-router)# network 192.168.1.0RouterA(config-router)# network 150.150.0.0RouterA(config-router)# no auto-summary

Page 15: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

4) Configuration de l’authentification

Créer l’identifiant de groupe de clef Commande: Key-chain {nom} Mode de configuration du routeur

Définir la ou les clefs d’authentification Commande :Key {id} Mode de configuration du protocole RIPv2

Router#conf termEnt er confi gur at i on commands, one per l i ne. End wi t h CNTL/ Z.Rout er ( confi g) #key chai n TOTORout er ( confi g- keychai n) #key 1

Page 16: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

Configuration de l’authentification

Indiquer les mots de passe à utiliser Commande :Key-string{mot de passe} Mode de configuration du protocole RIPv2

Router#conf termEnt er confi gur at i on commands, one per l i ne. End wi t h CNTL/ Z.Rout er ( confi g) #key chai n TOTORout er ( confi g- keychai n) #key 1Rout er ( confi g- keychai n- key) #key- st r i ng ABCDERout er ( confi g- keychai n- key) #

Page 17: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

Configuration de l’authentification

Activer l’authentification sur une interface Commande:ip rip authentication key-chain{nom} Mode de configuration d’interface

Spécifier le type d’authentification Commande: ip rip authentication mode{text|md5} Mode de configuration d’interface

Rout er ( confi g) #key chai n TOTORout er ( confi g- keychai n) #key 1Rout er ( confi g- keychai n- key) #key- st r i ng ABCDERout er ( confi g- keychai n- key) #exi tRout er ( confi g- keychai n) #exi tRout er ( confi g) #i nt er f ace ser i al 0/ 0Rout er ( confi g- i f ) #i p r i p aut hent i cat i on key- chai n TOTO

Rout er ( confi g- i f ) #i p r i p aut hent i cat i on key- chai n TOTORout er ( confi g- i f ) #i p r i p aut hent i cat i on mode ? md5 Keyed message di gest t ext Cl ear t ext aut hent i cat i onRout er ( confi g- i f ) #i p r i p aut hent i cat i on mode md5

Page 18: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

5) Dépannage de RIPv2

show ip protocols Donne des informations sur tous les protocoles de

routage configurésLab_A#show i p pr ot ocol s Rout i ng Pr ot ocol i s " r i p" Sendi ng updat es ever y 30 seconds, next due i n 19 seconds I nval i d af t er 180 seconds, hol d down 180, fl ushed af t er 240 Out goi ng updat e fi l t er l i st f or al l i nt er f aces i s not set I ncomi ng updat e fi l t er l i st f or al l i nt er f aces i s not set Redi st r i but i ng: r i p Def aul t ver si on cont r ol : send ver si on 1, r ecei ve any ver si on I nt er f ace Send Recv Tr i gger ed RI P Key- chai n Fast Et her net 0/ 0 1 1 2 Ser i al 0/ 0 1 1 2 Loopback0 1 1 2 Aut omat i c net wor k summar i zat i on i s i n eff ect Maxi mum pat h: 4 Rout i ng f or Net wor ks: 192. 5. 5. 0 201. 100. 11. 0 205. 7. 5. 0 Rout i ng I nf or mat i on Sour ces: Gat eway Di st ance Last Updat e 201. 100. 11. 2 120 00: 00: 23 Di st ance: ( def aul t i s 120)

Page 19: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

Dépannage de RIPv2 (suite)

show ip route Affiche la table de routage de tous les protocoles configurés

sur le routeur.

show ip interface brief Affiche un résumé de l'état des interfaces.

Page 20: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

5) Dépannage de RIPv2

debug ip rip Permet d'afficher les mises à jours de routage reçues et

envoyées.

no debug all ou undebug all Permet d'arrêter tous les déboguages en cours.

Page 21: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

Commande debug ip rip [events]

Lab_A#debug i p r i p RI P pr ot ocol debuggi ng i s onLab_A#*Mar 1 00: 54: 57. 915: RI P: sendi ng v1 updat e t o 255. 255. 255. 255 vi a Fast Et her net 0/ 0 ( 192. 5. 5. 1)*Mar 1 00: 54: 57. 915: RI P: bui l d updat e ent r i es*Mar 1 00: 54: 57. 915: net wor k 199. 6. 13. 0 met r i c 2*Mar 1 00: 54: 57. 915: net wor k 201. 100. 11. 0 met r i c 1*Mar 1 00: 54: 57. 915: net wor k 204. 204. 7. 0 met r i c 3*Mar 1 00: 54: 57. 915: net wor k 205. 7. 5. 0 met r i c 1*Mar 1 00: 54: 57. 915: net wor k 210. 97. 105. 0 met r i c 3*Mar 1 00: 54: 57. 915: net wor k 219. 17. 100. 0 met r i c 2*Mar 1 00: 54: 57. 915: net wor k 223. 8. 151. 0 met r i c 3*Mar 1 00: 54: 58. 675: RI P: sendi ng v1 updat e t o 255. 255. 255. 255 vi a Fast Et her net 0/ 1 ( 205. 7. 5. 1)*Mar 1 00: 54: 58. 675: RI P: bui l d updat e ent r i es*Mar 1 00: 54: 58. 675: net wor k 192. 5. 5. 0 met r i c 1*Mar 1 00: 54: 58. 675: net wor k 199. 6. 13. 0 met r i c 2*Mar 1 00: 54: 58. 675: net wor k 201. 100. 11. 0 met r i c 1*Mar 1 00: 54: 58. 675: net wor k 204. 204. 7. 0 met r i c 3*Mar 1 00: 54: 58. 675: net wor k 210. 97. 105. 0 met r i c 3*Mar 1 00: 54: 58. 675: net wor k 219. 17. 100. 0 met r i c 2*Mar 1 00: 54: 58. 675: net wor k 223. 8. 151. 0 met r i c 3

Page 22: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

Commande debug ip rip [events]

Lab_A#debug i p r i p event s RI P event debuggi ng i s onLab_A#*Mar 1 00: 55: 26. 967: RI P: sendi ng v1 updat e t o 255. 255. 255. 255 vi a Fast Et her net 0/ 0 ( 192. 5. 5. 1)*Mar 1 00: 55: 26. 967: RI P: Updat e cont ai ns 7 r out es*Mar 1 00: 55: 26. 967: RI P: Updat e queued*Mar 1 00: 55: 26. 967: RI P: Updat e sent vi a Fast Et her net 0/ 0*Mar 1 00: 55: 27. 231: RI P: sendi ng v1 updat e t o 255. 255. 255. 255 vi a Fast Et her net 0/ 1 ( 205. 7. 5. 1)*Mar 1 00: 55: 27. 231: RI P: Updat e cont ai ns 7 r out es*Mar 1 00: 55: 27. 231: RI P: Updat e queued*Mar 1 00: 55: 27. 231: RI P: Updat e sent vi a Fast Et her net 0/ 1

Page 23: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

Questions types CCNA

Page 24: Formation CCNA 25 - Le protocole RIPv2 *Routing Information Protocol version 2

Questions types CCNA