Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 May 2006 02:51:55 +0300
From:      Evren Yurtesen <yurtesen@ispro.net>
To:        Doug Ambrisko <ambrisko@ambrisko.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: vlan/bridge problems..
Message-ID:  <44651F9B.9060709@ispro.net>
In-Reply-To: <200605121918.k4CJITpR090718@ambrisko.com>
References:  <200605121918.k4CJITpR090718@ambrisko.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Doug Ambrisko wrote:

> Evren Yurtesen writes:
> | I tried to bridge vlan with ethernet but I am having troubles.
> | 
> | net.link.ether.bridge_cfg: fxp0:2,fxp3:2,fxp2:3,vlan0:3
> | net.link.ether.bridge: 1
> | net.link.ether.bridge_ipfw: 0
> | net.link.ether.bridge_ipf: 0
> | net.link.ether.bridge_ipfw_drop: 0
> | net.link.ether.bridge_ipfw_collisions: 0
> | 
> | fxp0 - fxp3 bridge works fine
> | vlan0 is attached to fxp3 (trunk)
> | 
> | vlan0 - fxp2 bridge doesnt work! I can ping IP of fxp2 but not to any 
> | host connected to fxp2.
> | 
> | Can this be because I am using fxp3 as a normal interface + a vlan trunk 
> | at the same time?
> 
> It wouldn't work for me since the if_vlan device call the device driver's 
> output mechanism direct and the SW input path would ignore handling of VLAN
> packets ... or atleast this used to be issues.  My machine's that I needed
> this for are patched locally to make it work.
> 
> I don't know the current state of this.  It gets to be a bit of
> a mess re-injection the packet into the stack on output with loops etc.
> The ordering of post netgraph/bridge has some issues.  It probably
> should be tagged and use that to prevent loops.
> 
> Doug A.

Well, I think vlans do not bridge on 4.x

Bridging works in 5.x/6.x but not the way that I explained here

I cant bridge 1 interface and its vlan interface at the same time.

Thanks,
Evren




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44651F9B.9060709>