Re: How to remove 'router' option within a dhcpd group block
Sten Carlsen <[email protected]> Thu, 30 Jun 2022 16:29:58 +0200
| Newsgroups | gmane.network.dhcp.isc.dhcp-server |
|---|---|
| Message-ID | <[email protected]> |
> On 30 Jun 2022, at 15.16, Adam Nielsen <[email protected]> wrote: > > Hi all, > > Does anyone know if there is a way to remove a router in a group block > that was set in a subnet block, in the dhcpd config file? I put the router option in each pool, probably it will also work in groups. This works for me. > > subnet 192.168.0.0 netmask 255.255.255.0 { > option routers 1.2.3.4; > } > > group { > # Don't supply a router at all. > option routers 0.0.0.0; > > host ... > } > > Specifying 0.0.0.0 doesn't work, dhcpd still hands out 1.2.3.4 from the > subnet section. > > Is there a way to tell it to drop that option completely within the > group section? > > My reason for asking is that I have some devices that like to phone > home, and while I can block them at the router it would be nice not to > even have them try to connect to the router at all. > > Many thanks, > Adam. > -- > ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. > > dhcp-users mailing list > [email protected] > https://lists.isc.org/mailman/listinfo/dhcp-users -- ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. dhcp-users mailing list [email protected] https://lists.isc.org/mailman/listinfo/dhcp-users