Subject: Re: ifconfig alias in rc.conf
To: None <firstname.lastname@example.org>
From: Juergen Hannken-Illjes <email@example.com>
Date: 03/10/2005 22:48:00
On Thu, Mar 10, 2005 at 01:11:02PM -0800, Bryan Buecking 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"
> It seemed that each definition over wrote the last.
Its only variable assignments. Last one wins.
> I've ended up
> defining the interfaces IP's through ifconfig.if, but was wondering if
> it is possible to do so through rc.conf?
ifconfig_fxp0="inet a.b.c.d netmask 0xffffff00"
rc.conf (5) is your friend,
Juergen Hannken-Illjes - firstname.lastname@example.org - TU Braunschweig (Germany)