From owner-freebsd-isp@FreeBSD.ORG Fri Aug 24 12:48:34 2007 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1E1116A418 for ; Fri, 24 Aug 2007 12:48:34 +0000 (UTC) (envelope-from buki@dev.null.cz) Received: from dev.null.cz (null-gts.ptp-v6.cz.net [IPv6:2001:af0::1:0:d]) by mx1.freebsd.org (Postfix) with ESMTP id 1563013C483 for ; Fri, 24 Aug 2007 12:48:33 +0000 (UTC) (envelope-from buki@dev.null.cz) Received: from dev.null.cz (localhost [127.0.0.1]) by dev.null.cz (8.13.1/8.13.1) with ESMTP id l7OCmQib095679 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 24 Aug 2007 14:48:31 +0200 (CEST) (envelope-from buki@dev.null.cz) Received: (from buki@localhost) by dev.null.cz (8.13.1/8.13.1/Submit) id l7OCmQRl095678 for freebsd-isp@freebsd.org; Fri, 24 Aug 2007 14:48:26 +0200 (CEST) (envelope-from buki) Date: Fri, 24 Aug 2007 14:48:26 +0200 From: Buki To: freebsd-isp@freebsd.org Message-ID: <20070824124826.GZ378@dev.null.cz> References: <1571172802.401187519463481.JavaMail.root@leda.georgiadis.eu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ecKHkrog8duCxGt3" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: Loosing alias IPs X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2007 12:48:34 -0000 --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--