Where can I find the MAC Address for each CARP Virtual IP (VIP)?
-
/sbin/ifconfig from the shell shows which NIC a VIP is associated along with with via the VIP's netmask, broadcast, and vhid, but not the VIP's MAC Address.
-
/sbin/ifconfig from the shell shows which NIC a VIP is associated along with with via the VIP's netmask, broadcast, and vhid, but not the VIP's MAC Address.
CARP MAC addresses are generated algorithmically and follow the scheme for VRRP. See this: https://tools.ietf.org/html/rfc3768#section-7.3 for details.
Run a packet capture on the interface with the CARP IPs and watch some traffic. You should see those MAC addresses in the frames.
Cheers
Jon
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.