Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Apr 2002 21:52:40 -0700 (PDT)
From:      John Kozubik <john@kozubik.com>
To:        Nick Rogness <nick@rogness.net>
Cc:        Jeff Shevlen <jshevlen@passedpawn.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: IP aliasing
Message-ID:  <Pine.BSF.4.21.0204072151110.3366-100000@www>
In-Reply-To: <Pine.BSF.4.21.0204072026370.14115-100000@cody.jharris.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0204072151110.3366-100000>