Vous êtes sur la page 1sur 52

RIP

Routing Information Protocol

eLearnCisco 2010 1
Carte didentit de RIP
Standard ou Propritaire ?
standard
IGP / EGP ?
IGP
DV ou LS ?
DV : Vecteur de distance
Distance administrative : AD ?
120
Mtrique ?
hops
Lettre qui identifie ce protocole dans sh ip route ?
R
eLearnCisco 2010 2
Les annonces
Updates
Envoyes toutes les 30 secondes.
Envoyes en broadcast.
adresse IP destination = 255.255.255.255
Envoyes sur toutes les interfaces o RIP
est activ.

eLearnCisco 2010 3
Activer RIP sur une interface
configure terminal
router rip
network 10.0.0.0

signifie :
activer RIP sur toute interface
dont ladresse IP appartient
au rseau majeur 10.0.0.0 /8

eLearnCisco 2010 4
La commande network
Dans RIP, cette commande ne permet pas
de spcifier le masque.

Le routeur se base sur la classe pour


dduire le masque.

eLearnCisco 2010 5
Exemples 1
network 11.0.0.0
activer RIP sur toutes les interfaces en 11.0.0.0 /8
network 111.0.0.0
activer RIP sur toutes les interfaces en 111.0.0.0 /8
network 131.0.0.0
activer RIP sur toutes les interfaces en 131.0.0.0 /16
network 211.0.0.0
activer RIP sur toutes les interfaces en 211.0.0.0 /24

eLearnCisco 2010 6
Exemples 2
network 11.3.4.0
activer RIP sur toutes les interfaces en 11.0.0.0 /8
network 111.3.4.0
activer RIP sur toutes les interfaces en 111.0.0.0 /8
network 131.3.4.0
activer RIP sur toutes les interfaces en 131.3.0.0 /16
network 211.3.4.0
activer RIP sur toutes les interfaces en 211.3.4.0 /24

eLearnCisco 2010 7
Exercice 1
Fa0/0 : 10.1.1.1 /24
Fa0/1 : 10.1.2.1 /24
R1 Fa0/2 : 10.1.3.1 /24

Activer RIP sur toutes les interfaces


router rip
network 10.0.0.0

eLearnCisco 2010 8
Exercice 2
Fa0/0 : 10.1.1.1 /24
Fa0/1 : 172.16.2.1 /24
R1 Fa0/2 : 192.168.3.1 /24

Activer RIP sur toutes les interfaces


router rip
network 10.0.0.0
network 172.16.0.0
network 192.168.3.0

eLearnCisco 2010 9
Exercice 3
Fa0/0 : 10.1.1.1 /8
Fa0/1 : 172.16.2.1 /16
R1 Fa0/2 : 192.168.3.1 /24

Activer RIP sur toutes les interfaces


router rip
network 10.0.0.0
network 172.16.0.0
network 192.168.3.0

eLearnCisco 2010 10
Exercice 4
Fa0/0 : 10.1.1.1 /8
Fa0/1 : 172.16.2.1 /16
R1 Fa0/2 : 192.168.3.1 /24

Activer RIP sur Fa0/0 et Fa0/2 seulement :


router rip
network 10.0.0.0
network 192.168.3.0

eLearnCisco 2010 11
Activer RIP
Activer RIP sur une interface signifie :

1/ Le routeur envoie toutes les 30


secondes les annonces RIP sur cette
interface.

2/ Le routeur tient compte de toute


annonce RIP reue sur cette interface
eLearnCisco 2010 12
Exercice 5
Fa0/0 : 10.1.1.1 /24
Fa0/1 : 10.1.2.1 /24
R1 Fa0/2 : 10.1.3.1 /24

Activer RIP sur Fa0/0 et Fa0/2 seulement :


router rip
network 10.0.0.0
passive-interface Fa0/1

R1 nenverra pas dannonce sur Fa0/1,


mais tiendra compte des annonces reues sur Fa0/1 !

eLearnCisco 2010 13
Les timers de RIP 1/4
update

update

Les annonces sont envoyes toutes les 30


secondes.
Update Timer = 30 secondes

eLearnCisco 2010 14
Les timers de RIP 2/4
update mtrique = 16
invalid
update

Dure de vie dune annonce :


en fin de vie, lannonce est considre comme invalide
sa mtrique passe 16
la table de routage indique possibly down

Invalid Timer = 180 secondes

eLearnCisco 2010 15
Les timers de RIP 3/4
suppression
update mtrique = 16
invalid
update

flush

Dure de vie dune route :


en fin de vie, le rseau annonc est supprim de la
table de routage

Flush Timer = 240 secondes

eLearnCisco 2010 16
Les timers de RIP 4/4
update mtrique = 16
invalid
update

Mcanisme de prvention de boucle :


partir de quand je tiens compte dune nouvelle
annonce pour ce rseau possibly down

Holddown Timer = 180 secondes

eLearnCisco 2010 17
Exception du Hold down
suppression
update mtrique = 16
invalid
update

flush

Le Holddown timer passe automatiquement 0


si la flush passe 0.

Je tiens donc compte dune nouvelle annonce si


la Flush passe 0 (mme si la hold down ntait
pas 0)

eLearnCisco 2010 18
Modifier les timers
configure terminal
router rip
timers basic 20 180 190 200
update
invalid
holddown
flush
Il nest pas recommand
de modifier les valeurs par dfaut.

eLearnCisco 2010 19
Partage de charge
A mtriques gales, RIP est capable de faire du
partage de charge via 4 chemins diffrents.

Configurable jusqu 16 :
router rip
maximum-path 1 pas de partage de charge
maximum-path 4 valeur par dfaut
maximum-path 16 valeur maximale

CEF doit tre dsactiv (no ip cef) pour


activer le partage de charge
eLearnCisco 2010 20
RIP
Contrles et dbuggage

eLearnCisco 2010 21
Vrifier RIP
R1#show ip protocols
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 30 seconds, next due in 13 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Redistributing: rip
Default version control: send version 1, receive any version
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 1 1 2
FastEthernet0/1 1 1 2
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
0.0.0.0
Routing Information Sources:
Gateway Distance Last Update
11.0.0.2 120 03:35:01
12.0.0.2 120 03:59:18
Distance: (default is 120)
eLearnCisco 2010 22
Vrifier les interfaces o RIP est activ
R1#show ip protocols
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 30 seconds, next due in 13 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Redistributing: rip
Default version control: send version 1, receive any version
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 1 1 2
FastEthernet0/1 1 1 2
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
0.0.0.0
Routing Information Sources:
Gateway Distance Last Update
11.0.0.2 120 03:35:01
12.0.0.2 120 03:59:18
Distance: (default is 120)
eLearnCisco 2010 23
Vrifier les commandes network
R1#show ip protocols
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 30 seconds, next due in 13 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Redistributing: rip
Default version control: send version 1, receive any version
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 1 1 2
FastEthernet0/1 1 1 2
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
10.0.0.0
192.168.3.0
Routing Information Sources:
Gateway Distance Last Update
11.0.0.2 120 03:35:01
12.0.0.2 120 03:59:18
Distance: (default is 120)

eLearnCisco 2010 24
Vrifier les interfaces passives
R1#show ip protocols
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 30 seconds, next due in 13 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Redistributing: rip
Default version control: send version 1, receive any version
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 1 1 2
FastEthernet0/1 1 1 2
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
0.0.0.0
Passive Interface(s):
FastEthernet0/2
Routing Information Sources:
Gateway Distance Last Update
11.0.0.2 120 03:35:01
12.0.0.2 120 03:59:18
Distance: (default is 120)

eLearnCisco 2010 25
Vrifier lorigine des annonces reues
R1#show ip protocols
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 30 seconds, next due in 13 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Redistributing: rip
Default version control: send version 1, receive any version
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 1 1 2
FastEthernet0/1 1 1 2
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
0.0.0.0
Passive Interface(s):
FastEthernet0/2
Routing Information Sources:
Gateway Distance Last Update
11.0.0.2 120 03:35:01
12.0.0.2 120 03:59:18
Distance: (default is 120)

eLearnCisco 2010 26
Vrifier la Distance Administrative
R1#show ip protocols
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 30 seconds, next due in 13 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Redistributing: rip
Default version control: send version 1, receive any version
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 1 1 2
FastEthernet0/1 1 1 2
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
0.0.0.0
Passive Interface(s):
FastEthernet0/2
Routing Information Sources:
Gateway Distance Last Update
11.0.0.2 120 03:35:01
12.0.0.2 120 03:59:18
Distance: (default is 120)

eLearnCisco 2010 27
Vrifier les timers de RIP
R1#show ip protocols
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 30 seconds, next due in 13 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Redistributing: rip
Default version control: send version 1, receive any version
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 1 1 2
FastEthernet0/1 1 1 2
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
0.0.0.0
Routing Information Sources:
Gateway Distance Last Update
11.0.0.2 120 03:35:01
12.0.0.2 120 03:59:18
Distance: (default is 120)
eLearnCisco 2010 28
Vrifier le partage de charge de RIP
R1#show ip protocols
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 30 seconds, next due in 13 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Redistributing: rip
Default version control: send version 1, receive any version
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 1 1 2
FastEthernet0/1 1 1 2
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
0.0.0.0
Routing Information Sources:
Gateway Distance Last Update
11.0.0.2 120 03:35:01
12.0.0.2 120 03:59:18
Distance: (default is 120)
eLearnCisco 2010 29
Dbugger RIP
R1#debug ip rip
RIP protocol debugging is on
R3#
*Mar 1 04:21:15.118: RIP: received v1 update from 10.0.4.1 on FastEthrenet0/0
*Mar 1 04:21:15.122: 10.0.1.0 in 1 hops
*Mar 1 04:21:15.126: 10.0.2.0 in 1 hops
*Mar 1 04:21:15.126: 10.0.3.0 in 1 hops
R3#
*Mar 1 04:21:17.702: RIP: sending v1 update to 255.255.255.255 via FastEthrenet0/0
(10.0.4.2)
*Mar 1 04:21:17.706: RIP: build update entries - suppressing null update
R3#
R3#
R3#
*Mar 1 04:21:44.914: RIP: received v1 update from 10.0.4.1 on FastEthrenet0/0
*Mar 1 04:21:44.918: 10.0.1.0 in 1 hops
*Mar 1 04:21:44.922: 10.0.2.0 in 1 hops
*Mar 1 04:21:44.922: 10.0.3.0 in 1 hops
R3#
*Mar 1 04:21:47.662: RIP: sending v1 update to 255.255.255.255 via FastEthrenet0/0
(10.0.4.2)
*Mar 1 04:21:47.662: RIP: build update entries - suppressing null update
R3#

eLearnCisco 2010 30
Frquence des envois
R1#debug ip rip
RIP protocol debugging is on
R3#
*Mar 1 04:21:15.118: RIP: received v1 update from 10.0.4.1 on FastEthrenet0/0
*Mar 1 04:21:15.122: 10.0.1.0 in 1 hops
*Mar 1 04:21:15.126: 10.0.2.0 in 1 hops
*Mar 1 04:21:15.126: 10.0.3.0 in 1 hops
R3#
*Mar 1 04:21:17.702: RIP: sending v1 update to 255.255.255.255 via FastEthrenet0/0
(10.0.4.2)
*Mar 1 04:21:17.706: RIP: build update entries - suppressing null update
R3#
R3#
R3#
*Mar 1 04:21:44.914: RIP: received v1 update from 10.0.4.1 on FastEthrenet0/0
*Mar 1 04:21:44.918: 10.0.1.0 in 1 hops
*Mar 1 04:21:44.922: 10.0.2.0 in 1 hops
*Mar 1 04:21:44.922: 10.0.3.0 in 1 hops
R3#
*Mar 1 04:21:47.662: RIP: sending v1 update to 255.255.255.255 via FastEthrenet0/0
(10.0.4.2)
*Mar 1 04:21:47.662: RIP: build update entries - suppressing null update
R3#

eLearnCisco 2010 31
Frquence des annonces reues
R1#debug ip rip
RIP protocol debugging is on
R3#
*Mar 1 04:21:15.118: RIP: received v1 update from 10.0.4.1 on FastEthrenet0/0
*Mar 1 04:21:15.122: 10.0.1.0 in 1 hops
*Mar 1 04:21:15.126: 10.0.2.0 in 1 hops
*Mar 1 04:21:15.126: 10.0.3.0 in 1 hops
R3#
*Mar 1 04:21:17.702: RIP: sending v1 update to 255.255.255.255 via FastEthrenet0/0
(10.0.4.2)
*Mar 1 04:21:17.706: RIP: build update entries - suppressing null update
R3#
R3#
R3#
*Mar 1 04:21:44.914: RIP: received v1 update from 10.0.4.1 on FastEthrenet0/0
*Mar 1 04:21:44.918: 10.0.1.0 in 1 hops
*Mar 1 04:21:44.922: 10.0.2.0 in 1 hops
*Mar 1 04:21:44.922: 10.0.3.0 in 1 hops
R3#
*Mar 1 04:21:47.662: RIP: sending v1 update to 255.255.255.255 via FastEthrenet0/0
(10.0.4.2)
*Mar 1 04:21:47.662: RIP: build update entries - suppressing null update
R3#

eLearnCisco 2010 32
Contenu des annonces reues
R1#debug ip rip
RIP protocol debugging is on
R3#
*Mar 1 04:21:15.118: RIP: received v1 update from 10.0.4.1 on FastEthrenet0/0
*Mar 1 04:21:15.122: 10.0.1.0 in 1 hops
*Mar 1 04:21:15.126: 10.0.2.0 in 1 hops
*Mar 1 04:21:15.126: 10.0.3.0 in 1 hops
R3#
*Mar 1 04:21:17.702: RIP: sending v1 update to 255.255.255.255 via FastEthrenet0/0
(10.0.4.2)
*Mar 1 04:21:17.706: RIP: build update entries - suppressing null update
R3#
R3#
R3#
*Mar 1 04:21:44.914: RIP: received v1 update from 10.0.4.1 on FastEthrenet0/0
*Mar 1 04:21:44.918: 10.0.1.0 in 1 hops
*Mar 1 04:21:44.922: 10.0.2.0 in 1 hops
*Mar 1 04:21:44.922: 10.0.3.0 in 1 hops
R3#
*Mar 1 04:21:47.662: RIP: sending v1 update to 255.255.255.255 via FastEthrenet0/0
(10.0.4.2)
*Mar 1 04:21:47.662: RIP: build update entries - suppressing null update
R3#

eLearnCisco 2010 33
IP destination des envois
R1#debug ip rip
RIP protocol debugging is on
R3#
*Mar 1 04:21:15.118: RIP: received v1 update from 10.0.4.1 on FastEthrenet0/0
*Mar 1 04:21:15.122: 10.0.1.0 in 1 hops
*Mar 1 04:21:15.126: 10.0.2.0 in 1 hops
*Mar 1 04:21:15.126: 10.0.3.0 in 1 hops
R3#
*Mar 1 04:21:17.702: RIP: sending v1 update to 255.255.255.255 via FastEthrenet0/0
(10.0.4.2)
*Mar 1 04:21:17.706: RIP: build update entries - suppressing null update
R3#
R3#
R3#
*Mar 1 04:21:44.914: RIP: received v1 update from 10.0.4.1 on FastEthrenet0/0
*Mar 1 04:21:44.918: 10.0.1.0 in 1 hops
*Mar 1 04:21:44.922: 10.0.2.0 in 1 hops
*Mar 1 04:21:44.922: 10.0.3.0 in 1 hops
R3#
*Mar 1 04:21:47.662: RIP: sending v1 update to 255.255.255.255 via FastEthrenet0/0
(10.0.4.2)
*Mar 1 04:21:47.662: RIP: build update entries - suppressing null update
R3#

eLearnCisco 2010 34
Interfaces denvois
R1#debug ip rip
RIP protocol debugging is on
R3#
*Mar 1 04:21:15.118: RIP: received v1 update from 10.0.4.1 on FastEthrenet0/0
*Mar 1 04:21:15.122: 10.0.1.0 in 1 hops
*Mar 1 04:21:15.126: 10.0.2.0 in 1 hops
*Mar 1 04:21:15.126: 10.0.3.0 in 1 hops
R3#
*Mar 1 04:21:17.702: RIP: sending v1 update to 255.255.255.255 via FastEthrenet0/0
(10.0.4.2)
*Mar 1 04:21:17.706: RIP: build update entries - suppressing null update
R3#
R3#
R3#
*Mar 1 04:21:44.914: RIP: received v1 update from 10.0.4.1 on FastEthrenet0/0
*Mar 1 04:21:44.918: 10.0.1.0 in 1 hops
*Mar 1 04:21:44.922: 10.0.2.0 in 1 hops
*Mar 1 04:21:44.922: 10.0.3.0 in 1 hops
R3#
*Mar 1 04:21:47.662: RIP: sending v1 update to 255.255.255.255 via FastEthrenet0/0
(10.0.4.2)
*Mar 1 04:21:47.662: RIP: build update entries - suppressing null update
R3#

eLearnCisco 2010 35
Interfaces o des annonces sont reues
R1#debug ip rip
RIP protocol debugging is on
R3#
*Mar 1 04:21:15.118: RIP: received v1 update from 10.0.4.1 on FastEthrenet0/0
*Mar 1 04:21:15.122: 10.0.1.0 in 1 hops
*Mar 1 04:21:15.126: 10.0.2.0 in 1 hops
*Mar 1 04:21:15.126: 10.0.3.0 in 1 hops
R3#
*Mar 1 04:21:17.702: RIP: sending v1 update to 255.255.255.255 via FastEthrenet0/0
(10.0.4.2)
*Mar 1 04:21:17.706: RIP: build update entries - suppressing null update
R3#
R3#
R3#
*Mar 1 04:21:44.914: RIP: received v1 update from 10.0.4.1 on FastEthrenet0/0
*Mar 1 04:21:44.918: 10.0.1.0 in 1 hops
*Mar 1 04:21:44.922: 10.0.2.0 in 1 hops
*Mar 1 04:21:44.922: 10.0.3.0 in 1 hops
R3#
*Mar 1 04:21:47.662: RIP: sending v1 update to 255.255.255.255 via FastEthrenet0/0
(10.0.4.2)
*Mar 1 04:21:47.662: RIP: build update entries - suppressing null update
R3#

eLearnCisco 2010 36
Inconvvients de RIP
1. Protocole CLASSFUL.

2. Annonces envoyes en broadcast.

3. Pas dauthentification possible.

eLearnCisco 2010 37
RIP
Version 2

eLearnCisco 2010 38
Avantages de Version 2
1. Protocole CLASSLESS.

2. Annonces envoyes en multicast.


224.0.0.9 au lieu de 255.255.255.255

3. Authentification possible.

eLearnCisco 2010 39
Passer en RIP version 2
configure terminal
router rip
version 2

RIP sait maintenant indiquer


le masque des rseaux quil annonce.

Va-t-il toujours annoncer le vrai masque ?


NON !
eLearnCisco 2010 40
Annoncer le vrai masque
configure terminal
router rip
version 2
no auto-summary

eLearnCisco 2010 41
Vrifier Version 2
R1#sh ip protocols
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 30 seconds, next due in 29 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Redistributing: rip
Default version control: send version 2, receive version 2
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 2 2
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
11.0.0.0
Routing Information Sources:
Gateway Distance Last Update
11.0.0.2 120 00:21:28
10.0.4.2 120 00:14:30
12.0.0.2 120 04:29:01
Distance: (default is 120)

eLearnCisco 2010 42
Vrifier no auto-summary
R1#sh ip protocols
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 30 seconds, next due in 29 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Redistributing: rip
Default version control: send version 2, receive version 2
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 2 2
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
11.0.0.0
Routing Information Sources:
Gateway Distance Last Update
11.0.0.2 120 00:21:28
10.0.4.2 120 00:14:30
12.0.0.2 120 04:29:01
Distance: (default is 120)

eLearnCisco 2010 43
Vrifier lutilisation du multicast
R1#debug ip rip
RIP protocol debugging is on
R1#
R1#
*Mar 1 04:38:54.874: RIP: sending v2 update to 224.0.0.9 via
FastEthernet0/0 (10.0.4.1)
*Mar 1 04:38:54.878: RIP: build update entries
*Mar 1 04:38:54.878: 10.0.1.0/24 via 0.0.0.0, metric 1, tag 0
*Mar 1 04:38:54.882: 10.0.2.0/24 via 0.0.0.0, metric 1, tag 0
*Mar 1 04:38:54.886: 10.0.3.0/24 via 0.0.0.0, metric 1, tag 0
R1#
R1#
R1#

eLearnCisco 2010 44
Vrifier lannonce des masque
R1#debug ip rip
RIP protocol debugging is on
R1#
R1#
*Mar 1 04:38:54.874: RIP: sending v2 update to 224.0.0.9 via
FastEthernet0/0 (10.0.4.1)
*Mar 1 04:38:54.878: RIP: build update entries
*Mar 1 04:38:54.878: 10.0.1.0/24 via 0.0.0.0, metric 1, tag 0
*Mar 1 04:38:54.882: 10.0.2.0/24 via 0.0.0.0, metric 1, tag 0
*Mar 1 04:38:54.886: 10.0.3.0/24 via 0.0.0.0, metric 1, tag 0
R1#
R1#
R1#

eLearnCisco 2010 45
Authentification
Deux modes :
mot de passe envoy en clair
mot de passe utilis pour gnrer un MD5

Deux tapes :
Crer un trousseau de clefs
chaque clef correspond un mot de passe
Appliquer le trousseau une interface

eLearnCisco 2010 46
Authentification en clair
Le mot de passe est TOTO :

configure terminal
key chain MON_TROUSSEAU
key 1
key-string TOTO
interface fa0/0
ip rip authentication mode text
ip rip authentication key MON_TROUSSEAU

eLearnCisco 2010 47
Authentification en MD5
Le mot de passe est TOTO :

configure terminal
key chain MON_TROUSSEAU
key 1
key-string TOTO
interface fa0/0
ip rip authentication mode MD5
ip rip authentication key MON_TROUSSEAU

eLearnCisco 2010 48
Vrifier lauthentification
R1#sh ip protocols
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 30 seconds, next due in 29 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Redistributing: rip
Default version control: send version 2, receive version 2
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 2 2 MON_TROUSSEAU
Automatic network summarization is not in effect
Maximum path: 4
Routing for Networks:
11.0.0.0
Routing Information Sources:
Gateway Distance Last Update
11.0.0.2 120 00:21:28
10.0.4.2 120 00:14:30
12.0.0.2 120 04:29:01
Distance: (default is 120)

eLearnCisco 2010 49
Sans summarization
rseau A
192.168.0.0 /25
rseau B
192.168.0.128 /25
R1 envoie 2 annonces :
une pour chacun des 2
192.168.0.0/25
en 1 hop
sous-rseaux.
Fa0/0
R1 192.168.0.128/25
en 1 hop

eLearnCisco 2010 50
Avec summarization
rseau A
192.168.0.0 /25
rseau B
192.168.0.128 /25
R1 nenvoie plus quune
seul annonce.

Fa0/0 192.168.0.0/24
R1 en 1 hop

configure terminal
interface fa0/0
ip summary-address rip 192.168.0.0 255.255.255.0

eLearnCisco 2010 51
Vrifier la summarization
R1#sh ip protocols
Routing Protocol is "rip"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Sending updates every 30 seconds, next due in 29 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Redistributing: rip
Default version control: send version 2, receive version 2
Interface Send Recv Triggered RIP Key-chain
FastEthernet0/0 2 2 MON_TROUSSEAU
Automatic network summarization is not in effect
Address Summarization:
192.168.0.0/24 for FastEthernet0/0
Maximum path: 4
Routing for Networks:
11.0.0.0
Routing Information Sources:
Gateway Distance Last Update
11.0.0.2 120 00:21:28
10.0.4.2 120 00:14:30
12.0.0.2 120 04:29:01
Distance: (default is 120)

eLearnCisco 2010 52

Vous aimerez peut-être aussi