2e_07_rip_v2

Download Report

Transcript 2e_07_rip_v2

RIPv2
Routing Protocols and
Concepts – Chapter 7
ITE PC v4.0
Chapter 1
© 2007 Cisco Systems, Inc. All rights reserved.
Cisco Public
1
Objectives
 Limitations of RIPv1
 RIPv2 configuration commands
 RIPv2 classless routing updates
 RIPv2 support for VLSM and CIDR
 RIPv2 verification
Introduction
Differences between RIPv1 & RIPv2
 RIPv1
• A classful distance vector routing protocol
• Does not support discontiguous subnets
• Does not support CIDR and VLSM
• Does not send subnet mask in routing update
• Routing updates are broadcast on 255.255.255.255
• Does not support authentication
 RIPv2
• A classless distance vector routing protocol
• Next hop address is included in updates
• Routing updates are multicast: 224.0.0.9
• The use of authentication is an option
Introduction
Differences between RIPv1 & RIPv2
Introduction
 Similarities between RIPv1 & RIPv2
•
Use of timers to prevent routing loops
•
Use of split horizon or split horizon with poison reverse
•
Use of triggered updates
•
Maximum hop count of 15
RIPv1 Limitations
 RIPv1
 Subnet masks are not sent in updates
 Summarizes networks at major network boundaries to the
Classful boundary or uses the Subnet mask of the
outgoing interface to determine which subnets to advertise
 In discontiguous network convergence will not be reached
RIPv1 Limitations
 No CIDR Support
Classful routing protocols do
not support CIDR routes that
are summarized with a
smaller mask than the
classful subnet mask
Když do R2 zapíšeme
statickou cestu 192.168.0.0/16
vedoucí do všech těchto sítí,
R2 nebude rozumět a tuto
cestu nebude inzerovat,
protože 192.168.0.0 je pro něj
síť třídy C a jako taková musí mít masku /24.
Configuring RIPv2
 RIPv1 & RIPv2 Message Formats
RIPv2 Message format has 2 extensions
 subnet mask field
 addition of next hop address
Nutné pro VLSM a CIDR
Adresa nejlepší cesty
do té sítě pro případ,
že by existovala lepší
cesta než přes ten
směrovač, který
posílá tuto zprávu.
Configuring RIPv2
Proti RIPv1 je tady
navíc řádek
version 2
Configuring RIPv2
 Auto-Summary & RIPv2
 RIPv2 will automatically
summarize routes at
major network
Default chování je, že
RIPv2 dělá Auto-Summary
stejně jako RIPv1.
Např. R1 nebude inzerovat
dvě sítě 172.30.1.0/24 a
172.30.2.0/24, ale jen jednu
sumarizovanou
172.30.0.0/16.
Řešení: příkaz
no auto-summary
Configuring RIPv2
Příkaz
no auto-summary
Ověření, že auto-summary
bylo vypnuto
Teď už budou údaje o podsítích posílány správně.
Configuring RIPv2
Verifying RIPv2 Updates
 When using RIPv2 with automatic summarization turned off
each subnet and mask has its own specific entry
Když RIPv2 správně funguje a auto-summary je vypnuté, ve
výpisu
show ip route
jsou všechny podsítě a jejich masky hezky vypsány a
rozepsány.
VLSM & CIDR
 CIDR uses Supernetting
Supernetting is a bunch of contiguous classful
networks that is addressed as a single
network.
VLSM & CIDR
CIDR pod RIPv2 umí inteligentně sdružovat sítě do nadsítí tak,
že se ušetří místo i čas.
R1 dostal informaci o
skupině sítí vpravo
nahoře jako informaci o
jediné nadsíti, která jim
je společná.
Verifying & Troubleshooting RIPv2
 Basic Troubleshooting steps
-Check the status of all links
-Check cabling
-Check IP address & subnet mask configuration
-Remove any unneeded configuration commands
Kroky při hledání závad
• Zkontrolovat stav všech linek
• Zkontrolovat kabely
• Zkontrolovat IP adresy a masky
• Vyhodit veškeré zbytečné konfigurační příkazy
Verifying & Troubleshooting RIPv2
 Commands used to verify proper operation of RIPv2
–Show ip interfaces brief
–Show ip protocols
–Debug ip rip
–Show ip route
Příkazy k ověření funkce RIPv2
Verifying & Troubleshooting RIPv2
 Common RIPv2 Issues
 Version: Check to make sure you are using version 2
 Network statements: Network statements may be incorrect or
missing
 Automatic summarization: Disable automatic summarization
Summary
Routing
Protocol
Distance
Vector
Classless
Routing
Protocol
Uses
HoldDown
Timers
Use of
Split
Horizon
or
Split
Horizon
w/
Poison
Reverse
Max
Hop
count
= 15
Auto
Summary
Support
CIDR
Supports
VLSM
Uses
Authentication
RIPv1
Yes
No
Yes
Yes
Yes
Yes
No
No
No
RIPv2
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
ITE PC v4.0
Chapter 1
© 2007 Cisco Systems, Inc. All rights reserved.
Cisco Public
19