Provide native integration between VRRP state and IPv6 Router Advertisement (RA) behavior, so that only the VRRP MASTER sends RAs, without requiring custom transition scripts.
In a VRRPv3 (IPv6) setup on VyOS, when service router-advert is configured on an interface shared by VRRP peers:
Both MASTER and BACKUP routers run radvd, and both routers send Router Advertisements, so clients receive multiple default routers (multiple link-local next hops).
This happens even though only one router owns the VRRP virtual IPv6 address, where the active router should be the only one advertising itself as the default gateway.
The solution at this point is custom transition scripts.
Ex.
vrrp-lan-master.sh
#!/bin/vbash source /opt/vyatta/etc/functions/script-template configure delete service router-advert interface eth0 no-send-advert commit exit vrrp-lan-backup.sh #!/bin/vbash source /opt/vyatta/etc/functions/script-template configure set service router-advert interface eth0 no-send-advert commit exit
set high-availability vrrp group LAN transition-script backup '/config/scripts/vrrp-lan-backup.sh' set high-availability vrrp group LAN transition-script fault '/config/scripts/vrrp-lan-backup.sh' set high-availability vrrp group LAN transition-script master '/config/scripts/vrrp-lan-master.sh'
set service router-advert interface eth0 default-preference 'high' set service router-advert interface eth0 prefix 2001:db8:acad:1::/64