OcNOS-RON : Layer 3 Guide : Virtual Router Redundancy Protocol Configuration Guide : VRRP IPv6 Configuration
VRRP IPv6 Configuration
This chapter contains a Virtual Router Redundancy Protocol IPv6 (VRRPv6) configuration example.
VRRPv6 eliminates the risk of a single point of failure inherent in a static default routing environment. It specifies an election protocol that dynamically assigns responsibility for a virtual router to one of the VRRPv6 routers on a LAN. In this sample, OSPFv3 is enabled on Router 1 (R1), the master router, and the backup router. In R1, the connected routes are redistributed.
Note: IPv6 VRRP can be configured only on a link-local address.
Topology
Topology
Configuration
Owner/Master Router
 
#configure terminal
Enter the Configure mode.
(config)#interface eth0
Enter interface mode for eth0.
(config-if)#ipv6 address
fe80::3037:3aff:fe3a:3a32/64
Configure the IPv6 address for interface eth0 to be in network 0.
(config-if)#exit
Exit interface mode.
(config)#interface eth1
Enter interface mode for eth1.
(config-if)#ipv6 address
fe80::3037:a0ff:fea4:3539/64
Configure the IPv6 address for interface eth1 to be in network 1.
(config-if)#exit
Exit interface mode.
(config)#router ipv6 vrrp 1 eth0
Create a VRRPv6 instance for interface eth0.
(config-router)#virtual-ipv6
fe80::3037:3aff:fe3a:3a32 owner
Configure R1 as the owner.
(config-router)#advertisement-interval 100
Configure the default value for the advertisement interval.
The configurable range is <5-4095> (value must be a multiple of 5).
(config-router)#preempt-mode true
Set true as the default value for the field.
(config-router)#enable
Enable the VRRPv6 session on the router.
(config-router)#exit
Exit Router mode.
Backup Router
 
#configure terminal
Enter the Configure mode.
(config)#interface eth0
Enter interface mode for eth0.
(config-if)#ipv6 address
fe80::3037:3aff:fe3a:3b45/64
Configure the IPv6 address for interface eth0 to be in network 0.
(config-if)#exit
Exit interface mode.
(config)#interface eth1
Enter interface mode for eth1.
(config-if)#ipv6 address
fe80::3037:a0ff:fea4:3a40/64
Configure the IPv6 address for interface eth1 to be in network 1.
(config-if)#exit
Exit interface mode.
(config)#router ipv6 vrrp 1 eth0
Create a VRRPv6 instance for interface eth0.
(config-router)#virtual-ipv6 fe80::3037:3aff:fe3a:3a32
Configure Router 2 (R2) as the backup.
(config-router)#advertisement-interval 100
Configure the default value for the advertisement interval.
The configurable range is <5-4095> (value must be a multiple of 5).
(config-router)#priority 100
Set the default value for the backup router.
(config-router)#preempt-mode true
Set true as the default value for the field.
(config-router)#enable
Enable the VRRPv6 session on the router.
(config-router)#exit
Exit Router mode.
Host A
 
#configure terminal
Enter the Configure mode.
(config)#interface eth0
Enter interface mode for eth0.
(config-if)#ipv6 address
fe80::3037:3aff:fe3a:3a11/64
Configure the IPv6 address for interface eth0 to be in network 0.
(config-if)#exit
Exit interface mode.
(config)#ipv6 route 5ffe:14:14:14::/64
fe80::3037:3aff:fe3a:3a32
Configure a static route to reach interface eth2 of R1 through the virtual IPv6 address.
Router 1
 
#configure terminal
Enter the Configure mode.
(config)#interface eth1
Enter interface mode for eth1.
(config-if)#ipv6 address fe80::3037:a0ff:fea4:1111/64
Configure the IPv6 address for interface eth1 to be in network 1.
(config-if)#exit
Exit interface mode.
(config)#interface eth2
Enter interface mode for eth2.
(config-if)#ipv6 address
fe80::3437:30ff:fe35:a6ac/64
Configure the IPv6 address of interface eth2.
Validation
Master Router
R1#sh vrrp
VRRP Version: 3
VMAC enabled
Backward Compatibility disabled
 
Address family IPv6
VRRP Id: 1 on interface: eth0
State: AdminUp - Master
Virtual IP address: fe80::3037:3aff:fe3a:3a32 (Owner)
Priority is 255
Advertisement interval: 100 centi sec
Master Advertisement interval: 100 centi sec
Skew time: 0 centi sec
Accept mode: FALSE
Preempt mode: TRUE
Multicast membership on IPv6 interface eth0: JOINED
Backup Router
R1#sh vrrp
VRRP Version: 3
VMAC enabled
Backward Compatibility disabled
 
Address family IPv6
VRRP Id: 1 on interface: eth0
State: AdminUp - Backup
Virtual IP address: fe80::3037:3aff:fe3a:3a32 (Not-Owner)
Priority is 100
Advertisement interval: 100 centi sec
Master Advertisement interval: 100 centi sec
Skew time: 0 centi sec
Accept mode: FALSE
Preempt mode: TRUE
Multicast membership on IPv6 interface eth0: JOINED
Ping Output at Host A
[[root@HstA root]#ping ipv6 fe80::3437:30ff:fe35:a6ac
PING fe80::3437:30ff:fe35:a6ac(fe80::3437:30ff:fe35:a6ac) 56 data bytes
64 bytes from fe80::3437:30ff:fe35:a6ac: icmp_seq=1 ttl=63 time=0.398 ms
64 bytes from fe80::3437:30ff:fe35:a6ac: icmp_seq=2 ttl=63 time=0.230 ms
64 bytes from fe80::3437:30ff:fe35:a6ac: icmp_seq=3 ttl=63 time=0.234 ms
64 bytes from fe80::3437:30ff:fe35:a6ac: icmp_seq=4 ttl=63 time=0.230 ms
Disabling the Master
 
#configure terminal
Enter the Configure mode.
(config)#interface eth0
Enter interface mode for eth0.
(config-router)#shutdown
Shut down the interface
Validation
R1#sh vrrp
VRRP Version: 3
VMAC enabled
Backward Compatibility disabled
 
Address family IPv6
VRRP Id: 1 on interface: eth0
State: AdminUp - Init (interface is not running)
Virtual IP address: fe80::3037:3aff:fe3a:3a32 (Owner)
Priority is 255
Advertisement interval: 100 centi sec
Master Advertisement interval: 100 centi sec
Skew time: 0 centi sec
Accept mode: FALSE
Preempt mode: TRUE
Multicast membership on IPv6 interface eth0: LEFT
Backup Router
R1#sh vrrp
VRRP Version: 3
VMAC enabled
Backward Compatibility disabled
 
Address family IPv6
VRRP Id: 1 on interface: eth0
State: AdminUp - Backup
Virtual IP address: fe80::3037:3aff:fe3a:3a32 (Not-Owner)
Priority is 100
Advertisement interval: 100 centi sec
Master Advertisement interval: 100 centi sec
Skew time: 0 centi sec
Accept mode: FALSE
Preempt mode: TRUE
Multicast membership on IPv6 interface eth0: LEFT
Ping Output at Host A
[root@HstA root]#ping ipv6 fe80::3437:30ff:fe35:a6ac
PING fe80::3437:30ff:fe35:a6ac(fe80::3437:30ff:fe35:a6ac) 56 data bytes
64 bytes from fe80::3437:30ff:fe35:a6ac: icmp_seq=1 ttl=63 time=0.423 ms
64 bytes from fe80::3437:30ff:fe35:a6ac: icmp_seq=2 ttl=63 time=0.291 ms