On 01/14/2013 01:35 PM, Sheng Yang wrote:
On Mon, Jan 14, 2013 at 9:49 AM, Sheng Yang <sh...@yasker.org <mailto:sh...@yasker.org>> wrote:

    Hi Simon,

    Thank you for help! It's the problem!

    However, after I correct this one, dnsmasq still failed to hand
    out IP address, using dhcp-host entry.

    The config here:
    dhcp-range=fc00:1234:5678:1234::1,static
    
dhcp-host=00:01:00:01:18:80:df:3e:48:aa:8e:b2:d5:2a,fred,[fc00:1234:5678:1234::144],test,infinte
    enable-ra


Thank you! I found the problem. dhcp-host should be:

dhcp-host=id:00:01:00:01:18:80:df:3e:48:aa:8e:b2:d5:2a,fred,[fc00:1234:5678:1234::144],test,infinte

missing the id option...

And if your client such as dhclient starts from scratch such as might happen after installing a new system, you will find that the id will be different ... related but different .. and both will be related to the MAC address but not in a predictable way.

I have also tried using the host name for DHCPv6 fixed IPv6 address and that does not work any better. Once you get them working, they will continue to work until something changes and you have to manually sync them again. Frustrating.

Gene
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to