[Dnsmasq-discuss] DHCPv6 with IPv4 address in last 32 bits of IPv6 address: ideas?
William Edwards
wedwards at cyberfusion.nl
Wed Apr 22 08:08:08 BST 2020
> 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 :.
>
> Olaf
More information about the Dnsmasq-discuss
mailing list