Forums

Resolved
0 votes
Hello all,

I'll have to manage (dhcp) a specific vlan of our school. This vlan is multi-site (3) managed by cisco routers (same lan). Every site has it's own subnet. I need to configure my dchp to a attrib different IP adresses according to the vlan the request comes from. It seems (I'mw waiting for the confirmation of that) that the routers have the dhcp-helper activated to route the dhcp requests to my dhcp server. Is
If enter the dhcp-option=eth1,xxx and all parameters for my different subnets, will it be enought to deliver different ip addresses on each subnet ?

2. It seems that dnsmasq is made for small networks ,, so would it be possible to replace dnsmas with another dhcp system ( isc-dhcp for example) ?
thanks to all
Sunday, January 19 2020, 07:11 PM
Share this post:
Responses (4)
  • Accepted Answer

    Tuesday, January 21 2020, 08:40 AM - #Permalink
    Resolved
    0 votes
    I'm not sure if there is much to maintain. The docs site is off line at the moment (and is why the main site is performing so well ........), but when it comes back up there is an article in the kb which implies all you need to do is stop dnsmasq and keep it stopped. Here is a temporary link to the article. The chkconfig command is a bit OTT and "chkconfig dnsmasq off" (or "systemctl disable dnsmasq") should do.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, January 21 2020, 08:19 AM - #Permalink
    Resolved
    0 votes
    ok, thanks to all for these informations..
    It seems very interesting .. but I wonder I would habe time to dig there and especially to maintain the system during updates, etc ...

    But thanks to all for your help :)
    The reply is currently minimized Show
  • Accepted Answer

    Monday, January 20 2020, 12:46 AM - #Permalink
    Resolved
    0 votes
    Not sure if this will help but anyway, I don't use vlans any more, but do have 3 sub-nets in my home/office environment for clients - 192.168.1.0/24, 192.168.2.0/24 and 192.168.3.0/24. Have two dhcpd servers, both of which can provide addresses on all three subnets. They are running ISC's dhcpd, as Nick indicated, and have a master/slave synchronizing relationship. Each client has a specific number for the last position in the guad-dotted address. Addresses are assigned by MAC. For example my Windows 8.1 laptop is assigned 39. So if it is connected to the 192.168.1.0/24 sub-net it receives a 192.168.1.39 address, similarly 192.168.2.39 or 192.168.3.39 when connected to either of the two other sub-nets.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, January 19 2020, 09:11 PM - #Permalink
    Resolved
    0 votes
    Tony Ellis uses isc-dhcp, so it should be possible. It just won't integrate with the ClearOS webconfig. I have seen another system where Webmin was used to administer it. If you do install Webmin, do not be tempted to administer flexshares with it.
    The reply is currently minimized Show
Your Reply