Community discussions

MikroTik App
 
falz
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 56
Joined: Tue Jun 03, 2008 10:54 pm

Trunking multiple VLANs to multiple interfaces

Wed Oct 19, 2011 12:37 am

I'm attempting to configure RouterOS to have multiple VLAN interfaces with IP addresses, aka SVI in Cisco world. However, I'm also trying to have these VLANs available from multiple physical interfaces.

This seems well documented until you get the 'multiple interfaces' part. I've tried various things such as a VLAN having a bridge as a master interface, bridge has a physical interface, but it's not possible to have physical interfaces on multiple bridges.

In Cisco I would just configure this as an SVI and trunked switchports:
int VLAN123
 ip address 1.2.3.4/24
int VLAN456
 ip address 5.6.7.8/24

int Gi0/1
 switchport mode trunk
 switchport trunk allowed vlan add 123
 switchport trunk allowed vlan add 456
int Gi0/2
 switchport mode trunk
 switchport trunk allowed vlan add 123
 switchport trunk allowed vlan add 456
Help would be appreciated.
 
falz
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 56
Joined: Tue Jun 03, 2008 10:54 pm

Re: Trunking multiple VLANs to multiple interfaces

Wed Oct 19, 2011 7:22 pm

I was able to get this to work.

The key was adding multiple VLANs to a single bridge, add multiple ethernet interfaces to that bridge.

This led me to a new issue where I'm stuck. Each of these VLANs is intended to be associated with a Virtual Access Point. From what I read, you do that by associating a Vlan interface, Bridge interface, and Virtual Access Point together, and doing the same for additional Virtual Access Points.

If this is being done on a Wireless router with a single ethernet interface, how do I make it a member of both bridges?
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Trunking multiple VLANs to multiple interfaces

Thu Oct 20, 2011 1:59 am

You are overthinking this.

Create the virtual APs.

Create one VLAN interface per VAP.

Create one bridge per VAP.

Add one VLAN interface and one VAP interface to each bridge, tying them together.

Done.

The goal is to get each VAP to a certain VLAN on layer 2. So you just bridge the VAP and VLAN together. That's it.

Who is online

Users browsing this forum: Bing [Bot], laku, MrDeepFreeze and 131 guests