From owner-freebsd-questions Sun Apr 7 21:54:17 2002 Delivered-To: freebsd-questions@freebsd.org Received: from www.kozubik.com (www.kozubik.com [198.78.70.162]) by hub.freebsd.org (Postfix) with ESMTP id 2E59037B405 for ; Sun, 7 Apr 2002 21:54:14 -0700 (PDT) Received: from localhost (john@localhost) by www.kozubik.com (8.11.0/8.11.0) with ESMTP id g384qeE33819; Sun, 7 Apr 2002 21:52:40 -0700 (PDT) (envelope-from john@kozubik.com) Date: Sun, 7 Apr 2002 21:52:40 -0700 (PDT) From: John Kozubik X-Sender: john@www To: Nick Rogness Cc: Jeff Shevlen , freebsd-questions@FreeBSD.ORG Subject: Re: IP aliasing In-Reply-To: Message-ID: 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 Sun, 7 Apr 2002, Jeff Shevlen wrote: > > > Hi, > > > > I've set up an IP alias and I want to ensure this second IP gets > > created on successive boots. The first IP is given by DHCP. Not sure > > where and how to make this happen. > > In /etc/rc.conf: > > ifconfig_xl0="DHCP" > ==> ifconfig_xl0_alias0="inet 192.168.0.1 netmask 255.255.255.0" Please note that if the first IP garnered from DHCP is also in the 192.168.0.1/24 subnet, and already has a netmask of 255.255.255.0 assigned, the second IP should have a netmask of 255.255.255.255 ----- John Kozubik - john@kozubik.com - http://www.kozubik.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message