Date: Fri, 24 Aug 2007 14:48:26 +0200 From: Buki <dev@null.cz> To: freebsd-isp@freebsd.org Subject: Re: Loosing alias IPs Message-ID: <20070824124826.GZ378@dev.null.cz> In-Reply-To: <alpine.BSF.0.999.0708201032440.15008@qbhto.arg> References: <1571172802.401187519463481.JavaMail.root@leda.georgiadis.eu> <alpine.BSF.0.999.0708201032440.15008@qbhto.arg>
next in thread | previous in thread | raw e-mail | index | archive | help
--ecKHkrog8duCxGt3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 20, 2007 at 10:34:49AM -0700, Doug Barton wrote: > FYI, this isn't really a question for -isp, freebsd-questions@freebsd.org= =20 > would have been a better choice. >=20 > On Sun, 19 Aug 2007, Pavlos Georgiadis wrote: >=20 > >Hello, > > > >I have a FreeBSD 6.2 server that get's his IP address from DHCP > >(although this IP is static). I have also configured 3 more alias IP > >addresses. > > > >My problem is that anytime the DHCP lease is renewed (with the same IP > >address always), one of the 3 aliases is lost. > > > >Is this a bug? Or am I doing something wrong? > > > >My setup is as follows: > > > >the IP address that the server gets by DHCP is X.X.139.45 > > > >rc.conf > >ifconfig_em0=3D"DHCP" > >ifconfig_em0_alias0=3D"inet X.X.141.113 netmask 0xfffff000" > >ifconfig_em0_alias1=3D"inet X.X.142.124 netmask 0xfffff000" > >ifconfig_em0_alias2=3D"inet X.X.142.128 netmask 0xfffff000" >=20 > You probably want to do this either in dhclient.conf or in a=20 > dhclient-exit-hooks script. Check the man pages to get an idea of how to= =20 > go about this, and ask on -questions if you need more help. Also, aliased Ip addresses must be configured with netmask /32 > Good luck, >=20 > Doug >=20 > --=20 >=20 > This .signature sanitized for your protection Buki --=20 PGP public key: http://dev.null.cz/buki.asc /"\ \ / ASCII Ribbon Campaign X Against HTML & Outlook Mail / \ http://www.thebackrow.net --ecKHkrog8duCxGt3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFGztOaPzhIkpLLm08RAqocAJ9HvwEOyTs1PHTN+GtKuKs2X1sQiQCdGVDJ WFYUvy0l5FvDIXoN98ge/gs= =oPvx -----END PGP SIGNATURE----- --ecKHkrog8duCxGt3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070824124826.GZ378>
