Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Feb 2012 10:47:23 +0330
From:      h bagade <bagadeh@gmail.com>
To:        freebsd-net <freebsd-net@freebsd.org>
Subject:   problem with netgraph vlan tagging
Message-ID:  <CAKWOZ6Uth_tigq=zzRS%2BAy2PNUhgo4t=coCx1T1USE387qr5-A@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--0015175cac8838003804b9c4ab2d
Content-Type: text/plain; charset=ISO-8859-1

Hi all,

I have designed a topology(illustrated below) using netgraph to add vlan2
tag to the frames coming from eth0 and send it to eth1 to go out of the
box. it works fine.

[image: Inline image 1]

Then I tried to add another interface like eth0 which named eth2 to be
tagged vlan2 too. Then I bridged eth0 and eth2 using ifconfig. When traffic
comes from eth0(system1) to the destination eth2(system2), all traffic also
sent out eth1 which is not suitable!
In the mentioned scenario, I don't want the traffic pass to the eth1. Is
there any way that eth1 recognize which mac addresses don't belong to this
box then sends the traffic out? I mean I want to send taraffic out of eth1
when the destination is not accessible via FreeBSD box so it should be sent
out to be find out.

Any comments or hints are really appreciated

p.s. I use netgraph on freebsd 8.2 box.

--0015175cac8838003804b9c4ab2d--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKWOZ6Uth_tigq=zzRS%2BAy2PNUhgo4t=coCx1T1USE387qr5-A>