Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
CARP VIP, IP Alias and VHID on VLAN's
« previous
next »
Print
Pages: [
1
]
Author
Topic: CARP VIP, IP Alias and VHID on VLAN's (Read 3573 times)
mestafin
Newbie
Posts: 49
Karma: 2
CARP VIP, IP Alias and VHID on VLAN's
«
on:
November 15, 2018, 09:28:50 am »
I am running the latest 18.7.7 on two identical boxes in a HA cluster with CARP.
On the LAN side, I have 8 VLANS's defined on the the single LAN interface.
Each VLAN has it's own /24 subnet, defined ad follows:
VLAN 10
10.11.10.1/24 CARP VIP, with VHID=10
10.11.10.91/24 Box One Interface
10.11.10.92/24 Box Two Interface
VLAN 20
10.11.20.1/24 CARP VIP, with VHID=20
10.11.20.91/24 Box One Interface
10.11.20.92/24 Box Two Interface
etc for all VLANS
This all works very well.
Somewhere I read that CARP monitors a physical link and that that this setup creates unnecessary CARP broadcast traffic that is essentially redundant, as all the VLANS are on the same physical interface and cable. You will not have a failure where only one VLAN subnet (virtual Interface) will fail, all the VLAN virtual interfaces will fail together if the physical interface fails.
What I can remember from the comment, is that it is better to define a CARP VIP for one VLAN and then define IP Aliases for the other VLANS, but define the IP Aliases on the VLAN interface that is defined as a CARP VIP, but I am not sure that I got that right.
Any recommendations or advice will be appreciated
Logged
mimugmail
Hero Member
Posts: 6756
Karma: 494
Re: CARP VIP, IP Alias and VHID on VLAN's
«
Reply #1 on:
November 15, 2018, 09:34:03 am »
No, you misunderstood something.
Since you are using VLANs, stick to them and treat them like single cables.
Use aliases when you need more VIPs on one subnet (L3). And keep in mind when using alias to add them manually also on the second machine (no snyced).
Logged
WWW:
www.routerperformance.net
Support plans:
https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German):
https://opnsense.max-it.de/
mestafin
Newbie
Posts: 49
Karma: 2
Re: CARP VIP, IP Alias and VHID on VLAN's
«
Reply #2 on:
November 15, 2018, 10:18:53 am »
Thanks very much
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
CARP VIP, IP Alias and VHID on VLAN's