From owner-freebsd-net@FreeBSD.ORG Wed Jan 18 20:20: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 646FB16A420 for ; Wed, 18 Jan 2006 20:20:15 +0000 (GMT) (envelope-from sten@blinkenlights.nl) Received: from ford.blinkenlights.nl (ford.blinkenlights.nl [213.204.211.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id A341F43D53 for ; Wed, 18 Jan 2006 20:20:14 +0000 (GMT) (envelope-from sten@blinkenlights.nl) Received: from tea.blinkenlights.nl (tea.blinkenlights.nl [192.168.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ford.blinkenlights.nl (Postfix) with ESMTP id A70CEBDBC; Wed, 18 Jan 2006 21:20:08 +0100 (CET) Received: by tea.blinkenlights.nl (Postfix, from userid 101) id B4AD317B; Wed, 18 Jan 2006 21:20:07 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by tea.blinkenlights.nl (Postfix) with ESMTP id AE883156; Wed, 18 Jan 2006 21:20:07 +0100 (CET) Date: Wed, 18 Jan 2006 21:20:07 +0100 (CET) From: Sten Spans To: Doug Ambrisko In-Reply-To: <200601182004.k0IK4OV8071638@ambrisko.com> Message-ID: References: <200601182004.k0IK4OV8071638@ambrisko.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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:20:15 -0000 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. -- Sten Spans "There is a crack in everything, that's how the light gets in." Leonard Cohen - Anthem