There has been multiple topic regarding Vlans.
I know there are various ways to do it, by bridging or using switch chip.
At this moment I have a working setup with two RB2011’s which share two vlans and are trunked. They also share 2 wireless VAP’s
I set it up with bridging. So created 2 bridges on both RB’s and put 2 vlan interfaces on ether5 (the port interconnecting the RB’s)
The bridges are having either 1 VLAN interface as assigned port and a VAP and the desired ether ports.
But since the switch chip can give me more speed I am planning to change the config.
But before I start I have one thing I do not fully understand yet.
How are the ether interface that will be the master-port and the trunking interface related?
Can I use ether2 as master when ether5 should be the trunk or should I move the trunk to be ether2?
I suppose the config should some way look like this.
Create Vlan on the switch chip, and put 1 ether interface as master over the other ones
/interface ethernet switch vlan
add switch=switch1 vlan-id=250 ports=switch1-cpu, ether2, ether3, ether4, ether5
/interface ethernet
set ether3 master-port=ether2
set ether4 master-port=ether2
set ether5 master-port=ether2If done the same on both RouterBoards and they are connected to each other over ether5, is this sufficient.
Am I correct to think that bridging the master interface with the VAP gives me the same possibilities as I have now?
Basically the way it works is when you set the “master-port” that lets the switch chip manage them. Think of it this way.. If you have ether3-5 set to master-port ether2 then your CPU only really sees ONE interface… that is ether2. The rest of it is handled in the switch chip.