Community discussions

MikroTik App
 
jilexandr
just joined
Topic Author
Posts: 5
Joined: Sat Jun 18, 2022 9:44 pm

Add DHCP server for access point in the network

Tue Jun 21, 2022 10:08 am

On the picture is a minimal representation of my network.

My Mikrotik has 1 DHCP server with pool 192.168.10.2-192.168.10.254

The WIFI access point (it's public WIFI without password) you see on the picture is without DHCP server, has an auto assigned IP 192.168.10.205 and all clients connected through that access point receive IP address from single DHCP server.

My goal is to create second DHCP server for access point with pool 192.168.11.2-192.168.11.254, it must be isolated from my local network

Any ideas how to configure that?
You do not have the required permissions to view the files attached to this post.
 
erlinden
Forum Guru
Forum Guru
Posts: 1920
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: Add DHCP server for access point in the network  [SOLVED]

Tue Jun 21, 2022 10:21 am

Isolation is not achieved by only a different IP range. The preferred (at least by me) way is to introduce VLAN's. Bit complicated, but once you understand it will make your life a lot easier. Here is a great topic describing examples:
viewtopic.php?f=23&t=143620
 
jilexandr
just joined
Topic Author
Posts: 5
Joined: Sat Jun 18, 2022 9:44 pm

Re: Add DHCP server for access point in the network

Tue Jun 21, 2022 12:56 pm

Isolation is not achieved by only a different IP range. The preferred (at least by me) way is to introduce VLAN's. Bit complicated, but once you understand it will make your life a lot easier. Here is a great topic describing examples:
viewtopic.php?f=23&t=143620
I heard about VLAN but wasn't sure it may help, I need to investigate your link, thanks!

But what if discard rule about "network isolation" is it even possible to configure Mkrotik to have separated DHCP server for clients connected through some access point? Maybe traffic contains MAC of access point and this can be used. I bought Microtik a few days ago so don't have enough skills in networks configuration.
 
erlinden
Forum Guru
Forum Guru
Posts: 1920
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: Add DHCP server for access point in the network

Tue Jun 21, 2022 1:12 pm

As client isolation seemed to be your main requirement, VLAN is the way to go. Don't understand the benefit of having a dedicated DHCP server for your public wireless network, but sure...:
Remove LAN2 from the bridge and attach the second DHCP server to the LAN2 interface.
 
jilexandr
just joined
Topic Author
Posts: 5
Joined: Sat Jun 18, 2022 9:44 pm

Re: Add DHCP server for access point in the network

Tue Jun 21, 2022 2:29 pm

As client isolation seemed to be your main requirement, VLAN is the way to go. Don't understand the benefit of having a dedicated DHCP server for your public wireless network, but sure...:
Remove LAN2 from the bridge and attach the second DHCP server to the LAN2 interface.
I can't use physical interface LAN 2 of Mikrotik, AP is not only one device connected to that switch. I also have 3 home WiFi routers, 7 IP cameras (own POE switch), etc. they all are connected to that switch too. Everything except AC on the picture must be in the network 192.168.10.0/24

I can't configure physical network differently, at least for now.
 
erlinden
Forum Guru
Forum Guru
Posts: 1920
Joined: Wed Jun 12, 2013 1:59 pm
Location: Netherlands

Re: Add DHCP server for access point in the network

Tue Jun 21, 2022 2:38 pm

I can't configure physical network differently, at least for now.
Then VLAN is the option.

Who is online

Users browsing this forum: BioMax, hatred, mtkvvv and 41 guests