From owner-freebsd-questions Mon Apr 8 6: 0: 8 2002 Delivered-To: freebsd-questions@freebsd.org Received: from spitfire.velocet.net (spitfire.velocet.net [216.138.223.227]) by hub.freebsd.org (Postfix) with ESMTP id CA25437B419 for ; Mon, 8 Apr 2002 06:00:03 -0700 (PDT) Received: from wenk (H204.C233.tor.velocet.net [216.138.233.204]) by spitfire.velocet.net (Postfix) with SMTP id ED546FB4560; Mon, 8 Apr 2002 09:00:00 -0400 (EDT) Message-ID: <022701c1df16$dc530f30$b300a8c0@wenk> From: "Jeff Shevlen" To: "John Kozubik" , "Nick Rogness" Cc: References: Subject: Re: IP aliasing Date: Mon, 8 Apr 2002 09:02:59 -0700 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-Mimeole: Produced By Microsoft MimeOLE V5.50.4522.1200 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 > Thanks, for the tip. What is the reason for this? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message