Could not find a matching real interface subnet for the virtual IP
I am trying to set up CARP with 2 pfSense boxes.
Both are running 2.1.3, same hardware.
When I synchronise the master to the slave, I have one issue with 1 of the 3 Virtual IP, with the following message:
"Sorry but we could not find a matching real interface subnet for the virtual ip address 10.132.0.254"
My real interfaces are configured correctly, and I do not understand why it cannot set the VIP.
Master interface: vlan 254, IP 10.132.0.253/16
Slave interface: vlan 254, IP 10.132.0.252/16
Virtual interface: IP 10.132.0.254
So, when it sync, the VIP is attached to the pfsync interface, which is not good.
You can see attached the screenshots of my config.
Any idea on how to resolve this issue?
Thanks for you help,
With a CARP setup the order of the interfaces on Interfaces > (assign) must be identical, including any internal identifiers for the names (e.g. wan->wan, lan->lan, opt1->opt1, opt2->opt2)
OK, indeed the network interfaces are not in the same order on the master and backup server.
Is there an easy way to reorder the interfaces?
get a backup, edit the interfaces, restore the backup
ok thanks, I will try tomorrow, thanks a lot!
it works fine now, thanks!