[Dnsmasq-discuss] Weird duplicate IP address warning
e9hack
e9hack at gmail.com
Sun Sep 23 10:48:10 BST 2012
Hi,
depend on the configuration, warnings like
duplicate IP address 192.168.1.4 (my-pc) in dhcp-config directive
or
duplicate IP address fec0::ffff:0:0:1:4 (my-pc) in dhcp-config directive
are in the log file. They occur, if there exist multiple entries in the hosts and config
file for the same host for IPv4 and IPv6. The logic to hit such a warning is a little bit
weird. For one host, it exist 7 combinations for the entries in hosts and config:
hosts config warning
ipv4 ipv4 -
ipv4+ipv6 ipv4 -
ipv6 ipv6 -
ipv4+ipv6 ipv6 -
ipv4 ipv4+ipv6 ipv4
ipv6 ipv4+ipv6 ipv6
ipv4+ipv6 ipv4+ipv6 ipv4+ipv6
It's same IPv4 and IPv6 address for this host.
Why needs the ipv4 warning an ipv6 config entry and the ipv6 warning an ipv4 config entry?
Regards,
Hartmut
More information about the Dnsmasq-discuss
mailing list