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

    first steps with HA: where to put VLANs?

    Scheduled Pinned Locked Moved L2/Switching/VLANs
    5 Posts 4 Posters 888 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.
    • S
      sgw
      last edited by

      Set up my second HA-cluster today ... looks great.
      For the project I work on I will have to provide VLANs on the LAN side and I wonder how to set that up on a CARP-cluster.

      I could only assign VLANs to the LAN interface on the primary, is that OK?
      Do I have to do that manually on both nodes in a way?

      Any pointers? the pfsense book didn't tell me much here.
      thanks in advance ..

      1 Reply Last reply Reply Quote 0
      • dotdashD
        dotdash
        last edited by

        It's just like physical interfaces- each pfsense box needs a unique IP on each vlan.
        e.g- vlan 10 192.168.10.2 primary 192.168.10.3 secondary 192.168.10.1 carp
        vlan 20 192.168.20.2 primary 192.168.20.3 secondary 192.168.20.1 carp
        On the switch side, both boxes would need to be connected to a vlan trunk carrying all the tagged vlans.

        1 Reply Last reply Reply Quote 0
        • S
          sgw
          last edited by

          hm, I think I understand ;-) will try asap on my test boxes -> thanks!

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

            New category, yo.

            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
            • JeGrJ
              JeGr LAYER 8 Moderator @sgw
              last edited by

              @sgw As you were guessing: create the VLAN(s) on both nodes of the cluster, setup a CARP VIP for that VLAN and just treat it like another physical "LAN" interface in any regard, then you're good to go.

              Greets

              Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

              If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

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