Skip to contentSkip to conversation

Bridging partially (rx eth0 -> tx eth1)

Bridge [email protected] 2 participants 3 messages Dec 15, 2009 Ethernet bridge

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 6 lines · On Tue, Dec 15, 2009 at 3:32 AM, <[email protected]> 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".

Quoted 7 lines

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.

Quoted 9 lines

Thanks in advance !
Best Regards.
JM
_______________________________________________
Bridge mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/bridge

#2 lore raw
Quoted 1 line

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 ?

I am still looking at the doc.

JM