Community discussions

MikroTik App
 
dmjita
just joined
Topic Author
Posts: 16
Joined: Mon Nov 12, 2012 6:03 pm

Mant 19 Dual ssid dual vlan

Tue Mar 08, 2016 7:20 pm

I need some information about RB921GS-5HPacD-19s i want to have 2 ssid and route it to a specific vlan.
Example

ssid(main) vlan 100
ssid(secondary) vlan 101

the ethernet cable will be connected to a routerboard
ether5 then i want to have ether1 associated to vlan 101 and ether2 to vlan 100.

it is possible to do that with the Mant?

Thaks to all
 
User avatar
pukkita
Trainer
Trainer
Posts: 3051
Joined: Wed Dec 04, 2013 11:09 am
Location: Spain

Re: Mant 19 Dual ssid dual vlan

Tue Mar 08, 2016 7:39 pm

Yes, as long as both SSIDs share the same channel.
 
dmjita
just joined
Topic Author
Posts: 16
Joined: Mon Nov 12, 2012 6:03 pm

Re: Mant 19 Dual ssid dual vlan

Tue Mar 08, 2016 7:53 pm

Do you have some code example i can follow? i never done some kind of configuration. can i do some test on a hap lite?
 
User avatar
pukkita
Trainer
Trainer
Posts: 3051
Joined: Wed Dec 04, 2013 11:09 am
Location: Spain

Re: Mant 19 Dual ssid dual vlan

Wed Mar 09, 2016 10:57 am

Forgot to add another restriction: you cannot use NV2 (No virtual AP support, see http://wiki.mikrotik.com/wiki/Manual:In ... AN_tagging).

To make the mANT to tag properly, each wireless interface VLAN ID property must be set, along with VLAN Mode = use service tag, that will make the mANT to tag packets coming from each "AP" stations with the proper VLAN ID.

On the Hap: there are two ways of deailing with VLANs, a "hardware" way, by using the specific routerboard switch chip features (http://wiki.mikrotik.com/wiki/Manual:Sw ... p_Features) which doesn't impose any burden on the routerboard CPU, or a "software" way (http://wiki.mikrotik.com/wiki/Vlans_on_ ... nvironment), that does load the CPU, but usually much more intuitive to set up and manage.

To deal with this in the software way:

On the Hap Lite all you need is to create:

1.- Two vlan interfaces "hanging" from the ether interface the mANT connects to (Say ether4).

To do this, go to Interfaces, plus button on the top left...), name one VLAN100m (id 100) and another VLAN101m (id 101).

2.- Create a vlan interface "hanging" from ether1 Vlan id 101, say VLAN101h
3.- Create a vlan interface, "hanging" from ether2 Vlan id 100, say VLAN100h

4.- Create two bridges, say BrVLAN100 and BrVLAN101; put VLAN101h and VLAN101m on BrVLAN101, and VLAN100m and VLAN100h on BrVLAN100

At this point you will have traffic for each VLAN bridged. If you want to assign IPs, you should do it on the BrVLANXXX bridge devices.
Last edited by pukkita on Wed Mar 09, 2016 10:18 pm, edited 1 time in total.
 
dmjita
just joined
Topic Author
Posts: 16
Joined: Mon Nov 12, 2012 6:03 pm

Re: Mant 19 Dual ssid dual vlan

Wed Mar 09, 2016 7:49 pm

thanks for the link of the mikrotik manual, i could not find it.

trying to make the hap wifi act like in the mant will cause me problem?, i will just test the hap as wifi + swich all in one to make a test rig before deploying soemthign i have in mind.
 
User avatar
pukkita
Trainer
Trainer
Posts: 3051
Joined: Wed Dec 04, 2013 11:09 am
Location: Spain

Re: Mant 19 Dual ssid dual vlan

Wed Mar 09, 2016 10:17 pm

No problem at all, you can reset it to (no) defaults anytime you wish.

On ROS is very easy to see system configuration at a glance, just open a New terminal inside winbox, or connect via SSH, then type export, all the cli commands needed to reach the current configuration will be displayed.

Who is online

Users browsing this forum: beeman, D3nkis and 76 guests