* Re: [Bridge] Re :Re: Bridging partially (rx eth0 -> tx eth1)
@ 2009-12-15 18:06 richardvoigt
2009-12-15 18:41 ` [Bridge] Re :Re: " jhautbois
0 siblings, 1 reply; 2+ messages in thread
From: richardvoigt @ 2009-12-15 18:06 UTC (permalink / raw)
To: jhautbois; +Cc: bridge
On Tue, Dec 15, 2009 at 10:36 AM, <jhautbois@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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bridge] Re :Re: Re :Re: Bridging partially (rx eth0 -> tx eth1)
2009-12-15 18:06 [Bridge] Re :Re: Bridging partially (rx eth0 -> tx eth1) richardvoigt
@ 2009-12-15 18:41 ` jhautbois
0 siblings, 0 replies; 2+ messages in thread
From: jhautbois @ 2009-12-15 18:41 UTC (permalink / raw)
To: richardvoigt@gmail.com, jhautbois; +Cc: bridge
[-- Attachment #1: Type: text/plain, Size: 953 bytes --]
Le , "richardvoigt@gmail.com" <richardvoigt@gmail.com> a écrit :
> On Tue, Dec 15, 2009 at 10:36 AM, jhautbois@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?"
> 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
[-- Attachment #2: Type: text/html, Size: 1283 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-12-15 18:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-15 18:06 [Bridge] Re :Re: Bridging partially (rx eth0 -> tx eth1) richardvoigt
2009-12-15 18:41 ` [Bridge] Re :Re: " jhautbois
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox