From owner-freebsd-current@FreeBSD.ORG Wed Sep 24 15:41:06 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2447310656A3 for ; Wed, 24 Sep 2008 15:41:06 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) Received: from 0.mx.codelabs.ru (0.mx.codelabs.ru [144.206.177.45]) by mx1.freebsd.org (Postfix) with ESMTP id C6CEE8FC0A for ; Wed, 24 Sep 2008 15:41:05 +0000 (UTC) (envelope-from rea-fbsd@codelabs.ru) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=one; d=codelabs.ru; h=Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:Sender; b=gq9TlbHcBdboJCJoB56AkbH9k5PZ75QgpqJdwttZ1W/QJd4wZcxEFQgCV3ax5wCrZ7NCqdfoY/M36blhunZJLejz2I6tkCDHFtBZ5Rk+KUP1gHrGLHAoz7Y/OQj+nzv9xnHIDPwotrvT9Btpb9hcHovfJSKHY6343ETQ5D/r6V0=; Received: from void.codelabs.ru (void.codelabs.ru [144.206.177.25]) by 0.mx.codelabs.ru with esmtpsa (TLSv1:AES256-SHA:256) id 1KiWUB-0007OV-F0; Wed, 24 Sep 2008 19:41:03 +0400 Date: Wed, 24 Sep 2008 19:41:02 +0400 From: Eygene Ryabinkin To: Michael Proto Message-ID: References: <48C1E43C.1010902@jellydonut.org> <1de79840809240710q5222645ar4549d96a457d7614@mail.gmail.com> <1de79840809240745k4bb9d7bekb3f96812e109d035@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="apbmkPN6Hu/1dI3g" Content-Disposition: inline In-Reply-To: <1de79840809240745k4bb9d7bekb3f96812e109d035@mail.gmail.com> Sender: rea-fbsd@codelabs.ru Cc: FreeBSD Current Subject: Re: sysctls and if_bridge X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 24 Sep 2008 15:41:06 -0000 --apbmkPN6Hu/1dI3g Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Michael, Wed, Sep 24, 2008 at 10:45:23AM -0400, Michael Proto wrote: > Sure! Here you go, and thanks! Bear in mind I'm using interface naming in > /etc/rc.conf. lan, dmz, and wan are all vr interfaces, and wifi is a vap > interface "cloned" from ath0 >=20 >=20 > wan: flags=3D8943 metric = 0 mtu > 1500 > options=3D280b > ether 00:0d:b9:12:99:6a > inet 20.30.40.50 netmask 0xffffff00 broadcast 20.30.40.255 > media: Ethernet 100baseTX > status: active > bridge0: flags=3D8843 metric 0 mtu > 1500 > ether 00:0d:b9:12:99:6a > 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: dmz flags=3D143 > ifmaxaddr 0 port 2 priority 128 path cost 200000 > member: wan flags=3D143 > ifmaxaddr 0 port 3 priority 128 path cost 55 Seems like you're facing the problem where bridge0 inherits its MAC from the 'wan' interface. Try to specify bridge0's MAC explicitely (via ifconfig's 'link XX:XX:XX:XX:XX:XX' arguments); you can use some random MAC, for example the one that is generated at the system's bootup for bridge0 (example from one of my hosts): ----- $ dmesg | grep bridge0 | grep Ethernet bridge0: Ethernet address: 2e:13:01:19:11:66 ----- May be this will help you to work out your problems. If so, then you'll probably need sys/net/if_bridge.c revision 1.117, http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/src/sys/net/if_bridge.c?= rev=3D1.117;content-type=3Dtext%2Fplain If this won't help, I'll try to think a bit more about this issue ;)) --=20 Eygene _ ___ _.--. # \`.|\..----...-'` `-._.-'_.-'` # Remember that it is hard / ' ` , __.--' # to read the on-line manual =20 )/' _/ \ `-_, / # while single-stepping the kernel. `-'" `"\_ ,_.-;_.-\_ ', fsc/as # _.-'_./ {_.' ; / # -- FreeBSD Developers handbook=20 {_.-``-' {_/ # --apbmkPN6Hu/1dI3g Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkjaX44ACgkQthUKNsbL7YitLgCdFRf8TwlXjydvkzkeGD6jmGMp plgAn0tzIbWvV185yPP/mwadJXj4HNVw =fnth -----END PGP SIGNATURE----- --apbmkPN6Hu/1dI3g--