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
Router1(config-rtr)#
RIP_PROC
exit
Router1(config)#interface
Router1(config-if)#
FastEthernet0/0
ipv6 address
Router1(config-if)#
AAAA:5:1/64
ipv6 rip
RIP_PROC
enable
Router1(config-if)#exit
Router1(config)#interface
Router1(config-if)#
Serial0/0
ipv6 address
Router1(config-if)#
AAAA:1:2/64
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 ...
Get Cisco IOS Cookbook, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.