Search

How to configure RIPng (RIP for IPv6) Routing Protocol in Cisco Routers

Here in this lesson, we will learn basic RIPng (RIP for IPv6) Routing Protocol configuration in a small network consisting of three Cisco Routers, three Layer 2 Switches and three computers. If you remember the RIP configuration for IPv4, the networks are added using the "network" statements under RIP router configuration mode.

In RIPng, the configuration is entirely different. To declare a RIPng process name, use we use "ipv6 router rip <process_name>" Cisco IOS command from the global configuration mode. RIPng uses the interface configuration mode command "ipv6 rip <process_name> enable" to add an interface to a RIPng process.

OSPFv3 IPv6 configuration in cisco router

IPv6 address configuration in Router OmniSecuR1

OmniSecuR1#configure terminal
OmniSecuR1(config)#interface gigabitEthernet 0/0
OmniSecuR1(config-if)#ipv6 address 2001:db8:0:1::1/64
OmniSecuR1(config-if)#no shutdown
OmniSecuR1(config-if)#exit
OmniSecuR1(config)#interface serial 1/0
OmniSecuR1(config-if)#ipv6 address fe80::1 link-local
OmniSecuR1(config-if)#no shutdown
OmniSecuR1(config-if)#exit
OmniSecuR1(config)#exit
OmniSecuR1#

IPv6 address configuration in Router OmniSecuR2

OmniSecuR2#configure terminal
OmniSecuR2(config)#interface gigabitEthernet 0/0
OmniSecuR2(config-if)#ipv6 address 2001:db8:0:2::1/64
OmniSecuR2(config-if)#no shutdown
OmniSecuR2(config-if)#exit
OmniSecuR2(config)#int serial 1/0
OmniSecuR2(config-if)#ipv6 address fe80::2 link-local
OmniSecuR2(config-if)#no shutdown
OmniSecuR2(config-if)#exit
OmniSecuR2(config)#interface serial 1/1
OmniSecuR2(config-if)#ipv6 address fe80::2 link-local
OmniSecuR2(config-if)#no shutdown
OmniSecuR2(config-if)#exit
OmniSecuR2(config)#exit

IPv6 address configuration in Router OmniSecuR3

OmniSecuR3#configure terminal
OmniSecuR3(config)#interface gigabitEthernet 0/0
OmniSecuR3(config-if)#ipv6 address 2001:db8:0:3::1/64
OmniSecuR3(config-if)#no shutdown
OmniSecuR3(config-if)#exit
OmniSecuR3(config)#interface serial 1/0
OmniSecuR3(config-if)#ipv6 address fe80::3 link-local
OmniSecuR3(config-if)#no shutdown
OmniSecuR3(config-if)#exit
OmniSecuR3(config)#exit
OmniSecuR3#

RIPng Configuration on Router OmniSecuR1

Following Cisco IOS commands can be used to enable IPv6 unicast routing, to declare and start a RIPng process (OmniSecuRIPng) in the Cisco Router OmniSecuR1.

OmniSecuR1#configure terminal
OmniSecuR1(config)#ipv6 unicast-routing
OmniSecuR1(config)#ipv6 router rip OmniSecuRIPng
OmniSecuR1(config-rtr)#exit
OmniSecuR1(config)#exit
OmniSecuR1#

Following Cisco IOS commands can be used to include the interfaces of the Cisco router "OmniSecuR1" in RIPng process (OmniSecuRIPng) created in above step. The associated network of the interface will be announced by RIPng, once you complete this step.

Following steps can be used to add interface Serial 1/0 to RIPng process, "OmniSecuRIPng".

OmniSecuR1#configure terminal
OmniSecuR1(config)#interface serial 1/0
OmniSecuR1(config-if)#ipv6 rip OmniSecuRIPng enable
OmniSecuR1(config-if)#exit
OmniSecuR1(config)#exit
OmniSecuR1#

Following steps can be used to add interface gigabitEthernet 0/0 to RIPng process, "OmniSecuRIPng".

OmniSecuR1#configure terminal
OmniSecuR1(config)#interface gigabitEthernet 0/0
OmniSecuR1(config-if)#ipv6 rip OmniSecuRIPng enable
OmniSecuR1(config-if)#exit
OmniSecuR1(config)#exit
OmniSecuR1#

RIPng Configuration on Router OmniSecuR2

Following Cisco IOS commands can be used to enable IPv6 unicast routing, to declare and start a RIPng process, "OmniSecuRIPng" in the Cisco Router OmniSecuR2.

OmniSecuR2#configure terminal
OmniSecuR2(config)#ipv6 unicast-routing
OmniSecuR2(config)#ipv6 router rip OmniSecuRIPng
OmniSecuR2(config-rtr)#exit
OmniSecuR2(config)#exit
OmniSecuR2#

Following Cisco IOS commands can be used to include the interfaces of the Cisco router "OmniSecuR2" in the RIPng process, "OmniSecuRIPng" created in above step. The associated networks of the interfaces will be announced by the RIPng process, "OmniSecuRIPng", once you complete this step.

Following steps can be used to add interface Serial 1/0 to the RIPng process, "OmniSecuRIPng".

OmniSecuR2#configure terminal
OmniSecuR2(config)#interface serial 1/0
OmniSecuR2(config-if)#ipv6 rip OmniSecuRIPng enable
OmniSecuR2(config-if)#exit
OmniSecuR2(config)#exit
OmniSecuR2#

Following steps can be used to add interface Serial 1/1 to the RIPng process, "OmniSecuRIPng".

OmniSecuR2#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
OmniSecuR2(config)#int
OmniSecuR2(config)#interface se
OmniSecuR2(config)#interface serial 1/1
OmniSecuR2(config-if)#ipv6 rip OmniSecuRIPng enable
OmniSecuR2(config-if)#exit
OmniSecuR2(config)#exit
OmniSecuR2#

Following steps can be used to add interface gigabitEthernet 0/0 to the RIPng process, "OmniSecuRIPng".

OmniSecuR2#configure terminal
OmniSecuR2(config)#interface gigabitEthernet 0/0
OmniSecuR2(config-if)#ipv6 rip OmniSecuRIPng enable
OmniSecuR2(config-if)#exit
OmniSecuR2(config)#exit
OmniSecuR2#

RIPng Configuration on Router OmniSecuR3

Following Cisco IOS commands can be used to enable IPv6 unicast routing, to declare and start the RIPng process, "OmniSecuRIPng" in the Cisco Router OmniSecuR3.

OmniSecuR3#configure terminal
OmniSecuR3(config)#ipv6 unicast-routing
OmniSecuR3(config)#ipv6 router rip OmniSecuRIPng
OmniSecuR3(config-rtr)#exit
OmniSecuR3(config)#exit
OmniSecuR3#

Following Cisco IOS commands can be used to include the interfaces of the Cisco router "OmniSecuR3" in the the RIPng process, "OmniSecuRIPng", created in above step. The associated networks of the interfaces will be announced by the RIPng process, "OmniSecuRIPng", once you complete this step.

Following steps can be used to add interface Serial 1/0 to the RIPng process, "OmniSecuRIPng".

OmniSecuR3#configure terminal
OmniSecuR3(config)#interface serial 1/0
OmniSecuR3(config-if)#ipv6 rip OmniSecuRIPng enable
OmniSecuR3(config-if)#exit
OmniSecuR3(config)#exit
OmniSecuR3#

Following steps can be used to add interface gigabitEthernet 0/0 to the RIPng process, "OmniSecuRIPng".

OmniSecuR3#configure terminal
OmniSecuR3(config)#interface gigabitEthernet 0/0
OmniSecuR3(config-if)#ipv6 rip OmniSecuRIPng enable
OmniSecuR3(config-if)#exit
OmniSecuR3(config)#exit
OmniSecuR3#

To verify the RIPng configurations and to view the IPv6 routing table, use the Cisco IOS show command "show ipv6 route" in Cisco Router "OmniSecuR1" from Cisco IOS privileged mode.

OmniSecuR1#show ipv6 route
IPv6 Routing Table - Default - 5 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, M - MIPv6, R - RIP, I1 - ISIS L1
       I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
       EX - EIGRP external
       O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
       ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
C   2001:DB8:0:1::/64 [0/0]
     via GigabitEthernet0/0, directly connected
L   2001:DB8:0:1::1/128 [0/0]
     via GigabitEthernet0/0, receive
R   2001:DB8:0:2::/64 [120/2]
     via FE80::2, Serial1/0
R   2001:DB8:0:3::/64 [120/3]
     via FE80::2, Serial1/0
L   FF00::/8 [0/0]
     via Null0, receive
Related Tutorials