I use EdgeRouter-X on several locations of a mesh network with OTA links, running an olsr deamon on each EdgeRouter. The setup is rather simple: all eth ports are added to a bridge br0, which has a public IP assigned. Additionally, the vif br0.10 with a local IP address is added for managing the antennas. In order to stop direct traffic between the antennas I added "ebtables –P FORWARD DROP" to rc.local, so all traffic terminates on the br0 interface with the olsrd to handle it.
This setup works fine, however it is limited to the number of eth ports of the EdgeRouter.
I want to achieve the same thing using only 1 single eth port of the router using VLANs. Reason is simple: I have locations with more antennas, so I need the extend cableing with a managed switch.
So on my spare testing device (currently on 1.8.5beta2) I replaced physical ports ethX in the bridge br0 by the virtual inferfaces eth4.10X of one single eth port (with will be linked to the managed switch).
What I tried, but did not work (neither it worked with standard ebtables config):
-) br0 with public IP and vif 10 (with local IP for management)
-) eth4 with vif 101, 102, 103,… and vif 10 for management
-) eth4 in bridge-group br0, additionally vif 101, 102, 103,… to bridge-group br0
What is wrong with this idea and setup?
↧
Bridge several VLANs to one single bridge
↧