Koozali.org: home of the SME Server

Multiple dhcp range ?

Offline john56

  • ***
  • 143
  • +0/-0
Multiple dhcp range ?
« on: September 17, 2019, 09:10:06 PM »
Hi, is there a way to configure two dhcp range, for example, one for ethernet computer and one for wifi computers ?
(I will have one vlan for each one).
Thanks.

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Multiple dhcp range ?
« Reply #1 on: September 18, 2019, 12:14:02 AM »
Looks like a XY poblem.

Can you instead ask what is your initial problem instead of asking to help for what you think is the solution ?

Offline john56

  • ***
  • 143
  • +0/-0
Re: Multiple dhcp range ?
« Reply #2 on: September 18, 2019, 12:18:26 AM »
seems not to have problem. A compagny wiil install some wifi access point with captive portal and ask me to separate 2 range dhcp

Offline Fumetto

  • *
  • 874
  • +1/-0
Re: Multiple dhcp range ?
« Reply #3 on: September 18, 2019, 10:16:25 PM »
A firewall distro can be a good solution...

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Multiple dhcp range ?
« Reply #4 on: September 18, 2019, 11:24:56 PM »
Quote
A firewall distro can be a good solution..

.... or alternatively, increased functionality can usually be added with custom templates.

If you do not know how to code/create them, you could pay an expert.
Many features have been added to SME server over the years by corporate sponsorship.



Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline Fumetto

  • *
  • 874
  • +1/-0
Re: Multiple dhcp range ?
« Reply #5 on: September 18, 2019, 11:35:17 PM »
Another good solution can be enable Client Isolation on AP, if this option is available on AP.

edit: this option only "secure" lan from wifi client, the question remain the same: why need dhcp separation?
« Last Edit: September 18, 2019, 11:37:31 PM by Fumetto »

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Multiple dhcp range ?
« Reply #6 on: September 18, 2019, 11:43:32 PM »
the question remain the same: why need dhcp separation?

That is my point.
Why?
What is the initial issue ?
Not enough address ? Increase the subnet.
Security? While your students are able to navigate from room to room they can connect their laptop to the wall to do whatever they want while you  prevent them to do it  on the wifi. So security zero. Only adding complexity and make it harder to administer.

Offline mmccarn

  • *
  • 2,626
  • +10/-0
Re: Multiple dhcp range ?
« Reply #7 on: September 19, 2019, 12:38:10 PM »
... A compagny wiil install some wifi access point with captive portal ...
CoovaChilli supported a separate wifi network with a captive portal -- but I have no idea if it works on SME9...

Offline bunkobugsy

  • *
  • 274
  • +4/-0
Re: Multiple dhcp range ?
« Reply #8 on: September 19, 2019, 01:29:13 PM »

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Multiple dhcp range ?
« Reply #9 on: September 19, 2019, 10:29:18 PM »
You could run grase hot spot to manage your wifi network.

https://grasehotspot.org/

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline Jean-Philippe Pialasse

  • *
  • 2,747
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Multiple dhcp range ?
« Reply #10 on: September 20, 2019, 12:20:52 AM »
As pointed out in the link to another threqd you will need another device (either a simple router or another server) to run as dhcp server

Then simply add the other network and router adresse to the list of local network if needed. 

With one more ethernet interface coova chillie could indeed handle that but with a ticket system. Not sure this is how you want to handle the wifi.