R2511-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V5)
37
P - Permanent, A - Aging, S - Suppressed, G - Garbage-collect
----------------------------------------------------------------------------
Peer 1.1.1.2 on Ethernet1/1
Destination/Mask Nexthop Cost Tag Flags Sec
10.0.0.0/8 1.1.1.2 1 0 RA 87
10.1.1.0/24 1.1.1.2 1 0 RA 19
10.2.1.0/24 1.1.1.2 1 0 RA 19
The output shows that RIPv2 uses classless subnet mask.
NOTE:
A
fter RIPv2 is confi
g
ured, RIPv1 routes might still exist in the routing table until they are aged out.
Configuring RIP route redistribution
Network requirements
As shown in Figure 6, Router B communicates with Router A through RIP 100 and with Router C through
RIP 200.
Configure RIP 200 to redistribute direct routes and routes from RIP 100 on Router B so Router C can learn
routes destined for 10.2.1.0/24 and 11.1.1.0 / 24 . Ro u t e r A c a n n o t l e a rn r o u t e s d e s t i n e d f o r 12.3 .1.0 / 24
and 16.4.1.0/24.
Configure Router B to not advertise route 10.2.1.1/24 to Router C.
Figure 6 Network diagram
Configuration procedure
1. Configure IP addresses for interfaces. (Details not shown.)
2. Configure basic RIP basic functions:
# Enable RIP 100, and configure a RIPv2 on Router A.
<RouterA> system-view
[RouterA] rip 100
[RouterA-rip-100] network 10.0.0.0
[RouterA-rip-100] network 11.0.0.0
[RouterA-rip-100] version 2
[RouterA-rip-100] undo summary
[RouterA-rip-100] quit
# Enable RIP 100 and RIP 200, configure RIPv2 on Router B.
<RouterB> system-view
[RouterB] rip 100
[RouterB-rip-100] network 11.0.0.0
[RouterB-rip-100] version 2










