F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Configuration Guide-6PW100
362
[RouterB] rip
[RouterB-rip-1] version 2
[RouterB-rip-1] undo summary
# Display the RIP routing table on Router A.
[RouterA] display rip 1 route
Route Flags: R - RIP, T - TRIP
P - Permanent, A - Aging, S - Suppressed, G - Garbage-collect
----------------------------------------------------------------------------
Peer 1.1.1.2 on GigabitEthernet0/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.
638BRIP route redistribution configuration example
1374BNetwork requirements
As shown in 2554HFigure 251, Firewall communicates with Router A through RIP 100 and with Router B through
RIP 200.
Configure RIP 200 to redistribute direct routes and routes from RIP 100 on Firewall so Router B 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 r n 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 Firewall to not advertise route 10.2.1.1/24 to Router B.
Figure 251 Network diagram
1375BConfiguration procedure
1. Configure IP addresses for interfaces. (Details not shown.)
2. Configure basic RIP:
# Enable RIP 100, and configure 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