Community discussions

MikroTik App
 
butteryak
newbie
Topic Author
Posts: 40
Joined: Fri Sep 12, 2008 1:16 am

Add Vlans to existing network

Sat Nov 11, 2017 7:55 am

hello,
Attempting to jump into the world of VLANs and a bit confused on how to start. A quick explanation of what I have existing and where I wanna go, and perhaps someone can point me in the right direction.

I have RouterOS installed on a two-port ALIX PC. ether1 = WAN ether2 = LAN. My LAN network is at 192.168.1.1/24

I'm wanting to add an additional network as a VLAN to ether2, basically creating a second network for guests. I have VLAN capable AP's (multiple SSID) and switches. I basically want to serve up two separate networks on my AP.

My question is....is it as simple as creating the VLAN and attaching it to ether2, giving it an address, DHCP server? Or do I need to take the existing network on ether2 and turn it into a VLAN and attach both my regular network and guest network to ether2 and creating a vlan trunk....?

Bear with me if my comprehension and wording is off, just trying to wrap my head around the concept of transitioning from a standard setup to integrating VLANs to an existing network.


Thanks, any point in the right direction would be greatly appreciated.
 
User avatar
Anumrak
Forum Guru
Forum Guru
Posts: 1174
Joined: Fri Jul 28, 2017 2:53 pm

Re: Add Vlans to existing network

Sat Nov 11, 2017 10:40 am

Hey. If you need to create new network on wlan interface, you need just create a virtual interface in "Wireless - Interfaces" tab and assign a network to it and the dhcp server, without VLANs. VLAN is always means a network. If you want to bind second network with dhcp server to you router not to wlan virtual interface, you have to split them in two VLANs and assign the networks to VLAN interface same as a dhcp server. Or, you can transfer one of your network on other router, then you don't need the VLANs at all.
 
butteryak
newbie
Topic Author
Posts: 40
Joined: Fri Sep 12, 2008 1:16 am

Re: Add Vlans to existing network

Sat Nov 11, 2017 9:26 pm

Thanks for your response. But I think it may have confused me more ;-)

To be clear there is not a WLAN interface on the router. The wireless is being handled by an external AP. Basically what i have is this:
Image

And this is what I'm hoping to accomplish:
Image

I guess what I'm trying to figure out is, can I just attach a VLAN to the existing network on ether2 (192.168.1.1)? Or do I need to create two separate VLANs 192.168.1.1 and 10.x.x.x and attach them to ether2.
I only have two ports on my board. I'm realizing now that having an additional port would be handy, that way I could retain my managment on ether 2 and create vlans on ether 3 (if I had it) but I dont have that ability right now. So trying to figure out the best way to do this.

Thanks much
 
User avatar
Anumrak
Forum Guru
Forum Guru
Posts: 1174
Joined: Fri Jul 28, 2017 2:53 pm

Re: Add Vlans to existing network

Sat Nov 11, 2017 11:19 pm

Best way is to save ethernet interfaces and attach multiple VLANs in one ethernet interface, and assign to each VLAN a network.