From owner-freebsd-net@FreeBSD.ORG Tue Dec 7 16:43:59 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E61B16A4CE for ; Tue, 7 Dec 2004 16:43:59 +0000 (GMT) Received: from vampire.homelinux.org (pD9E39E28.dip.t-dialin.net [217.227.158.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5AF5043D39 for ; Tue, 7 Dec 2004 16:43:58 +0000 (GMT) (envelope-from mlaier@vampire.homelinux.org) Received: (qmail 94068 invoked by uid 1001); 7 Dec 2004 16:42:21 -0000 Date: Tue, 7 Dec 2004 17:42:21 +0100 From: Max Laier To: Ruslan Ermilov Message-ID: <20041207164221.GA94019@router.laiers.local> References: <20041207145932.GA1336@ip.net.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041207145932.GA1336@ip.net.ua> User-Agent: Mutt/1.4.2.1i cc: net@FreeBSD.org Subject: Re: Another bug with netmasked aliases (with fix) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2004 16:43:59 -0000 On Tue, Dec 07, 2004 at 04:59:32PM +0200, Ruslan Ermilov wrote: > Hi Max, > > I played today with "netmasked aliases", and found what > appears to be another bug. > > Adding an alias to the Ethernet interface with the same > netmask results in this address not being pingable from > this host -- it just spits ARP requests to the wire and > never hears back (most Ethernets are simplex devices). > > I knew what the fix should look like, and then quickly > found a ready to commit solution in OpenBSD rev. 1.47. Ahh, that is part of my CARP-patch IIRC (can't easily check as I am at my university right now), will make sure later. > When testing the attached patch, make sure you do *not* > have a (host) route for the alias being added. Thanks for the HEADSUP, I'll research in depth when I get back home. -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News