Cisco RIPng (IPv6 RIP)

This tutorial will show you how to configure basic IPv6 RIP on Cisco router, or normally we called it as RIPng. As usual, I’m simulating this lab topology using GNS3 (v1.3.13) on my favourite “weapon”. Please refer to the following topology and the step-by-step configuration:

TOPOLOGY

RIPng

CONFIGURATION

  • R1 Configuration
hostname R1
!
ipv6 unicast-routing
!
interface Loopback0
 no ip address
 ipv6 address 1111:1:1:1::1/128
 ipv6 rip RIPng1 enable
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
 ipv6 address 1012:12:12:12::1/64
 ipv6 rip RIPng1 enable
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 ipv6 address 1013:13:13:13::1/64
 ipv6 rip RIPng1 enable
!
ipv6 router rip RIPng1
!
end
  • R2 Configuration
hostname R2
!
ipv6 unicast-routing
!
interface Loopback0
 no ip address
 ipv6 address 2222:2:2:2::1/128
 ipv6 rip RIPng1 enable
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
 ipv6 address 1012:12:12:12::2/64
 ipv6 rip RIPng1 enable
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 ipv6 address 1023:23:23:23::2/64
 ipv6 rip RIPng1 enable
!
ipv6 router rip RIPng1
!
end
  • R3 Configuration
hostname R3
!
ipv6 unicast-routing
!
interface Loopback0
 no ip address
 ipv6 address 3333:3:3:3::1/128
 ipv6 rip RIPng1 enable
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
 ipv6 address 1013:13:13:13::3/64
 ipv6 rip RIPng1 enable
!
interface FastEthernet0/1
 no ip address
 duplex auto
 speed auto
 ipv6 address 1023:23:23:23::3/64
 ipv6 rip RIPng1 enable
!
ipv6 router rip RIPng1
!
end

VERIFICATION

For basic checking, we can use ping tools from R1 to Loopback interface of R2 and R3. As captured below:

R1#ping 2222:2:2:2::1 source loopback 0

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2222:2:2:2::1, timeout is 2 seconds:
Packet sent with a source address of 1111:1:1:1::1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/40/68 ms
R1#
R1#
R1#
R1#ping 3333:3:3:3::1 source loopback 0

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 3333:3:3:3::1, timeout is 2 seconds:
Packet sent with a source address of 1111:1:1:1::1
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/39/64 ms

In some cases, the ping maybe not responding then we should check the routing table using this command:

R1#show ipv6 route rip
IPv6 Routing Table - 10 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
 U - Per-user Static route
 I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
 O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
 ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
R 1023:23:23:23::/64 [120/2]
 via FE80::C203:1EFF:FE08:0, FastEthernet0/1
 via FE80::C202:8FF:FED0:0, FastEthernet0/0
R 2222:2:2:2::1/128 [120/2]
 via FE80::C202:8FF:FED0:0, FastEthernet0/0
R 3333:3:3:3::1/128 [120/2]
 via FE80::C203:1EFF:FE08:0, FastEthernet0/1

Those network prefixes are learned from RIPng. The other way to check whether the prefixes are exist in routing, we should check the RIPng database:

R1#show ipv6 rip database
RIP process "RIPng1", local RIB
 1012:12:12:12::/64, metric 2
  FastEthernet0/0/FE80::C202:8FF:FED0:0, expires in 160 secs
 1013:13:13:13::/64, metric 2
  FastEthernet0/1/FE80::C203:1EFF:FE08:0, expires in 166 secs
 1023:23:23:23::/64, metric 2, installed
  FastEthernet0/0/FE80::C202:8FF:FED0:0, expires in 160 secs
  FastEthernet0/1/FE80::C203:1EFF:FE08:0, expires in 166 secs
 2222:2:2:2::1/128, metric 2, installed
  FastEthernet0/0/FE80::C202:8FF:FED0:0, expires in 160 secs
 3333:3:3:3::1/128, metric 2, installed
  FastEthernet0/1/FE80::C203:1EFF:FE08:0, expires in 166 secs

Last but not least, we can check the status of RIPng now by enter this command:

R1#show ipv6 rip RIPng1
RIP process "RIPng1", port 521, multicast-group FF02::9, pid 212
 Administrative distance is 120. Maximum paths is 16
 Updates every 30 seconds, expire after 180
 Holddown lasts 0 seconds, garbage collect after 120
 Split horizon is on; poison reverse is off
 Default routes are not generated
 Periodic updates 48, trigger updates 1
 Interfaces:
  FastEthernet0/1
  FastEthernet0/0
  Loopback0
 Redistribution:
  None
Advertisements