[Dnsmasq-discuss] DHCPv6 with IPv4 address in last 32 bits of IPv6 address: ideas?
john doe
johndoe65534 at mail.com
Wed Apr 22 16:47:30 BST 2020
On 4/22/2020 9:08 AM, William Edwards wrote:
>
>> Op 22 apr. 2020 om 08:41 heeft Olaf Hering <olaf at aepfle.de> het volgende geschreven:
>>
>> Am Tue, 21 Apr 2020 15:58:25 +0200
>> schrieb "William Edwards" <wedwards at cyberfusion.nl>:
>>
>>> Ideas are welcome.
>>
>> You did not say how hosts are identified, nor did you say why exactly addresses matter in your setup.
>> If it is done based on their MAC addresses, just give each host a name.
>>
>> host-record=hostname,hostname.${dns_domain},${ipv4},${ipv6_prefix}::0323:45ff:feab:cdef
>> dhcp-host=01:23:45:ab:cd:ef,set:hostname,hostname,216000
>>
>> After all this project is called DNSmasq, not DHCPmasq...
>
> Your position is clear. What I’ll probably do is write a config file in dnsmasq.d/ with dhcp-host directive from my dhcp-script, after handing out a v4 lease and replacing . with :.
>
You could also use the corresponding directory option for dhcp-host.
--
John Doe
More information about the Dnsmasq-discuss
mailing list