using EBTABLES to route traffic to specific VLAN

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

 



Hi,
I have the following configuration:
* eth1 connected to the LAN #1
* eth2 connected to the LAN #2 & LAN #3 usinf VLAN Tagging (802.1q) -
this NIC is configured with VLAN Tagging and connected to VLAN 20 &
VLAN 30
* I configured bridge br0 between eth1 and eth2.20 and eth2.30


I would like to use ebtables to do the following:
* All traffic coming from LAN#2 and directed to 192.168.0.0/24 needs
to go through eth2.20 and all the rest through eth2.30

Is there a way to do it with only ebtables?

Do I must use iptables as well?

I am using centos 5.2.

Can someone send me an example how to do it?

Thanks

HU
--
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