Configuring rip route redistribution, Network requirements – H3C Technologies H3C SR8800 User Manual

Page 59

Advertising
background image

43

[RouterB] rip

[RouterB-rip-1] network 1.0.0.0

[RouterB-rip-1] network 10.0.0.0

# 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 GigabitEthernet1/1/1

Destination/Mask Nexthop Cost Tag Flags Sec

10.0.0.0/8 1.1.1.2 1 0 RA 9

The output shows that RIPv1 uses natural mask to advertise routing information.

3.

Configure a RIP version:
# Configure RIPv2 on Router A.

[RouterA] rip

[RouterA-rip-1] version 2

[RouterA-rip-1] undo summary

# Configure RIPv2 on Router B.

[RouterB] rip

[RouterB-rip-1] version 2

[RouterB-rip-1] undo summary

# Display the RIP routing table of 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 GigabitEthernet1/1/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:

Because RIPv1 routing information has a long aging time, it will still exist before being aged out after RIPv2
is configured.

Configuring RIP route redistribution

Network requirements

As shown in the following figure:

Two RIP processes are running on Router B, which 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. Router C can

then learn routes destined for 10.2.1.0/24 and 11.1.1.0/24, and Router A cannot learn routes
destined for 12.3.1.0/24 and 16.4.1.0/24.

Advertising