From owner-freebsd-isp@FreeBSD.ORG Sun Aug 19 12:16:22 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 BCAC916A419 for ; Sun, 19 Aug 2007 12:16:22 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from vjofn.tucs-beachin-obx-house.com (vjofn-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::5e5]) by mx1.freebsd.org (Postfix) with ESMTP id 7BC1B13C480 for ; Sun, 19 Aug 2007 12:16:22 +0000 (UTC) (envelope-from ml@t-b-o-h.net) Received: from himinbjorg.tucs-beachin-obx-house.com (cpe-68-175-8-11.hvc.res.rr.com [68.175.8.11]) (authenticated bits=0) by vjofn.tucs-beachin-obx-house.com (8.12.9/8.12.9) with ESMTP id l7JCGAt3085050; Sun, 19 Aug 2007 08:16:10 -0400 (EDT) Received: from himinbjorg.tucs-beachin-obx-house.com (localhost.tucs-beachin-obx-house.com [127.0.0.1]) by himinbjorg.tucs-beachin-obx-house.com (8.13.8/8.13.6) with ESMTP id l7JCG5iR009240; Sun, 19 Aug 2007 08:16:05 -0400 (EDT) (envelope-from ml@t-b-o-h.net) Received: (from tbohml@localhost) by himinbjorg.tucs-beachin-obx-house.com (8.13.8/8.13.6/Submit) id l7JCG4Lh009239; Sun, 19 Aug 2007 08:16:04 -0400 (EDT) (envelope-from tbohml) From: "Tuc at T-B-O-H.NET" Message-Id: <200708191216.l7JCG4Lh009239@himinbjorg.tucs-beachin-obx-house.com> To: pavlos@georgiadis.eu (Pavlos Georgiadis) Date: Sun, 19 Aug 2007 08:16:04 -0400 (EDT) In-Reply-To: <1571172802.401187519463481.JavaMail.root@leda.georgiadis.eu> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-isp@freebsd.org 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: Sun, 19 Aug 2007 12:16:22 -0000 > > 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="DHCP" > ifconfig_em0_alias0="inet X.X.141.113 netmask 0xfffff000" > ifconfig_em0_alias1="inet X.X.142.124 netmask 0xfffff000" > ifconfig_em0_alias2="inet X.X.142.128 netmask 0xfffff000" > > If you know the IP your getting, why not just configure things to be static? Tuc/TBOH