Project

General

Profile

Actions

Bug #4623

closed

Carp not working under bhyve

Added by Matthias Breddin over 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
CARP
Target version:
Start date:
04/15/2015
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
All
Affected Architecture:
amd64

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 :/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)

Actions

Also available in: Atom PDF