Hi Misc,

Since 5.9 (maybe earlier), we noticed that our CARP interfaces no longer
behave as before, don't initialise properly on boot up, and throw errors at
boot.

I know there has been lots of changes, especially IPv6. So hopefully this
is a simple question and I'm just being stupid, and unable to find a man
page that explains the correct format for hostname.carp ?


Otherwise if their really is no man page for hostname.carp, then could
someone please point us in the right direction.

- Using the following examples;
hostname.ix0
inet 10.255.12.2 255.255.255.0 10.255.12.255
inet6 2a00:77e0:255:12::2 64
inet6 eui64
description "BACKHAUL"
!route add -net 10.1.0.0/16 10.255.12.254

hostname.carp0
inet 10.255.12.1 255.255.255.0 10.255.12.255
inet6 2a00:77e0:255:12::1 64
advbase 2 advskew 10 carpdev ix0 carppeer 10.255.12.3 pass testpass vhid 212
inet6 eui64
description "BACKHAUL"

- The following errors at boot are seen multiple times;
ifconfig: SIOCAIFADDR: Invalid argument

- The firewall boots up immediately as CARP Master, causing multi-Master :(

- Running "pfctl -sr -vv" shows it's running the default ruleset, even
though rc.conf (pf=YES) is default and "/etc/rc" shows it should load the
PF rules..

We believe this to be the cause of the multi-master as running "pfctl -f
/etc/pf.conf" and "sh /etc/netstart" resolves it and CARP goes Backup.

I have added the following lines to "/etc/rc.local" so that the firewall
can at least be rebooted (but only after carp goes INIT -> MASTER ->
BACKUP);
pfctl -f /etc/pf.conf
sh /etc/netstart

- Lastly Errors and Discards are now also being occasionally seen on the
CARP interfaces - Is there a change to the SNMPD and do we have to update
our MIBs?
Or if it is legit, what circumstances would a CARP interface see errors or
discards?


Thank you kindly in advanced for your time and thoughts.
Cheers, Andy.


NB; We have been running CARP without problems since OpenBSD 4.9.
We have read; http://www.openbsd.org/faq/upgrade59.html, upgrade58,
upgrade57 and upgrade56
We know about "man hostname.if" but this does not include any carp
examples, syntax, or general implementation (how ifconfig maps in etc) for
hostname.carp.

Reply via email to