Bug 202341 - carp not working
Summary: carp not working
Status: Closed Not A Bug
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.2-RELEASE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-15 07:46 UTC by weberge42
Modified: 2015-08-15 08:34 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description weberge42 2015-08-15 07:46:38 UTC
using 10.2-RELEASE FreeBSD 10.2-RELEASE #0 r286666

/etc/rc.conf:

hostname="node1"
keymap="german.iso.acc.kbd"
carp_load="YES"
ifconfig_em0="inet 192.168.52.91 netmask 255.255.255.0"
ifconfig_em0_alias0="vhid 1 pass lall123 alias 192.168.52.90/32"
defaultrouter="192.168.52.2"
sshd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"


after a reboot, kldstat shows no carp.ko.
ifconfig shows no signs of carp.

service netif restart gives an error:
/etc/rc.d/netif: WARNING: $ifconfig_em0_alias0 needs leading "inet" keyword for an IPv4 address.
ifconfig: SIOCGVH: Protocol not supported

so the documentation is also wrong.

regards,
gerald
Comment 1 weberge42 2015-08-15 08:34:25 UTC
loader.conf != rc.conf
stupid me.