76
18.1 Legacy Series / Problems with CARP
« on: February 22, 2018, 07:10:53 am »
Hi
I have 2 opnsense installations - one on apu2c4 and one as xen vm (both with latest version 18.1.2)
I have some weird effects with CARP configuration. The hosts doesnt have 1:1 same interfaces but I use CARP only on these the are on both opnsense installations:
first:
second:
The first router should be ever a master if it is running.
Sometimes after a reboot some interfaces are master and some backup on first und second router... I need to disable/enable CARP and then it works... Is something wrong with this configuration?
TiA
Greetz
I have 2 opnsense installations - one on apu2c4 and one as xen vm (both with latest version 18.1.2)
I have some weird effects with CARP configuration. The hosts doesnt have 1:1 same interfaces but I use CARP only on these the are on both opnsense installations:
first:
Code: [Select]
<virtualip>
<vip>
<type>single</type>
<subnet_bits>24</subnet_bits>
<mode>carp</mode>
<interface>opt2</interface>
<descr>carp_cable</descr>
<subnet>192.168.40.2</subnet>
<vhid>40</vhid>
<advskew>100</advskew>
<advbase>30</advbase>
<password>!c4rp!</password>
</vip>
<vip>
<type>single</type>
<subnet_bits>24</subnet_bits>
<mode>carp</mode>
<interface>opt5</interface>
<descr>carp_lan_wlan</descr>
<subnet>192.168.50.2</subnet>
<vhid>50</vhid>
<advskew>100</advskew>
<advbase>30</advbase>
<password>!c4rp!</password>
</vip>
<vip>
<type>single</type>
<subnet_bits>24</subnet_bits>
<mode>carp</mode>
<interface>opt3</interface>
<descr>carp_vdsl</descr>
<subnet>192.168.140.2</subnet>
<vhid>140</vhid>
<advskew>100</advskew>
<advbase>30</advbase>
<password>!c4rp!</password>
</vip>
<vip>
<type>single</type>
<subnet_bits>24</subnet_bits>
<mode>carp</mode>
<interface>opt1</interface>
<descr>carp_lan_media</descr>
<subnet>192.168.150.2</subnet>
<vhid>150</vhid>
<advskew>100</advskew>
<advbase>30</advbase>
<password>!c4rp!</password>
</vip>
</virtualip>
second:
Code: [Select]
<virtualip>
<vip>
<type>single</type>
<subnet_bits>24</subnet_bits>
<mode>carp</mode>
<interface>wan</interface>
<descr>carp_cable</descr>
<subnet>192.168.40.2</subnet>
<vhid>40</vhid>
<advskew>200</advskew>
<advbase>40</advbase>
<password>!c4rp!</password>
</vip>
<vip>
<type>single</type>
<subnet_bits>24</subnet_bits>
<mode>carp</mode>
<interface>lan</interface>
<descr>carp_lan_wlan</descr>
<subnet>192.168.50.2</subnet>
<vhid>50</vhid>
<advskew>200</advskew>
<advbase>40</advbase>
<password>!c4rp!</password>
</vip>
<vip>
<type>single</type>
<subnet_bits>24</subnet_bits>
<mode>carp</mode>
<interface>opt1</interface>
<descr>carp_vdsl</descr>
<subnet>192.168.140.2</subnet>
<vhid>140</vhid>
<advskew>200</advskew>
<advbase>40</advbase>
<password>!c4rp!</password>
</vip>
<vip>
<type>single</type>
<subnet_bits>24</subnet_bits>
<mode>carp</mode>
<interface>opt2</interface>
<descr>carp_lan_media</descr>
<subnet>192.168.150.2</subnet>
<vhid>150</vhid>
<advskew>200</advskew>
<advbase>40</advbase>
<password>!c4rp!</password>
</vip>
</virtualip>
The first router should be ever a master if it is running.
Sometimes after a reboot some interfaces are master and some backup on first und second router... I need to disable/enable CARP and then it works... Is something wrong with this configuration?
TiA
Greetz