From owner-freebsd-current@FreeBSD.ORG Wed Oct 31 08:41:09 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B5ED830F; Wed, 31 Oct 2012 08:41:09 +0000 (UTC) (envelope-from monthadar@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7B5AE8FC12; Wed, 31 Oct 2012 08:41:09 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so864428pad.13 for ; Wed, 31 Oct 2012 01:41:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5SKZq7Phv2xRHo56G6ZDFI2hZ7+KG05SLWA2kAAFc5c=; b=gfLMx81USQ5Nq8YB4d6cmxZRN7DlOVQ76kENtQ1JQ+8kPQo+NpPOt52Ux/mf2HeEA0 yF1VYGhFT7QlhFTuGkaZbnmNh25kxvTOO2R92IFr9oLd+szcRgO+yUV5vwYRaQmXnGrR mYT8bhHRCcjxIvj7HGpQtoY/mD3W5J2yKEiZuCLp7wjFjVcnPSKzskOy+hHEDLf9bobv vfHaRw+v3b0K8zpPo+D5mjALyyEvuVUX/v8ofguIzR2kaimE2F2p4VhbpcpWjAdZlQRf GiVxeSUTDmVjz0QdQuqh4u0FNP5RFpcwM95Kig7ww/dkUbj5pDLTZNjFqdCZd2r01WwP 5ayQ== MIME-Version: 1.0 Received: by 10.68.243.10 with SMTP id wu10mr28917855pbc.85.1351672868168; Wed, 31 Oct 2012 01:41:08 -0700 (PDT) Received: by 10.68.218.2 with HTTP; Wed, 31 Oct 2012 01:41:08 -0700 (PDT) In-Reply-To: References: <20121030121924.GD70741@FreeBSD.org> Date: Wed, 31 Oct 2012 09:41:08 +0100 Message-ID: Subject: Re: Interfaces connected by bridge(4) do not pass arp replies From: Monthadar Al Jaberi To: Kim Culhan Content-Type: text/plain; charset=ISO-8859-1 Cc: Gleb Smirnoff , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2012 08:41:09 -0000 On Tue, Oct 30, 2012 at 2:29 PM, Kim Culhan wrote: > On Tue, Oct 30, 2012 at 8:19 AM, Gleb Smirnoff wrote: >> Kim, >> >> On Mon, Oct 29, 2012 at 05:59:04PM -0400, Kim Culhan wrote: >> K> >> What svn revision of FreeBSD -current are you running? >> K> > >> K> > FreeBSD head r238604. >> K> >> K> I should have mentioned earlier this is with r242126, there have been >> K> some changes >> K> to the network code since 238604, maybe that is why you don't have this problem. >> >> If you can do binary search, that may be valuable. >> >> -- >> Totus tuus, Glebius. > > Ok I can begin that process, Monthadar since you have an earlier > version can you try > a test: > > From a machine on one of your 2 interfaces, can you ping a machine on > the other interface? Yes > > Do you see the MAC for a machine on the other interface in the arp table? Yes > > When this problem is present, it is possible to reach the router and > out to the internet > (if it is routed that way) but in the case of the wireless interface, > for example, you cannot > reach a machine on the wired interface. > > The interfaces here: > > bridge0: flags=8843 metric 0 mtu 1500 > ether 02:f3:8d:7d:04:00 > inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 > nd6 options=29 > id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 > maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 > root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 > member: msk0 flags=143 > ifmaxaddr 0 port 2 priority 128 path cost 55 > member: em0 flags=143 > ifmaxaddr 0 port 1 priority 128 path cost 2000000 > member: wlan1 flags=143 > ifmaxaddr 0 port 11 priority 128 path cost 33333 > > msk0: flags=8943 > metric 0 mtu 1500 > options=c0019 > ether 00:1e:8c:0a:50:e2 > inet6 fe80::21e:8cff:fe0a:50e2%msk0 prefixlen 64 scopeid 0x2 > nd6 options=29 > media: Ethernet autoselect (1000baseT ) > status: active > > em0: flags=8943 metric > 0 mtu 1500 > options=2098 > ether 00:0e:0c:7f:cf:02 > inet6 fe80::20e:cff:fe7f:cf02%em0 prefixlen 64 scopeid 0x1 > nd6 options=29 > media: Ethernet autoselect (1000baseT ) > status: active > > In rc.conf the bridge is created with: > > ifconfig_bridge0="inet 10.0.0.1 netmask 255.255.255.0 addm wlan1 addm > em0 addm msk0 up" I create the bridge the same way as you. > > thanks > -kim -- Monthadar Al Jaberi