RIPv 2 Routing Protocols and Concepts Chapter 7




















- Slides: 20

RIPv 2 Routing Protocols and Concepts – Chapter 7 ITE PC v 4. 0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 1

Objectives § Limitations of RIPv 1 § RIPv 2 configuration commands § RIPv 2 classless routing updates § RIPv 2 support for VLSM (Variable Length Subnet Masking) and CIDR (Classless Inter-Domain Routing) § RIPv 2 verification

Introduction Differences between RIPv 1 & RIPv 2 § RIPv 1 • 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 • Does not support authentication § RIPv 2 • 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 RIPv 1 & RIPv 2

Introduction § Similarities between RIPv 1 & RIPv 2 • 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

RIPv 1 Limitations § RIPv 1 § 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

CIDR (Classless Inter-Domain Routing) Classful Routing musí zachovávat rozměry sítí tak, jak jsou dány jejich třídami. Classless Routing tím není vázáno. VLSM (Variable Length Subnet Masking) umožňuje dělení sítí na podsítě tak, že každá podsíť může mít jinou velikost. Řezník (poskytovatel) nám podle CIDR prodá kus masa, které si pak podle VLSM můžeme rozdělit na libovolné kousky.

RIPv 1 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 R 2 zapíšeme statickou cestu 192. 168. 0. 0/16 vedoucí do všech těchto sítí, R 2 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 RIPv 2 § RIPv 1 & RIPv 2 Message Formats RIPv 2 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 RIPv 2 Proti RIPv 1 je tady navíc řádek version 2

Configuring RIPv 2 § Auto-Summary & RIPv 2 § RIPv 2 will automatically summarize routes at major network Default chování je, že RIPv 2 dělá Auto-Summary stejně jako RIPv 1. Např. R 1 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 RIPv 2 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 RIPv 2 Verifying RIPv 2 Updates § When using RIPv 2 with automatic summarization turned off each subnet and mask has its own specific entry Když RIPv 2 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 is a bunch of contiguous classful networks that is addressed as a single network.

VLSM & CIDR pod RIPv 2 umí inteligentně sdružovat sítě do nadsítí tak, že se ušetří místo i čas. R 1 dostal informaci o skupině sítí vpravo nahoře jako informaci o jediné nadsíti, která jim je společná.

Verifying & Troubleshooting RIPv 2 § 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 RIPv 2 § Commands used to verify properation of RIPv 2 –Show ip interfaces brief –Show ip protocols –Debug ip rip –Show ip route Příkazy k ověření funkce RIPv 2

Verifying & Troubleshooting RIPv 2 § Common RIPv 2 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 Hold. Down Timers Use of Split Horizon or Split Horizon w/ Poison Reverse Max Hop count = 15 Auto Summary Support CIDR Supports VLSM Uses Authentication RIPv 1 Yes No Yes Yes No No No RIPv 2 Yes Yes Yes

ITE PC v 4. 0 Chapter 1 © 2007 Cisco Systems, Inc. All rights reserved. Cisco Public 20