[Dnsmasq-discuss] dhcp-host ipv6 not get assigned yet ipv4 does
Glen Huang
heyhgl at gmail.com
Sat Oct 19 19:50:48 UTC 2024
I have this flag set
dhcp-host=example,[::10],192.168.1.10
and my machine correctly gets 192.168.1.10 for ipv4, but gets a random
ipv6 address from the dhcp-range flag. Seems the ipv6 in dhcp-host is
simply ignored. Any idea why that could happen?
Here is my full config:
bind-dynamic
bogus-priv
dhcp-authoritative
dhcp-fqdn
dhcp-host=example,[::10],192.168.1.10
dhcp-leasefile=/var/lib/dnsmasq/dnsmasq.leases
dhcp-option=option:dns-server,0.0.0.0
dhcp-option=option:domain-search,lan
dhcp-option=option6:dns-server,[fd00::]
dhcp-option=option6:domain-search,lan
dhcp-range=192.168.1.100,192.168.1.250,12h
dhcp-range=::100,::196,constructor:lan,slaac,7d
domain=lan
domain-needed
expand-hosts
local=/lan/
localise-queries
no-dhcp-interface=wan
no-resolv
port=1053
rebind-localhost-ok
server=8.8.8.8
stop-dns-rebind
More information about the Dnsmasq-discuss
mailing list