O'Reilly logo

Cisco IOS Cookbook, 2nd Edition by Ian Brown, Kevin Dooley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Dynamic Routing with RIP

Problem

You want to use the IPv6 version of RIP to distribute your IPv6 routing information.

Solution

Configuring RIP for IPv6 is somewhat different from how it is configured for IPv4. To enable RIP for IPv6, you must create a routing process. and then assign interfaces to this process:

Router1#configure terminal 
Enter configuration commands, one per line. End with CNTL/Z.
Router1(config)#ipv6 unicast-routing
Router1(config)#ipv6 router rip RIP_PROC
Router1(config-rtr)#exit
Router1(config)#interface FastEthernet0/0
Router1(config-if)#ipv6 address AAAA:5:1/64
Router1(config-if)#ipv6 rip RIP_PROC enable
Router1(config-if)#exit
Router1(config)#interface Serial0/0
Router1(config-if)#ipv6 address AAAA:1:2/64
Router1(config-if)#ipv6 rip RIP_PROC enable
Router1(config-if)#frame-relay map ipv6 AAAA:1:3 206 broadcast
Router1(config-if)#exit
Router1(config)#end
Router1#

Discussion

RIP, whether for IPv4 or IPv6, is not one of our favorite protocols. It’s slow to converge, bandwidth intensive, and scales poorly. However, it has a couple of key advantages over other protocols. First, it’s easy to understand and easy to configure. Second, because it’s easy to understand, it’s usually the first protocol to be implemented by programmers. And third, largely because of the second point, it’s available on every router you’ll ever encounter, making it the lowest common denominator of vendor interoperability.

The IPv6 version of RIP is described in RFC 2080. It has more in common ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required