> On Tue, Dec 15, 2009 at 10:36 AM, jhautbois@xxxxxxxxx> 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?"
>
>
> look at the -i and --physdev-in options
>
I would like to do something like that :
-->| eth0 |-------IP-->| Host |--->Some treatment based on sockets
| |------Everything else------>| eth1|-->
-->| eth1 | ---> | eth0 |
I think I can do that only with -i and -physdev-in.
I will think about it.
JM
_______________________________________________ Bridge mailing list Bridge@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/bridge