From owner-freebsd-questions Tue Sep 21 10: 5:18 1999 Delivered-To: freebsd-questions@freebsd.org Received: from relay.ucb.crimea.ua (relay.ucb.crimea.ua [212.110.138.1]) by hub.freebsd.org (Postfix) with ESMTP id 84ED914A04 for ; Tue, 21 Sep 1999 10:02:45 -0700 (PDT) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id TAA28079; Tue, 21 Sep 1999 19:59:22 +0300 (EEST) (envelope-from ru) Date: Tue, 21 Sep 1999 19:59:22 +0300 From: Ruslan Ermilov To: Langa Kentane Cc: FreeBSD Subject: Re: IP Aliasing Message-ID: <19990921195922.B18261@relay.ucb.crimea.ua> Mail-Followup-To: Langa Kentane , FreeBSD References: <000701bf0449$dfde6140$2aa8ef9b@sunnet.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <000701bf0449$dfde6140$2aa8ef9b@sunnet.co.za>; from Langa Kentane on Tue, Sep 21, 1999 at 05:53:53PM +0200 X-Operating-System: FreeBSD 3.2-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Sep 21, 1999 at 05:53:53PM +0200, Langa Kentane wrote: > Hi y'all > > I have just attempted to add an alias address for my network card for an > apache virtual server. How do I do this with ifconfig, or through > /etc/rc.conf > In order to add an alias for the interface, ifconfig(8) it like for primary address, but put an "alias" word at the end. If you add an alias from the same subnet, netmask should be given as 255.255.255.255. /etc/defaults/rc.conf contains a sample alias entry for lo0. > I read the man page for ifconfig and could not figure out how it's done. > : The following parameters may be set with ifconfig: : : alias Establish an additional network address for this interface. This : is sometimes useful when changing network numbers, and one wishes : to accept packets addressed to the old interface. Cheers, -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank, ru@FreeBSD.org FreeBSD committer, +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message