Configure CARP over vLans Trunk Port
-
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? -
- Create the vlan on pfSense
- Assign it as an interface
- Create a CARP alias for said interface
Should work?
-
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 BackupVLAN 11
192.168.2.1 CARP VIP
192.168.2.2 Master
192.168.2.3 Backupetc
etcNaturally, you set DHCP to give the CARP VIP as the default gateway, DNS Server, etc for each segment as applicable.
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.