From owner-freebsd-net@FreeBSD.ORG Wed Jan 11 20:01:15 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org 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 79E0816A41F for ; Wed, 11 Jan 2006 20:01:15 +0000 (GMT) (envelope-from bmw@borderware.com) Received: from mail.borderware.com (mail.borderware.com [207.236.65.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3958043D48 for ; Wed, 11 Jan 2006 20:01:14 +0000 (GMT) (envelope-from bmw@borderware.com) Message-ID: <43C56407.7080108@borderware.com> Date: Wed, 11 Jan 2006 15:01:11 -0500 From: Bruce Walker Organization: BorderWare Technologies Inc. User-Agent: Mozilla Thunderbird 1.0.7 (Macintosh/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <3e1162e60601061523k742d46cdreade7fb276232f13@mail.gmail.com> <43C53E09.9020108@borderware.com> In-Reply-To: <43C53E09.9020108@borderware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: if_bridge FreeBSD 6.0 on a Broadcom interface not working 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: Wed, 11 Jan 2006 20:01:15 -0000 Bruce Walker wrote: > [if_bridge trouble with] two Intel Ether Express Pro/1000 interfaces. > Previously, I was fiddling with if_bridge bridging in a box (HP VLi8) > with the built-in 3Com i/f (xl0) and an add-in PRO/1000 card (em0). > That worked great. So I have now duplicated that config in a > Supermicro board (X6DHP-8G2; single 3.2 GHz Xeon) with three PRO/1000 > interfaces, using em0 and em1. > > As soon as I boot up with em0 and em1 added to the bridge0 interface, > I lose IP connectivity. Interestingly, I can ping hosts by IP > address. But all attempts to do anything else, eg NTP, DNS or ssh are > futile. I have some more specific info now, and a workaround! :-) This box actually has three working PRO/1000 interfaces. So I tried avoiding adding em0 (my inet "ssh interface") to the bridge, and voila! ... it works. If I create a bridge from em1 and em2 only, then everything is jim-dandy. Looks like: ne# ifconfig -a em0: flags=8943 mtu 1500 options=b inet6 fe80::230:48ff:fe2e:998c%em0 prefixlen 64 scopeid 0x1 inet 10.1.11.205 netmask 0xffff0000 broadcast 10.1.255.255 ether 00:30:48:2e:99:8c media: Ethernet autoselect (1000baseTX ) status: active em1: flags=8943 mtu 1500 options=b inet6 fe80::230:48ff:fe2e:998d%em1 prefixlen 64 scopeid 0x2 ether 00:30:48:2e:99:8d media: Ethernet autoselect (100baseTX ) status: active em2: flags=8943 mtu 1500 options=b inet6 fe80::230:48ff:fe42:d992%em2 prefixlen 64 scopeid 0x3 ether 00:30:48:42:d9:92 media: Ethernet autoselect (1000baseTX ) status: active lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 bridge0: flags=8041 mtu 1500 ether ac:de:48:47:be:24 priority 32768 hellotime 2 fwddelay 15 maxage 20 member: em2 flags=3 member: em1 flags=3 ne# The reason that em0 is in promiscuous mode here is because I'm running tcpdump on it to see if the act of putting it in promiscuous mode nukes it. It does not harm it at all, so that aspect of bridging it is not at fault. So my workaround is to connect em0 and em1 in parallel to the same switch, and use em2 to bridge over to my test net. As long as I don't add my inet IP-numbered interface (em0) to the bridge, I'm good to go. Pretty strange. Cheers!