[Dnsmasq-discuss] Dual stack setup for dnsmasq
Simon Kelley
simon at thekelleys.org.uk
Wed Feb 13 21:52:27 GMT 2013
On 13/02/13 21:43, Sheng Yang wrote:
> Yes.
>
> in /etc/hosts
>
> 10.223.161.44 vm1
> fc00:3:1610::ff14:3 vm1
>
> Is that allowed?
>
The above should be fine: I'm concerned that if you had, for instance,
fc00:3:1610::ff14:2 test-2
then dnsmasq would add the fc00:3:1610::ff14:2 address to the
dhcphost.txt line which has only an IPv4 address, and thus trigger the
spurious duplicate IP address warning because there are now two lines
with that address.
Cheers,
Simon.
> --Sheng
>
> On Wed, Feb 13, 2013 at 1:07 PM, Simon Kelley<simon at thekelleys.org.uk> wrote:
>> On 12/02/13 23:48, Sheng Yang wrote:
>>>
>>> Hi,
>>>
>>> I've set up following dhcphost.txt for dual stack support using dnsmasq:
>>>
>>> id:00:03:00:01:06:a4:ea:00:00:2c,[fc00:3:1610::ff14:2],test-2,infinite
>>> 06:a4:ea:00:00:2c,set:10_223_161_42,10.223.161.42,test-2,infinite
>>>
>>> Though dnsmasq works fine, it complains about:
>>>
>>> Feb 12 23:31:25 dnsmasq-dhcp[2837]: duplicate IP address 10.223.161.42
>>> (test-2) in dhcp-config directive
>>> Feb 12 23:31:25 dnsmasq-dhcp[2837]: duplicate IP address
>>> fc00:3:1610::ff14:2 (test-2) in dhcp-config directive
>>>
>>> Seems it didn't expect two entries using the same host name. Is it not
>>> recommended?
>>>
>>>
>>
>> Do you have addresses for test-2 in /etc/hosts or similar, as well as in
>> those lines?
>>
>>
>>
>> Cheers,
>> Simon.
>>
>> _______________________________________________
>> Dnsmasq-discuss mailing list
>> Dnsmasq-discuss at lists.thekelleys.org.uk
>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
More information about the Dnsmasq-discuss
mailing list