From owner-freebsd-isp@FreeBSD.ORG Fri Aug 24 14:03:01 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 08BA516A419 for ; Fri, 24 Aug 2007 14:03:01 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from s200aog10.obsmtp.com (s200aog10.obsmtp.com [207.126.144.124]) by mx1.freebsd.org (Postfix) with SMTP id 0857E13C459 for ; Fri, 24 Aug 2007 14:02:54 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from source ([217.206.187.80]) by eu1sys200aob010.postini.com ([207.126.147.11]) with SMTP; Fri, 24 Aug 2007 14:02:51 UTC Received: from [10.0.0.89] (bill.mintel.co.uk [10.0.0.89]) by rodney.mintel.co.uk (Postfix) with ESMTP id B0D4B18141E; Fri, 24 Aug 2007 15:02:51 +0100 (BST) Message-ID: <46CEE50B.3040107@tomjudge.com> Date: Fri, 24 Aug 2007 15:02:51 +0100 From: Tom Judge User-Agent: Thunderbird 1.5.0.12 (X11/20070604) MIME-Version: 1.0 To: Buki References: <1571172802.401187519463481.JavaMail.root@leda.georgiadis.eu> <20070824124826.GZ378@dev.null.cz> <46CED91E.2060602@tomjudge.com> <20070824132235.GB378@dev.null.cz> In-Reply-To: <20070824132235.GB378@dev.null.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: Fri, 24 Aug 2007 14:03:01 -0000 Buki wrote: > On Fri, Aug 24, 2007 at 02:11:58PM +0100, Tom Judge wrote: >> Buki wrote: > > [snip] > >>> Also, aliased Ip addresses must be configured with netmask /32 >>> >> This is only true if the IP aliases are in the same network as the first >> IP address. The following would be a valid configuration: >> >> ifconfig_em0="inet 192.168.0.1/24" >> ifconfig_em0_alias0="inet 192.168.0.2/32" >> ifconfig_em0_alias1="inet 192.168.1.1/24" >> ifconfig_em0_alias2="inet 192.168.1.2/32" > > yeah, after sending the mail I immediately thought of that scenario, but > then again, from the original poster I got the idea the aliases were on > the same network as the DHCP-assigned address > > > Buki In the original post all the masks should be /32 this is correct, however I just wanted to clear up for the archives that this is not always true. Tom