SOURCECODEBD.NET

Live Experience

Juniper Configuring RIP for IPv6
 
You want to add a JUNOS router running RIP to your IPv6 network.
The configuration for the IPv6 version of RIP, called RIPng, is basically the same as for the IPv4 version of RIP. RIPng has a separate configuration hierarchy:
 
[edit protocols ripng]
source@RouterH# set group v6-RIP-GROUP neighbor  t1-4/0/0.0 
source@RouterH# set group v6-RIP-GROUP neighbor  fe-1/0/1.0 
 
You also need to configure the interfaces to support IPv6 traffic:
 
[edit interfaces]
source@RouterH# set t1-r/0/0 unit 0 family inet6
source@RouterH# set fe-1/0/1 unit 0 family inet6
 
To have the router advertise RIPng routes to its neighbors, configure a routing policy and apply it to the RIPng group:
 
[edit policy-options]
source@RouterH# set policy-statement Advertise-RIP-Routes term 1 from protocol direct
source@RouterH# set policy-statement Advertise-RIP-Routes term 1 from protocol rip
source@RouterH# set policy-statement Advertise-RIP-Routes term 1 then accept
 
[edit protocols ripng]
source@RouterH# set group v6-RIP-GROUP neighbor export Advertise-RIP-Routes
 
JUNOS RIPng configuration for IPv6 networks is almost identical to the IPv4 RIP configure configuration. You configure the protocol with set ripng commands instead of set rip commands and use show ripng commands instead of show rip commands to check the RIP status. Also, make sure to set the IPv6 address with the inet6 family on the interfaces running RIPng and on the loopback interface, lo0.
 
To have RIPng advertise its RIPng routes, you create a routing policy as you did with RIPv4. This recipe uses the same policy configured in Recipe 10.2.
 
To check that the RIPng configuration is working and the router knows about its neighbors, use the show ripng neighbor command:
 
source@RouterG> show ripng neighbor
                    Source                       Dest In
Neighbor     State  Address                      Address Send Recv Met
--------     -----  -------                      ------- ---- ---- ---
fe-1/0/1.0      Up fe80::205:85ff:fec2:2ef5      ff02::9 yes yes   1
t1-4/0/0.0      Up fe80::205:85ff:fec2:2ed0      ff02::9 yes yes   1
 
This output shows the two configured RIPng interfaces. The first column shows the interface that connects to the neighbor, and the second column shows that the neighbor is operational, or Up, and is listening to RIPng traffic. The Send and Recv columns indicate that the router is both sending RIPng packets to and receiving packets from its neighbors. The last column shows the inbound metric, which is how many hops away the neighbor is. Here, each neighbor is directly connected and is one hop away, so the inbound metrics are 1. The metric value is included in the RIPng route to that neighbor that is placed in the routing table.
 
Check that the router has learned RIPng routes:
 
source@RouterG> show route table inet6 protocol ripng
 
Finally, verify that RIPng is sending protocol updates to and receiving updates from its neighbors:
 
source@RouterG> show ripng statistics
 
You are here: Home / RIP / Juniper Configuring RIP for IPv6