RIPng can be used as a PE-CE routing protocol and it's configuration is laid out below. IOS XR does not support RIPng so we will only look at IOS for this example.
CSR1
ipv6 rip vrf-mode enable
!
ipv6 router rip RIPNG
!
address-family ipv6 vrf C1
redistribute bgp 100
exit-address-family
!
router bgp 100
address-family ipv6 vrf C1
redistribute rip RIPNG include-connected
exit-address-family
!
interface GigabitEthernet4
ipv6 rip RIPNG enable
CSR5
ipv6 rip vrf-mode enable
!
ipv6 router rip RIPNG
!
address-family ipv6 vrf C1
redistribute bgp 100
exit-address-family
!
router bgp 100
address-family ipv6 vrf C1
redistribute rip RIPNG include-connected
exit-address-family
!
interface GigabitEthernet2
ipv6 rip RIPNG enable
CSR8
interface GigabitEthernet3
ipv6 rip RIPNG enable
!
interface Loopback101
ipv6 rip RIPNG enable
IOS18
interface GigabitEthernet0/0
ipv6 rip RIPNG enable
!
interface Loopback0
ipv6 rip RIPNG enable
IOS18#show ipv6 route rip
IPv6 Routing Table - default - 6 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP
H - NHRP, I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea
IS - ISIS summary, D - EIGRP, EX - EIGRP external, NM - NEMO
ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect
RL - RPL, O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1
OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
la - LISP alt, lr - LISP site-registrations, ld - LISP dyn-eid
lA - LISP away, a - Application
R 10:101:8::8/128 [120/3]
via FE80::5200:FF:FE05:1, GigabitEthernet0/0
R 101:1:8::/64 [120/2]
via FE80::5200:FF:FE05:1, GigabitEthernet0/0
CSR8#show ipv6 route rip
IPv6 Routing Table - default - 14 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, R - RIP, H - NHRP, I1 - ISIS L1
I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
EX - EIGRP external, ND - ND Default, NDp - ND Prefix, DCE - Destination
NDr - Redirect, RL - RPL, O - OSPF Intra, OI - OSPF Inter
OE1 - OSPF ext 1, OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1
ON2 - OSPF NSSA ext 2, la - LISP alt, lr - LISP site-registrations
ld - LISP dyn-eid, a - Application
R 10:101:18::18/128 [120/3]
via FE80::5200:FF:FE01:3, GigabitEthernet3
CSR8#ping 10:101:18::18 source loopback 101
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10:101:18::18, timeout is 2 seconds:
Packet sent with a source address of 10:101:8::8
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 17/27/52 ms
CSR8#traceroute
Protocol [ip]: ipv6
Target IPv6 address: 10:101:18::18
Source address: 10:101:8::8
Insert source routing header? [no]:
Numeric display? [no]: y
Timeout in seconds [3]:
Probe count [3]:
Minimum Time to Live [1]:
Maximum Time to Live [30]:
Priority [0]:
Port Number [0]:
Type escape sequence to abort.
Tracing the route to 10:101:18::18
1 101:1:8::1 14 msec 7 msec 13 msec
2 ::FFFF:10.1.3.3 [MPLS: Labels 29/38 Exp 0] 25 msec 19 msec 18 msec
3 101:5:18::5 [MPLS: Label 38 Exp 0] 16 msec 21 msec 21 msec
4 101:5:18::18 37 msec 19 msec 21 msec
CSR1
ipv6 rip vrf-mode enable
!
ipv6 router rip RIPNG
!
address-family ipv6 vrf C1
redistribute bgp 100
exit-address-family
!
router bgp 100
address-family ipv6 vrf C1
redistribute rip RIPNG include-connected
exit-address-family
!
interface GigabitEthernet4
ipv6 rip RIPNG enable
CSR5
ipv6 rip vrf-mode enable
!
ipv6 router rip RIPNG
!
address-family ipv6 vrf C1
redistribute bgp 100
exit-address-family
!
router bgp 100
address-family ipv6 vrf C1
redistribute rip RIPNG include-connected
exit-address-family
!
interface GigabitEthernet2
ipv6 rip RIPNG enable
CSR8
interface GigabitEthernet3
ipv6 rip RIPNG enable
!
interface Loopback101
ipv6 rip RIPNG enable
IOS18
interface GigabitEthernet0/0
ipv6 rip RIPNG enable
!
interface Loopback0
ipv6 rip RIPNG enable
IOS18#show ipv6 route rip
IPv6 Routing Table - default - 6 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, HA - Home Agent, MR - Mobile Router, R - RIP
H - NHRP, I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea
IS - ISIS summary, D - EIGRP, EX - EIGRP external, NM - NEMO
ND - ND Default, NDp - ND Prefix, DCE - Destination, NDr - Redirect
RL - RPL, O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1
OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
la - LISP alt, lr - LISP site-registrations, ld - LISP dyn-eid
lA - LISP away, a - Application
R 10:101:8::8/128 [120/3]
via FE80::5200:FF:FE05:1, GigabitEthernet0/0
R 101:1:8::/64 [120/2]
via FE80::5200:FF:FE05:1, GigabitEthernet0/0
CSR8#show ipv6 route rip
IPv6 Routing Table - default - 14 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, R - RIP, H - NHRP, I1 - ISIS L1
I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
EX - EIGRP external, ND - ND Default, NDp - ND Prefix, DCE - Destination
NDr - Redirect, RL - RPL, O - OSPF Intra, OI - OSPF Inter
OE1 - OSPF ext 1, OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1
ON2 - OSPF NSSA ext 2, la - LISP alt, lr - LISP site-registrations
ld - LISP dyn-eid, a - Application
R 10:101:18::18/128 [120/3]
via FE80::5200:FF:FE01:3, GigabitEthernet3
CSR8#ping 10:101:18::18 source loopback 101
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10:101:18::18, timeout is 2 seconds:
Packet sent with a source address of 10:101:8::8
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 17/27/52 ms
CSR8#traceroute
Protocol [ip]: ipv6
Target IPv6 address: 10:101:18::18
Source address: 10:101:8::8
Insert source routing header? [no]:
Numeric display? [no]: y
Timeout in seconds [3]:
Probe count [3]:
Minimum Time to Live [1]:
Maximum Time to Live [30]:
Priority [0]:
Port Number [0]:
Type escape sequence to abort.
Tracing the route to 10:101:18::18
1 101:1:8::1 14 msec 7 msec 13 msec
2 ::FFFF:10.1.3.3 [MPLS: Labels 29/38 Exp 0] 25 msec 19 msec 18 msec
3 101:5:18::5 [MPLS: Label 38 Exp 0] 16 msec 21 msec 21 msec
4 101:5:18::18 37 msec 19 msec 21 msec