RIPng Configuration
RIPng overview
RIPng is a dynamic routing protocol that is suitable for small, homogenous IPv6 networks. It is classified as an interior gateway protocol (IGP) and employs the distance-vector routing algorithm. RIPng determines the best path by counting the hops to the destination. The maximum hop count is 15 (16 is considered an infinite distance), making RIPng less suitable for large networks. RIPng is an extension of RIP version 2 for IPv6.
Supported standards
The vRouter implementation of RIPng complies with the following standards:
- RFC 2080: RIPng for IPv6
- RFC 2081: RIPng Protocol Applicability Statement
Configuring RIPng
This section presents the following topics:
- Enable forwarding on R1 and R2
- Enable RIPng on an interface
- Advertise connected networks
- Confirm visibility of remote networks
This section presents an example configuration of RIPng. The configuration example is based on the reference diagram in the following figure. This example shows the configuration of the nodes by using dynamic IPv6 routing with RIPng to enable R3 and R4 to communicate through R1 and R2.
Enabling forwarding on R1 and R2
For R1 to pass data between the dp0p1p1 and dp0p1p3 interfaces and R2 to pass data between the dp0p1p1 and dp0p1p2 interfaces, R1 and R2 must be configured to enable forwarding. To enable forwarding on R1, perform the following step in configuration mode.
Step | Command |
---|---|
Enable forwarding on R1. |
|
Commit the change. |
|
To enable forwarding on R2, perform the following steps in configuration mode.
Step | Command |
---|---|
Enable forwarding on R2. |
|
Commit the change. |
|
Enabling RIPng on an interface
To allow dynamic routing by using RIPng, RIPng must be enabled on the interfaces that are to use it. To enable RIPng on R1, perform the following steps in configuration mode.
Step | Command |
---|---|
Enable RIPng on dp0p1p1. |
|
Enable RIPng on dp0p1p3. |
|
Commit the change. |
|
Change to operational mode. |
|
Verify the status of RIPng. |
|
Display information for RIPng interfaces. |
|
Advertising connected networks
The redistribute command is then used to advertise the connected networks. To advertise connected networks on R1, perform the following steps in configuration mode.
Step | Command |
---|---|
Advertise connected networks through RIPng. |
|
Commit the change. |
|
Verify the redistribution. |
|
Confirming visibility of remote networks
After enabling RIPng on the other interfaces of R2, R3, and R4 and advertising connected networks on R2, check the routing table of R4 to verify that it has learned the network. To confirm visibility of remote networks on R4, perform the following step in operational mode.
Step | Command |
---|---|
Trace the route from R2 to R4. |
|
The R in the first column indicates that two routes have been learned from RIPng. Because a route now exists for 2001:db8:3::/64, R3 can be pinged. To confirm connectivity, perform the following steps in operational mode.
Step | Command |
---|---|
Ping R3 from R4. |
|
Display the RIPng status. |
|