Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 15133

General • Re: Struggling with additional WiFI Subnets

$
0
0
Thanks! Yeah that is a great thread and it's one that I've been referencing.

What I am trying to do though is retrospectively add a VLAN to a non-VLANned config (thinking back, I wish I'd found that thread before I rolled out my router, but the idea of starting again even though its quite a simple config is just undesirable)

So lets consider if I just want to add 1 VLAN, in the example of a single AP in the linked thread there is the mention of Blue VLAN, Green VLAN, etc.

So given the config I supplied above, where there is no mention of VLANs, can I do something like:

Create the SSID:
Code:
/interface wifi add configuration.ssid=GUEST disabled=no  master-interface=wifi1 name=wifi3/interface wifi add configuration.ssid=GUEST disabled=no  nmaster-interface=wifi2 name=wifi4
Add it to the existing bridge I have with VLAN 10:
Code:
/interface bridge port add bridge=bridge interface=wifi3 pvid=10/interface bridge port add bridge=bridge interface=wifi4 pvid=10
Interface creation, IP assignment, and DHCP service
Code:
/interface vlan add interface=bridge name=GUEST_VLAN vlan-id=10/ip address add interface=GUEST_VLAN address=10.0.10.1/24/ip pool add name=GUEST_POOL ranges=10.0.10.2-10.0.10.254/ip dhcp-server add address-pool=GUEST_POOL interface=GUEST_VLAN name=GUEST_DHCP disabled=no/ip dhcp-server network add address=10.0.10.0/24 dns-server=192.168.0.1 gateway=10.0.10.1
+ firewalling but I am comfortable with that already

Does the above work while letting the current config continue?

Statistics: Posted by jdub88 — Thu Jan 18, 2024 7:39 pm



Viewing all articles
Browse latest Browse all 15133

Trending Articles