hostname.if parsing does not translate 100% to an ifconfig command line.

> short question about hostname.carp1: Is it
> 
>       inet 10.0.1.1 0xffffff00 NONE vhid 41 pass secret carpdev em1 advbase 1 
> advskew 0
> or
>       inet 10.0.1.1 0xffffff00 vhid 41 pass secret carpdev em1 advbase 1 
> advskew 0
> 
> ?
> 
> Using ifconfig I get
> 
>       % ifconfig carp1 -inet
>       % ifconfig carp1 inet 10.0.1.1 0xffffff00 NONE vhid 41 pass secret 
> carpdev em1 advbase 1 advskew 0
>       ifconfig: NONE: bad value
> 
> but if I omit the NONE in hostname.carp1, then its not accepted at boot
> time, either ("status: invalid"). And worst of all, for carp2 it is the
> other way.
> 
> 
> Maybe I am too blind to see, but every insightful comment is highly
> appreciated.
> 
> Harri
> 

Reply via email to