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

Andrew Miskell andrewmiskell at mac.com
Mon Jun 21 13:50:15 UTC 2021


Virtual machines usually generate their own MAC addresses for their virtual network cards in bridge mode. So the MAC would be the identifier. They don’t share a MAC address with the host itself. 

Sent from my iPhone

> On Jun 21, 2021, at 09:02, Jesus M Diaz <jesusm.diazperez at gmail.com> wrote:
> 
> 
> so, if I have two virtual computers running over the same hardware, what should be used as identifier for dnsmasq? the physical mac-address (just one, as it is just one physical card)? the dhcp-client-id or hostname (configurable as per logical device level)?
> 
> That's exactly my point, that there might be where more than one dhcp-host entry match the DHCP request.
> 
> Thanks
> 
>> On Mon, 21 Jun 2021 at 13:23, <wkitty42 at gmail.com> wrote:
>> On 6/21/21 3:05 AM, Jesus M Diaz wrote:
>> > - *My point of view:   Each computer has a (dnsmasq) DNS entry, the entry gets 
>> > in DNS by DHCP of dnsmasq*. What a computer is? the physical instance or the 
>> > virtual one? the hardware or the software? This is the key to my scenario. And I 
>> > totally agree with you: each computer should have one entry, the problem is the 
>> > definition of 'each computer'.
>> 
>> computers are devices and devices are computers... virtual or otherwise... it is 
>> not so hard a definition ;)
>> 
>> -- 
>>   NOTE: No off-list assistance is given without prior approval.
>>         *Please keep mailing list traffic on the list unless*
>>         *a signed and pre-paid contract is in effect with us.*
>> 
>> _______________________________________________
>> Dnsmasq-discuss mailing list
>> Dnsmasq-discuss at lists.thekelleys.org.uk
>> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
> _______________________________________________
> 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/20210621/a0c65608/attachment.htm>


More information about the Dnsmasq-discuss mailing list