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

    Configure CARP over vLans Trunk Port

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    3 Posts 3 Posters 1.7k 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.
    • G Offline
      gozfly
      last edited by

      Hello every one,
      I need to know if i can configure a CARP HA over a vLans Trunk Port, I need to set a Carp per each vLan i the trunk port?

      1 Reply Last reply Reply Quote 0
      • F Offline
        fragged
        last edited by

        1. Create the vlan on pfSense
        2. Assign it as an interface
        3. Create a CARP alias for said interface

        Should work?

        1 Reply Last reply Reply Quote 0
        • DerelictD Offline
          Derelict LAYER 8 Netgate
          last edited by

          CARP doesn't care if it's a tagged VLAN or not.  You need good layer 2 between CARP member nodes.

          And, yes, if you want all the VLANs to be HA you need a CARP VIP and each member node has to have an interface IP.

          VLAN 10
          192.168.1.1 CARP VIP
          192.168.1.2 Master
          192.168.1.3 Backup

          VLAN 11
          192.168.2.1 CARP VIP
          192.168.2.2 Master
          192.168.2.3 Backup

          etc
          etc

          Naturally, you set DHCP to give the CARP VIP as the default gateway, DNS Server, etc for each segment as applicable.

          Chattanooga, Tennessee, USA
          A comprehensive network diagram is worth 10,000 words and 15 conference calls.
          DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

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