From owner-freebsd-net@FreeBSD.ORG Tue Feb 26 17:56:21 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93A2D106566B for ; Tue, 26 Feb 2008 17:56:21 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from heff.fud.org.nz (203-109-251-39.static.bliink.ihug.co.nz [203.109.251.39]) by mx1.freebsd.org (Postfix) with ESMTP id D54DF13C474 for ; Tue, 26 Feb 2008 17:56:20 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: by heff.fud.org.nz (Postfix, from userid 1001) id A80FD7542; Wed, 27 Feb 2008 06:56:16 +1300 (NZDT) Date: Wed, 27 Feb 2008 06:56:16 +1300 From: Andrew Thompson To: Boris Kochergin Message-ID: <20080226175616.GC1509@heff.fud.org.nz> References: <47C428EC.3090909@acm.poly.edu> <20080226162307.GA80931@svzserv.kemerovo.su> <47C4439A.9050502@acm.poly.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47C4439A.9050502@acm.poly.edu> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-net@freebsd.org, Eugene Grosbein Subject: Re: if_gif/if_bridge problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 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, 26 Feb 2008 17:56:21 -0000 On Tue, Feb 26, 2008 at 11:51:38AM -0500, Boris Kochergin wrote: > Eugene Grosbein wrote: >> On Tue, Feb 26, 2008 at 09:57:48AM -0500, Boris Kochergin wrote: >> >> >>> bridge0: flags=8843 metric 0 mtu >>> 1500 >>> ether 3e:7f:e8:ef:f6:a4 >>> inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 >>> id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 >>> maxage 20 holdcnt 6 proto rstp maxaddr 100 timeout 1200 >>> root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 >>> member: gif6 flags=143 >>> >> >> [skip] >> >> >>> So, the tunnels and bridges appear to be sending the traffic around >>> properly, but the concentrator machine isn't replying to ARP requests for >>> its bridge0 interface's IP. This is where I'm stuck. Any help is >>> appreciated. >>> >> >> The problem is that if_bridge(4) won't work this way - with only one >> gif-member >> without patching. I've faced this recently and debugged it in detail. >> Then I've produced a patch and now I run it over a month in production >> without a problem: >> >> ftp://www.kuzbass.ru/pub/freebsd/lagg-0.1.tgz >> > > I just tested it on my 7.0-RC1 setup and it did indeed take care of the > problem. Thank you very much! Eugene, I take it the fix that applies on Boris's case is the M_BCAST|M_MCAST setting on the mbuf? I would like to test/commit this. Also, why to you add support for adding a bridge to a lagg interface? regards, Andrew