On 17/05/16(Tue) 16:37, Andy Lemin wrote: > 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
That's because you're trying to add addresses *before* configuring a "carpdev" (parent) interface.