I stopped  using odhcpd and shifted to dnsmasq because of IPv6 related
issues - notably the inability to specify fixed IPv6 addresses. See the
issue filed on github again odhcpd
(https://github.com/sbyx/odhcpd/issues/27). More than 18 months and
*not* a single developer comment. And if what
https://github.com/V10lator commented is true, the developers possibly
do not know enough.

IMHO, odhcpd was an extremely ill-informed move in OpenWRT. I fail to
understand the value that project brought to OpenWRT.

Since starting to use dnsmasq, I am not having any issues with the names
being registered for DHCPv6 on Windows 10 and Linux.

IMHO, drop odhcpd and go back to dnsmaq - a way better piece of software
and well documented.

If I remember correctly, this is what I needed to do in
/etc/dnsmasq.conf to get IPv6 to start working.

# IPv6
dhcp-range=lan,::1000:0000,::FFFF:FFFF, constructor:br-lan, slaac, 64, 12h
enable-ra

For static addresses, I have rules like this in /etc/dnsmasq.conf:

dhcp-host=08:00:5e:35:2a:09,192.168.45.36,myvm2,[::dead:beef]

that is:

dhcp-host=<mac address>,<IPv4 address>,<hostname>,[<:IPv6 host suffix>]


Best,
Sachin

On Tuesday 05 January 2016 02:58 PM, Tom wrote:
> Hello OpenWRT users,
> 
> I have successfully configured my OpenWRT box (Chaos Calmer) with native
> IPv6 dual stack. I want do distribute local IPv6 addresses with DHCPv6.
> 
> Everything works fine, the only issue I have is that the hostnames are
> not registered in the DHCPv6 leases and the DNS with my MacOS X macbook
> and other mobile devices. With Windows 7 the computer hostname is
> registered in the DHCPv6 hostname and the DNS.
> 
> Can anybody give me a hint how to tune odhcpd to register OS X or other
> mobile devices?
> 
> Best regards,
> Tom
> _______________________________________________
> openwrt-users mailing list
> [email protected]
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to