From owner-freebsd-questions Wed Aug 11 11:32:21 1999 Delivered-To: freebsd-questions@freebsd.org Received: from xenetserver.harz.de (xenetserver.harz.de [193.159.181.125]) by hub.freebsd.org (Postfix) with ESMTP id 21338155C5 for ; Wed, 11 Aug 1999 11:32:04 -0700 (PDT) (envelope-from Matthias.Meyser@harz.de) Received: (from matthias@localhost) by xenetserver.harz.de (8.9.1/8.9.1) id UAA03231; Wed, 11 Aug 1999 20:31:11 +0200 (CEST) Message-ID: <19990811203111.A2826@xenetserver.harz.de> Date: Wed, 11 Aug 1999 20:31:11 +0200 From: Matthias Meyser To: freebsd-questions@FreeBSD.ORG Subject: Re: virtual ip's in rc.conf Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Marc Tardif on Wed, Aug 11, 1999 at 02:18:24PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi MArc On Wed, Aug 11, 1999 at 02:18:24PM -0400, Marc Tardif wrote: > Is there a way to set virtual ip's directly in the rc.conf file instead of > having to type "ifconfig ed0 alias 192.168.0.2 netmask 0xffffffff". This > is what I have: > ifconfig_ed0="inet 192.168.0.1 netmask 255.255.255.0" > ifconfig_ed0="alias 192.168.0.2 netmask 255.255.255.0" > I looked all over the handbook and all over the mailing list but couldn't > find anything. If anyone could help, I'd appreciate. Try it this way :) ifconfig_ed0="inet 192.168.0.1 netmask 255.255.255.0" ifconfig_ed0_alias0="inet 192.168.0.2 netmask 255.255.255.0" ifconfig_ed0_alias1="inet 192.168.0.3 netmask 255.255.255.0" ... CU matthias -- \\ // N N EEE TTT Matthias Meyser, Meyser@harz.de \\ // eee NN N E T Gesellschaft fuer Informations- und \X/ e e N N N EE T Kommunikationssysteme mbH // \\ e ee N NN E T 38678 Clausthal-Zellerfeld, Burgstaetter Strasse 6 // \\ eeee N N EEE T Telefon: +49-5323-94018 Fax: +49-5323-94011 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message