× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

[REQ] I'd really like a decent DHCP server

erupter
Aspirant

[REQ] I'd really like a decent DHCP server

Hi people.
I tried downloading build essential, gcc, g++ and many other packages. But apt-get failed because of dependencies. I'm used to ubuntu were dependencies are resolved automatically.
I'd really like a decent DHCP server.
I currently use http://www.dhcpserver.de/dhcpsrv.htm which has some nifty options, especially
-static leases
-no configurability of unknown clients (a thing I'd rather keep)

Can anybody help me?
Message 1 of 7
sphardy1
Apprentice

Re: [REQ] I'd really like a decent DHCP server

Check out dnsmasq - addon available in the Community Addons forum
Message 2 of 7
erupter
Aspirant

Re: [REQ] I'd really like a decent DHCP server

Thank you for your reply.
I really want to avoid unknown clients configuration, and DNSMASQ doesn't provide this feature, or I was unable to find it.
Message 3 of 7
sphardy1
Apprentice

Re: [REQ] I'd really like a decent DHCP server

From the dnsmasq documentation

--dhcp-host=[<hwaddr>][,id:<client_id>|*][,set:<tag>][,<ipaddr>][,<hostname>][,<lease_time>][,ignore]

<snip>

The set:<tag> contruct sets the tag whenever this dhcp-host directive is in use. This can be used to selectively send DHCP options just for this host. More than one tag can be set in a dhcp-host directive (but not in other places where "set:<tag>" is allowed). When a host matches any dhcp-host directive (or one implied by /etc/ethers) then the special tag "known" is set. This allows dnsmasq to be configured to ignore requests from unknown machines using --dhcp-ignore=tag:!known Ethernet addresses (but not client-ids) may have wildcard bytes, so for example --dhcp-host=00:20:e0:3b:13:*,ignore will cause dnsmasq to ignore a range of hardware addresses. Note that the "*" will need to be escaped or quoted on a command line, but not in the configuration file.
Message 4 of 7
erupter
Aspirant

Re: [REQ] I'd really like a decent DHCP server

So in essence I should do:

--dhcp-ignore=tag:!known
--dhcp-host=...
--dhcp-host=...
--dhcp-host=...
[...]


Right?
Thanks!

A bit OT: is there any guide at configuring a readynas nv+ to build?
Message 5 of 7
sphardy1
Apprentice

Re: [REQ] I'd really like a decent DHCP server

erupter wrote:

A bit OT: is there any guide at configuring a readynas nv+ to build?

See the Developers Forum - stickies at the top discuss build environments
Message 6 of 7
erupter
Aspirant

Re: [REQ] I'd really like a decent DHCP server

Thank you, DNSMASQ is working now.
No joy with the dev environment though.
Message 7 of 7
Top Contributors
Discussion stats
  • 6 replies
  • 4389 views
  • 0 kudos
  • 2 in conversation
Announcements