Bug #4623
closedCarp not working under bhyve
0%
Description
It seems the carp implementation differs from the freebsd standard one, which cannot be used under bhyve.
On a fresh freebsd 10.1 bhyve install i could make carp work:
$ uname -a
FreeBSD darkthrone 10.1-RELEASE-p9 FreeBSD 10.1-RELEASE-p9 #0: Tue Apr 7 01:09:46 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
$/sbin/ifconfig vtnet0 vhid 1 advskew 100 pass test 192.168.1.210/24 state master alias
ifconfig: SIOCSVH: Invalid argument
$kldload carp
$/sbin/ifconfig vtnet0 vhid 1 advskew 100 pass test 192.168.1.210/24 state master alias
$ ifconfig
...
media: Ethernet 10Gbase-T <full-duplex>
status: active
carp: BACKUP vhid 1 advbase 1 advskew 100
In pfsense the carp module is in the kernel, but i'll get the first error as on a fresh native fbsd install without / before loading the carp module
pfsense $/sbin/ifconfig vtnet0 vhid 1 advskew 100 pass test 192.168.1.210/24 state master alias
ifconfig: SIOCSVH: Invalid argument
I tested from early 2.2 RC versions till latest devel version.
I also tested OPNSense la 15.1.9, which had the pfsync / unconsistent changes to carp reversed. Worked there also.
So some custom stuff keeps me away from using pfSense under bhyve with carp (currently running single node only)