[Dnsmasq-discuss] dhcp-host precedence request due multiple matches

Geert Stappers stappers at stappers.nl
Mon Jun 21 18:22:09 UTC 2021


On Mon, Jun 21, 2021 at 05:09:49PM +0100, Jesus M Diaz wrote:
> On Mon, 21 Jun 2021 at 14:54, Alex Morris wrote:
> > On Mon, 21 Jun 2021, at 13:42, Jesus M Diaz wrote:
> > >
> > > so, if I have two virtual computers running over the same hardware,
> > >
> >
> > ...then your hypervisor ought to provide unique MAC addresses for each
> > guest NIC.
> >
> > >
> > > what should be used as identifier for dnsmasq?
> > >
> >
> > The unique MAC address allocated by the hypervisor to the guest NIC.
> >
> 
> I never talked of VM on purpose, because they are not VM (hence, no
> hypervisor or any other controller plane). Indeed I talked of live linux
> distributions running on USB that I only use for very specific tasks, and
> of course, I run them over physical machines, but these physical
> machines are usually running their own OS.
> 
> But all this, imho, is not relevant at all, it was explained just to
> express that *sometimes* it might happen that one DHCP request matches more
> than one dhcp-host entry in the dnsmasq.con file. That is the only relevant
> situation, and my question was: is there any way to set a precedence among
> the potentially matching dhcp-hosts entries?


That in my words
} I made some conflicting configuration.
} Is there a way to change behaviour in precedence?


Yes.  It is called modification of a programm.




More information about the Dnsmasq-discuss mailing list