From owner-freebsd-questions Fri Jun 7 19:16:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.nsu.ru (mx.nsu.ru [193.124.215.71]) by hub.freebsd.org (Postfix) with ESMTP id 603F337B403 for ; Fri, 7 Jun 2002 19:16:30 -0700 (PDT) Received: from drweb by mail.nsu.ru with drweb-scanned (Exim 3.20 #1) id 17GVmC-0003wp-00; Sat, 08 Jun 2002 09:16:24 +0700 Received: from uni.land3.nsu.ru ([193.124.213.230] helo=land3.nsu.ru) by mail.nsu.ru with esmtp (Exim 3.20 #1) id 17GVmB-0003wd-00; Sat, 08 Jun 2002 09:16:23 +0700 Received: from localhost (lucky@localhost) by land3.nsu.ru (8.11.6/8.11.6) with ESMTP id g582GO807915; Sat, 8 Jun 2002 09:16:24 +0700 (NOVST) (envelope-from lucky@land3.nsu.ru) Date: Sat, 8 Jun 2002 09:16:24 +0700 (NOVST) From: Alexey Privalov To: "Jack L. Stone" Cc: freebsd-questions@freebsd.org Subject: Re: Adding Interface alias on the fly In-Reply-To: <3.0.5.32.20020607161614.00fc2288@mail.sage-one.net> Message-ID: <20020608091520.E61948-100000@land3.nsu.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Envelope-To: freebsd-questions@freebsd.org, jackstone@sage-one.net 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 hi ifconfig 'name_inetface' alias 'ip_addr' netmask 'netmask' /Alexey On Fri, 7 Jun 2002, Jack L. Stone wrote: > Date: Fri, 07 Jun 2002 16:16:14 -0500 > From: Jack L. Stone > To: freebsd-questions@freebsd.org > Subject: Adding Interface alias on the fly > > I need to add an alias to the public interface "on the fly". This is what > the entry would look like in the rc.conf: > ifconfig_rl1_alias1="inet 65.71.135.139 netmask 255.255.255.255" > > ...and, this is what # ifconfig rl1 would then show when above line is loaded: > inet 65.71.135.138 netmask 0xffffffff broadcast 65.71.135.139 > > What is the correct command syntax to add the above alias on the fly...?? > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message