From owner-freebsd-stable@FreeBSD.ORG Tue Jan 20 14:30:01 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D50D1065679 for ; Tue, 20 Jan 2009 14:30:01 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id CE0BB8FC1C for ; Tue, 20 Jan 2009 14:30:00 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: (qmail 86047 invoked by uid 89); 20 Jan 2009 14:43:54 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 20 Jan 2009 14:43:54 -0000 Message-ID: <4975DFD9.3050003@ibctech.ca> Date: Tue, 20 Jan 2009 09:29:45 -0500 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "Patrick M. Hausen" References: <5F259223-D531-4E25-9814-C0C90250707D@ramenzoni.com.br> <20090120134733.GB22114@hugo10.ka.punkt.de> <4975D712.2080101@ibctech.ca> <20090120142208.GA24949@hugo10.ka.punkt.de> In-Reply-To: <20090120142208.GA24949@hugo10.ka.punkt.de> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, Wendell Martins Borges Subject: Re: aliases not working in em0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2009 14:30:02 -0000 Patrick M. Hausen wrote: > Hi, all, > > On Tue, Jan 20, 2009 at 08:52:18AM -0500, Steve Bertrand wrote: >> For how long? On a 7.0-R box, it works ok with a /32 prefix len: >> >> %ifconfig >> re0: flags=8843 metric 0 mtu 1500 >> options=9b >> ether 00:0f:b5:80:53:85 >> inet 208.70.104.210 netmask 0xffffff00 broadcast 255.255.255.192 >> inet 208.70.104.211 netmask 0xffffff00 broadcast 255.255.255.255 > > Did you manually edit the ifconfig output? The broadcast addresses > should both be 208.70.104.255 for the shown prefixes and netmasks. Hmmm... thats my bad. I have a fsck-up in my rc.conf on that box... ifconfig_re0="inet 208.70.104.210 255.255.255.192" ifconfig_re0_alias0="inet 208.70.104.211 255.255.255.255" I guess when one leaves out the 'netmask' keyword, the next parameter after the IP becomes the broadcast address. I'm actually quite surprised and perplexed as to how this box has been able to communicate to other prefixes on the network :) Thanks for the keen eye. You've most certainly saved me some future anguish! Steve