On 2020-11-04, Harald Dunkel <harald.dunkel@aixigo.com> wrote:
> Hi folks
>
> 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
>
> ?
hostname.if uses an unintuitive syntax for inet/inet6 lines that often
causes confusion. If you want to pass a command directly you can use
!ifconfig carp1 (whatever)
but I prefer this multi-line
vhid 41 pass secret advbase 1 advskew 0 carpdev em1
inet 10.0.1.1/24
The manual says "The configuration information is expressed in a
line-by-line packed format which makes the most common cases simpler;
those dense formats are described below" I agred with "dense" but
"simpler" is quite a stretch...
No comments:
Post a Comment