I’m managing several routers in VRRP with SR-IOV network devices, and have no problem relaying advertisements with trust off. What exactly is lacking in your case?
well, basically, my backup container doesn’t receive the advertisements from the master while the master receive the advertisements from the backup.
i checked everything, multicast enabled, firewall allowed.
this is the keepalived config:
vrrp_instance vrrp6_homelab {
version 3
# Set the state to "BACKUP" on the backup device
state BACKUP
interface homelab
virtual_router_id 40
# Set priority lower on the backup device
priority 100
advert_int 1
no_accept
use_vmac vrrp6_homelab
garp_master_refresh 60
virtual_ipaddress {
# Link local must be specified first for IPv6.
fe80::b00b:1/64
2a0c:9a40:2753:b00b::1/64
}
}
i asked because chatgpt suggested that this is the likely cause:
Perfect — now it’s confirmed:
vf 58 ... spoof checking on, trust off
That’s the smoking gun. With trust off, the VF cannot:
Accept packets for a different MAC (your VRRP VMAC).
Receive multicast traffic like ff02::12.
This is enforced in hardware by the NIC, so even if keepalived creates the VMAC inside the container, the NIC drops those packets before they reach the container.
Ah, I’m not using vMAC, so that may well be our fundamental difference here.
Not sure how well incus plays with its containers changing MAC addresses tho.
I’m interested in more feedback because I may switch to using vMAC addresses in the future.