From owner-freebsd-net@FreeBSD.ORG Wed Jan 18 20:28:09 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 5CDEE16A41F for ; Wed, 18 Jan 2006 20:28:09 +0000 (GMT) (envelope-from ambrisko@ambrisko.com) Received: from mail.ambrisko.com (mail.ambrisko.com [64.174.51.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5723443D4C for ; Wed, 18 Jan 2006 20:28:07 +0000 (GMT) (envelope-from ambrisko@ambrisko.com) Received: from server2.ambrisko.com (HELO www.ambrisko.com) ([192.168.1.2]) by mail.ambrisko.com with ESMTP; 18 Jan 2006 12:28:07 -0800 Received: from ambrisko.com (localhost [127.0.0.1]) by www.ambrisko.com (8.12.11/8.12.9) with ESMTP id k0IKS6OY073020; Wed, 18 Jan 2006 12:28:06 -0800 (PST) (envelope-from ambrisko@ambrisko.com) Received: (from ambrisko@localhost) by ambrisko.com (8.12.11/8.12.11/Submit) id k0IKS6Nf073019; Wed, 18 Jan 2006 12:28:06 -0800 (PST) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200601182028.k0IKS6Nf073019@ambrisko.com> In-Reply-To: To: Sten Spans Date: Wed, 18 Jan 2006 12:28:06 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Cc: freebsd-net@freebsd.org, Dave Raven Subject: Re: em driver + VLAN's 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, 18 Jan 2006 20:28:09 -0000 Sten Spans writes: | On Wed, 18 Jan 2006, Doug Ambrisko wrote: | > Dave Raven writes: | > | FreeBSD 4.9 - char em_driver_version[] = "1.7.16"; | > | | > | I've tried multiple bridge configurations - from bridging just em0,em1 to | > | bridging two vlan's attached to each card. Unfortunately I don't have access | > | to the box at the moment - if its still necessary I will fetch the | > | information tomorrow (ifconfig etc) | > | | > | To sum up its something like the following | > | net.inet.ether.bridge_config=em0,em1 | > | net.inet.ether.bridge=1 | > | | > | Or vlan0,vlan1 with: | > | ifconfig vlan0 create | > | ifconfig vlan1 create | > | ifconfig vlan0 vlan 100 vlandev em0 | > | ifconfig vlan1 vlan 100 vlandev em1 | > | | > | | > | If I change to using fxp it immediately works.. | > | > I think you will find you are bridging in promiscous mode and the | > HW VLAN stuff isn't there. You should try to bridge the vlan devices | > or disable the VLAN HW (driver hack). It works with the fxp0 since you | > are using SW VLAN so the HW part isn't grabing it. I've done the driver | > hack for some things I needed to do. | | what about vlanhwtag (ifconfig) ? | according to the em manpage it is disabled by default | so this setup should work. I'm not sure ... things have changed over time. Doug A.