- Definition
- Router Information Protocol A Distance Vector Router Protocol (see below) V1 is classful (messages sent to 255.255.255.255) V2 is classless (messages sent to 224.0.0.9)
Dynamic Routing
Is the process when 2 routers share:
- networks
- remote networks
- remote routes
- routes to remote destinations
automatically.
There are 2 types of dynamic routing protocols.
RIP Versions
- Version 1
- is only classful
- subnet mask information is not carryed within the update process
Lab
Exchange routing information between R201
, R1
and R2
.
r201
Previously erased static routes (because AD = 1).
- Network statement
- Defines a list/range of address If an IP address is within that address, then the interface to which the IP belongs is included into RIP
<!– –>
|
|
Show routes:
|
|
or
|
|
[120/2]
:
- 120: Administrative Distance (AD)
- 2: Metric (only 2 hops away from
R1
Show protocols:
|
|
r1
Has 2 interfaces:
- serial link
- fast ethernet
<!– –>
|
|
Debug RIP:
|
|
r2
|
|
Switch to RIP v2
|
|
Now you should not be able to see any classes of IP address but the right classes (/24 etc.)
Eventhough v2 has been enabled, v2 shows the bigger network class (auto-summary by default).
Turn of auto-summary
|
|
Remove RIP
|
|