* [Bridge] Bridging partially (rx eth0 -> tx eth1)
@ 2009-12-15 9:32 jhautbois
2009-12-15 16:28 ` richardvoigt
0 siblings, 1 reply; 4+ messages in thread
From: jhautbois @ 2009-12-15 9:32 UTC (permalink / raw)
To: bridge
[-- Attachment #1: Type: text/plain, Size: 570 bytes --]
Hi there,
I'm new on the mailing list, but this is not a good reason to be quiet :-).
I'm very interested in the bridging functionnality of the Linux kernel.
I am wondering f it is possible to bridge "partially".
I mean : I would like to have all the traffic from the RX of my eth1 card
directly sent out through the TX of my eth0 card.
But I would like to receive the frames from the RX of eth0 thanks to a
PF_PACKET socket.
Is this possible with the bridging system ?
I don't think so, but I haven't foud out the answer...
Thanks in advance !
Best Regards.
JM
[-- Attachment #2: Type: text/html, Size: 661 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bridge] Bridging partially (rx eth0 -> tx eth1)
2009-12-15 9:32 [Bridge] Bridging partially (rx eth0 -> tx eth1) jhautbois
@ 2009-12-15 16:28 ` richardvoigt
2009-12-15 16:36 ` [Bridge] Re :Re: " jhautbois
0 siblings, 1 reply; 4+ messages in thread
From: richardvoigt @ 2009-12-15 16:28 UTC (permalink / raw)
To: jhautbois; +Cc: bridge
On Tue, Dec 15, 2009 at 3:32 AM, <jhautbois@gmail.com> wrote:
> Hi there,
>
> I'm new on the mailing list, but this is not a good reason to be quiet :-).
> I'm very interested in the bridging functionnality of the Linux kernel.
> I am wondering f it is possible to bridge "partially".
>
> I mean : I would like to have all the traffic from the RX of my eth1 card
> directly sent out through the TX of my eth0 card.
> But I would like to receive the frames from the RX of eth0 thanks to a
> PF_PACKET socket.
>
> Is this possible with the bridging system ?
> I don't think so, but I haven't foud out the answer...
ebtables can select which traffic gets bridged.
>
> Thanks in advance !
> Best Regards.
> JM
> _______________________________________________
> Bridge mailing list
> Bridge@lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/bridge
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bridge] Re :Re: Bridging partially (rx eth0 -> tx eth1)
@ 2009-12-15 18:06 richardvoigt
0 siblings, 0 replies; 4+ 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] 4+ messages in thread
end of thread, other threads:[~2009-12-15 18:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-15 9:32 [Bridge] Bridging partially (rx eth0 -> tx eth1) jhautbois
2009-12-15 16:28 ` richardvoigt
2009-12-15 16:36 ` [Bridge] Re :Re: " jhautbois
-- strict thread matches above, loose matches on Subject: below --
2009-12-15 18:06 richardvoigt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox