Date: Mon, 8 Apr 2002 09:02:59 -0700 From: "Jeff Shevlen" <jshevlen@passedpawn.com> To: "John Kozubik" <john@kozubik.com>, "Nick Rogness" <nick@rogness.net> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: IP aliasing Message-ID: <022701c1df16$dc530f30$b300a8c0@wenk> References: <Pine.BSF.4.21.0204072151110.3366-100000@www>
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 > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?022701c1df16$dc530f30$b300a8c0>