[Bridge] Re :Re: Bridging partially (rx eth0 -> tx eth1)

richardvoigt at gmail.com richardvoigt at gmail.com
Tue Dec 15 10:06:58 PST 2009


On Tue, Dec 15, 2009 at 10:36 AM,  <jhautbois at gmail.com> wrote:
>> ebtables can select which traffic gets bridged.
>>
> Thnks you for answering.
> AFAIK, ebtables works like iptables, but within the L2 layer ?
> This means I could eventually send only IP (and VLAN) traffic to the host,
> and forward everything else ?

Yes, or you can match based on input interface, which solves your
original problem if you rephrase the question "how can I bridge all
packets coming in from eth0 and none coming in from eth1?"

>
> I am still looking at the doc.

look at the -i and --physdev-in options

>
> JM


More information about the Bridge mailing list