On 2011-04-21, ???? ??????? <[email protected]> wrote: > Dear Sirs, > > I need to configure ipv6 over carp interface. It seems that carp doesn't > like things in one line > > > ifconfig carp470 vhid 70 pass xxx carpdev vlan470 advskew 20 inet6 > 2a00:1a70:80:470::2 prefixlen 128 > > it says something wrong about ipv6. don't have any idea why. so, one-line > config for hostname.carpXXX will not work. > > if I do two ifconfigs: > > > ifconfig carp470 vhid 70 pass xxx carpdev vlan470 advskew 20 > ifconfig carp470 inet6 2a00:1a70:80:470::2 prefixlen 128 > > > everthing seems to be ok.
Not really, it just sits in init unless you also configure a (possibly dummy) ipv4 address. > but if I put stuff to hostname.carpXXX > > r1n0:/root# cat > /etc/hostname.carp470 > > vhid 70 pass xxx carpdev vlan470 advskew 20 > inet6 2a00:1a70:80:470::2 prefixlen 128 > up bad syntax, should be inet6 2a00:1a70:80:470::2 128 see hostname.if(5). Same problem with needed a (possibly dummy) ipv4 address. It certainly works fine with a v4 address in there.

