[Dnsmasq-discuss] Weird duplicate IP address warning

Simon Kelley simon at thekelleys.org.uk
Mon Sep 24 15:11:55 BST 2012


On 23/09/12 10:48, e9hack wrote:
> 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?
> 

Does 2.64test5 behave better?


Cheers,

Simon.





More information about the Dnsmasq-discuss mailing list