28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Solution<br />

The configuration for the IPv6 version of RIP, called RIPng, is basically the same as<br />

for the IPv4 version of RIP. RIPng has a separate configuration hierarchy:<br />

[edit protocols ripng]<br />

aviva@RouterH# set group v6-rip-group neighbor t1-4/0/0.0<br />

aviva@RouterH# set group v6-rip-group neighbor fe-1/0/1.0<br />

You also need to configure the interfaces to support IPv6 traffic:<br />

[edit interfaces]<br />

aviva@RouterH# set t1-r/0/0 unit 0 family inet6<br />

aviva@RouterH# set fe-1/0/1 unit 0 family inet6<br />

To have the router advertise RIPng routes to its neighbors, configure a routing policy<br />

and apply it to the RIPng group:<br />

[edit policy-options]<br />

aviva@RouterH# set policy-statement advertise-rip-routes term 1 from protocol direct<br />

aviva@RouterH# set policy-statement advertise-rip-routes term 1 from protocol rip<br />

aviva@RouterH# set policy-statement advertise-rip-routes term 1 then accept<br />

[edit protocols ripng]<br />

aviva@RouterH# set group v6-rip-group neighbor export advertise-rip-routes<br />

<strong>Discussion</strong><br />

JUNOS RIPng configuration for IPv6 networks is almost identical to the IPv4 RIP configure<br />

configuration. You configure the protocol with set ripng commands instead of<br />

set rip commands and use show ripng commands instead of show rip commands to<br />

check the RIP status. Also, make sure to set the IPv6 address with the inet6 family<br />

on the interfaces running RIPng and on the loopback interface, lo0.<br />

To have RIPng advertise its RIPng routes, you create a routing policy as you did with<br />

RIPv4. This recipe uses the same policy configured in Recipe 10.2.<br />

To check that the RIPng configuration is working and the router knows about its<br />

neighbors, use the show ripng neighbor command:<br />

aviva@RouterG> show ripng neighbor<br />

Source Dest In<br />

Neighbor State Address Address Send Recv Met<br />

-------- ----- ------- ------- ---- ---- ---<br />

fe-1/0/1.0 Up fe80::205:85ff:fec2:2ef5 ff02::9 yes yes 1<br />

t1-4/0/0.0 Up fe80::205:85ff:fec2:2ed0 ff02::9 yes yes 1<br />

This output shows the two configured RIPng interfaces. The first column shows the<br />

interface that connects to the neighbor, and the second column shows that the neighbor<br />

is operational, or Up, and is listening to RIPng traffic. The Send and Recv columns<br />

indicate that the router is both sending RIPng packets to and receiving packets from<br />

its neighbors. The last column shows the inbound metric, which is how many hops<br />

away the neighbor is. Here, each neighbor is directly connected and is one hop away,<br />

340 | Chapter 10: RIP<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!