Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Where can I find the MAC Address for each CARP Virtual IP (VIP)?

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    2 Posts 2 Posters 3.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rcpao
      last edited by

      /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.

      pfSense 2.2.2 in ESXi with 5 static IPs via 4 CARP Virtual IPs on WAN to Pace 3801HGV (AT&T U-verse).

      1 Reply Last reply Reply Quote 0
      • G
        gerdesj
        last edited by

        @rcpao:

        /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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.