Subject: Re: ifconfig alias in rc.conf
To: Bryan Buecking <bryan.buecking@mediamines.com>
From: Christoph Kaegi <kgc@zhwin.ch>
List: netbsd-users
Date: 03/14/2005 08:56:46
On 11.03-12:13, David Shaw wrote:
> <bryan.buecking@mediamines.com> wrote:
> > I recently ran into a problem where I was trying to define an IP and
> > aliases to an interface through rc.conf.
> > ifconfig_fxp0 "inet a.b.c.d netmask 0xffffff00"
> > ifconfig_fxp0 "inet e.f.g.h netmask 0xffffffff alias"

To define aliases you would write:

 ifaliases_fxp0="inet e.f.g.h netmask ..."

in /etc/rc.conf

See the rc.conf(5) manpage.

-- 
----------------------------------------------------------------------
Christoph Kaegi                                           kgc@zhwin.ch
----------------------------------------------------------------------