[Dnsmasq-discuss] Reserved IP Addresses for Specific DHCP Clients without a Connection to the Subnet

Rich Otero rotero at editshare.com
Mon Oct 31 13:31:32 UTC 2022


>
> Plain v2.87  or v2.87 with the fix from git repo?


I'm using a plain v2.87 binary built on my server with COPTS=’-DHAVE_DBUS
-DHAVE_DNSSEC’. I am not using dhcp-rapid-commit, so I haven't taken
Simon's fix for that.

-Rich

On Sat, Oct 29, 2022 at 4:59 PM Geert Stappers via Dnsmasq-discuss <
dnsmasq-discuss at lists.thekelleys.org.uk> wrote:

> On Fri, Oct 28, 2022 at 06:44:36PM -0400, Rich Otero via Dnsmasq-discuss
> wrote:
> >  On Thu, Oct 27, 2022 at 7:15 AM Simon Kelley wrote:
> > > On 27/10/2022 11:49, Simon Kelley wrote:
> > > > Rich Otero:
> > > > >  .... dnsmasq v2.75 ...
> > > >  ....
> > > > strange things were happening, which I'll look into now, so make sure
> > > > you don't have that. (I might have found a bug for my efforts).
> > > >
> > >
> > > I did indeed find a bug, and if you _are_ using rapid commit, that
> might
> > > be a problem, I doubt you are. The fix is in the git repo now.
> > >
> >
> > I think I've arrived at a solution. With v2.87
>
> Plain v2.87  or v2.87 with the fix from git repo?
>
>
> > and the following configuration, clients are now receiving
> > the expected leases:
> >
> > # /etc/dnsmasq.d/172.18.0.0-16
> > dhcp-range=set:172.18.15.0-24,172.18.15.0,static,255.255.255.0
> > shared-network=enp2s0,172.18.15.0
> >
> >
> > # /etc/dhcp-hosts/172.18.15.0-24
> > 00:c0:b7:f1:0f:65,rack7-pdu1
> > 00:c0:b7:f1:a3:71,rack7-pdu2
> >
> >
> > # /etc/dhcp-opts/172.18.15.0-24
> > tag:172.18.15.0-24,option:router,172.18.15.1
> >
> >
> > # /etc/static-hosts/172.18.15.0-24
> > 172.18.15.106 rack7-pdu1
> > 172.18.15.107 rack7-pdu2
> >
> >
>
> Thanks for sharing that.
>
>
>
> > This leads me to another question:
>
> To be put in fresh thread  ...
>
>
> > There are 129 other subnets whose gateway IP addresses will be moved
> > away from the dnsmasq server. Is it allowed to have many shared-network
> > directives in the config?
> >
> > shared-network=enp2s0,172.18.0.0
> > shared-network=enp2s0,172.18.1.0
> > shared-network=enp2s0,172.18.2.0
> >   < … >
> > shared-network=enp2s0,172.18.125.0
> > shared-network=enp2s0,172.18.126.0
> > shared-network=enp2s0,172.18.127.0
> > shared-network=enp2s0,172.18.128.0
> >
> >
> > Thanks again for all of the help.
>
> ???
>
>
> Groeten
> Geert Stappers
> --
> Silence is hard to parse
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20221031/54a88b01/attachment.htm>


More information about the Dnsmasq-discuss mailing list