From owner-freebsd-questions Fri Jun 7 16: 8:24 2002 Delivered-To: freebsd-questions@freebsd.org Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by hub.freebsd.org (Postfix) with ESMTP id 9272D37B405 for ; Fri, 7 Jun 2002 16:08:18 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by cactus.fi.uba.ar (8.11.6/8.11.6) with ESMTP id g57N66T02066; Fri, 7 Jun 2002 20:06:07 -0300 (ART) (envelope-from fgleiser@cactus.fi.uba.ar) Date: Fri, 7 Jun 2002 20:06:06 -0300 (ART) From: Fernando Gleiser X-X-Sender: To: "Jack L. Stone" Cc: Subject: Re: Adding Interface alias on the fly In-Reply-To: <3.0.5.32.20020607172302.00fc2288@mail.sage-one.net> Message-ID: <20020607200028.T82269-100000@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 7 Jun 2002, Jack L. Stone wrote: > > > >man ifconfig > > > >and look at the 'alias' flag. > > > Fer > > Fer: Thanks, but I have read the ifconfig man pages and am familiar with > *some* of its uses for adding/removing addresses, but, it is rather crytic > to me and I am unsure about add another alias without it removing or > replacing another alias (alias0 for instance) I want left in. > OK. that's what you need to do: ifconfig alias netmask and that's it. in your case, if you want to add that alias (the alias0 from rc.conf) you just say: ifconfig rl1 alias 65.71.135.139 netmask 255.255.255.255 If you want to delete an alias you say ifconfig delete Hope this helps. You don't need to run netstart again. Fer > Arie's answer just a fe minutes ago sounds like a good approach... do you > agree with this which seems more exact for the configuration that would be > loaded on a reboot - without rebooting of course which is the objective > here... plus, not messing up: > > "....After adding the configuration on /etc/rc.conf, you can simply execute > /etc/netstart and that will reload your network configuration..." > > Thanks, to Arie too.... > > Best regards, > Jack L. Stone, > Administrator > > SageOne Net > http://www.sage-one.net > jackstone@sage-one.net > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message