Tim <t-openbsd <at> timdarby.net> writes: > > I'm using CARP under 3.7 release version on two boxes that aren't firewalls, so > no pfsync involved and CARP configured as described in the FAQ. What I'm seeing > is that the box I've designated as BACKUP always boots with carp0 as INIT and > carp1 and carp2 both come up BACKUP as expected.
I found my own workaround for this problem and I'm posting it on the chance it will help someone else. I did some more experimenting and tried adding more backup carp interfaces to the physical interface that already had three. When I did this, I noticed that every time I added an interface, another interface that had previously been working now came up as INIT. So, initially I had: carp0 - INIT carp1 - BACKUP carp2 - BACKUP After adding carp3, I had: carp0 - INIT carp1 - INIT carp2 - BACKUP carp3 - BACKUP and carp4: carp0 - INIT carp1 - INIT carp2 - INIT carp3 - BACKUP carp4 - BACKUP This made me wonder if there was some timing thing going on when the carp interfaces were started on boot, so I tried adding a sleep to /etc/netstart as follows: *** netstart Sat Oct 8 15:51:43 2005 --- netstart.mod Sat Oct 8 15:51:13 2005 *************** *** 309,314 **** --- 309,315 ---- case $if in "carp"*) + sleep 1 ifstart $if ;; *) After doing this, all interfaces came up correctly as BACKUP. If anyone has a better solution, I'd be happy to hear it otherwise I'm calling it done and getting on with my weekend.