Community discussions

MikroTik App
 
FedericoCoppola
just joined
Topic Author
Posts: 5
Joined: Sat Sep 22, 2018 1:32 pm
Location: Turin,Italy

Problem with DHCP server and virtual AP

Sun Oct 07, 2018 6:52 pm

Hi guys,
I am learning RouterOS and I am doing some test with a RouterBoard hAP ac lite.

I have created a virtual AP and after that I have created a new bridge and DHCP server.

I would that this wifi network of this virtual AP has got a different subnet of the ethernet LAN, in my case "wifi-ospiti" is 10.0.0.0/24 and ethernet LAN is 172.16.0.0./24

Now it is not working properly becouse when I am connected to the Wifi network ( "wifi-ospiti" ) I receive the same IP subnet of the ethernet..

Someone can help me?
Thanks so much

p.s. There are some photoes attached to this post
You do not have the required permissions to view the files attached to this post.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11598
Joined: Thu Mar 03, 2016 10:23 pm

Re: Problem with DHCP server and virtual AP

Sun Oct 07, 2018 7:54 pm

Are you using different address pool for guest wifi?
 
mixig
Member
Member
Posts: 315
Joined: Thu Oct 27, 2011 2:19 pm

Re: Problem with DHCP server and virtual AP

Mon Oct 08, 2018 11:59 am

Please export the full configuration of your router so that we can see all your settings
 
User avatar
AminYounessi
Trainer
Trainer
Posts: 55
Joined: Wed Nov 23, 2016 7:39 am

Re: Problem with DHCP server and virtual AP

Mon Oct 08, 2018 1:25 pm

Hi Federico,

Why you setup a bridge interface for WIFI users? If you have one router directly connected to your wireless clients an you want to use virtual-AP with 10.0.0.0/24 different from your Local client's, So you just need to set your DHCP-Server on your virtual-AP.

Best Regards,
 
georgekb
just joined
Posts: 2
Joined: Tue Oct 09, 2018 12:05 am

Re: Problem with DHCP server and virtual AP

Tue Oct 09, 2018 1:37 am

you have to go to addresses , find the subnet that you created on your dhcp server and that want to use it on your virtual access point and add your virtual access point as interface on this subnet

Sent from my Mi A1 using Tapatalk

 
FedericoCoppola
just joined
Topic Author
Posts: 5
Joined: Sat Sep 22, 2018 1:32 pm
Location: Turin,Italy

Re: Problem with DHCP server and virtual AP

Tue Oct 09, 2018 12:32 pm

Thanks for the support!
Are you using different address pool for guest wifi?
Yes, I have configured a different address pool for the guest wifi and the subnet is 10.0.0.0/24
Why you setup a bridge interface for WIFI users? If you have one router directly connected to your wireless clients an you want to use virtual-AP with 10.0.0.0/24 different from your Local client's, So you just need to set your DHCP-Server on your virtual-AP.
It was a test and I tried to follow this way to solve the problem becouse I could not set DHCP server for a Virtual Interface

Finally I have attached in text file my configuration.

Federico
You do not have the required permissions to view the files attached to this post.
 
FedericoCoppola
just joined
Topic Author
Posts: 5
Joined: Sat Sep 22, 2018 1:32 pm
Location: Turin,Italy

Re: Problem with DHCP server and virtual AP

Sun Oct 21, 2018 11:27 pm

I have apply some modify to the configuration on my Mikrotik and now the DHCP server is working fine about Virtual AP.
I have attached the configuration.

The way to create DHCP server for virtual interface is:
IP > DHCP Server > DHCP Config > set parameters as IP Network, DNS...
Then I have configured firewall to forward all data from this virtual AP.

Thanks for the help
FedericoCoppola
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: ShindigNZ and 63 guests