ebtables rule to forward the frames to specific interface.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm relatively new to use ebtables. please give some suggestion on the
below scenario.

Frames arrived on any of the interfaces (eth0, eth1, eth2) should
always be forwarded to a specific interfaces eth4 all the time
regardless of its destination address(at the L2 level). for example,
the ethernet frame arrives at eth0, though it can be forwarded to eth1
to reach the destination based on the bridge table, it should be
forwarded to eth4 all the time and the device connected at the other
end of eth4 will decide on the routing.

looking for a suitable ebtables rule options which can help in
achieving the same.

--out-if or the redirect option will be helpful for the above needs?.
I tried some thing like below

ebtables rule to mark the frame (using --mark-set) with specific value
per incoming interface and with the further rule, I tried to retarget
the frames to eth4 using --out-if option. But this didn't help.

Please suggested on the ebtables options for the above scenario.

Thanks

Arun.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux