AW: dhcpd -6 dont start

Kari, Vitali Vitali.Kari at komnexx.de
Tue Apr 5 11:37:05 UTC 2016


Thank you for the hint Simon!

That is, with empty subnet declaration it works as expected.
And as Brice wrote before this should be Global Unique Address.

So this is a minimal working config for DHCPv6 behind relay Server: (WAN addresses for Documentation)

----------
# google DNSv6
option dhcp6.name-servers 2001:4860:4860::8888, 2001:4860:4860::8844;

#Customer Traffic Subnet
subnet6 2001:db8:100::/44 {
    prefix6 2001:db8:100:100:: 2001:db8:10f:ff00:: /56;
}

# local interface, need to get things working
subnet6 2001:db8::/64 {
}
----------

Thanks all!


Best regards
Mit freundlichen Grüßen

Vitali Kari 
Teamleiter NGN

-----Ursprüngliche Nachricht-----
Von: dhcp-users-bounces at lists.isc.org [mailto:dhcp-users-bounces at lists.isc.org] Im Auftrag von Simon Hobson
Gesendet: Dienstag, 5. April 2016 12:20
An: Users of ISC DHCP <dhcp-users at lists.isc.org>
Betreff: Re: dhcpd -6 dont start


On 5 Apr 2016, at 09:05, "Kari, Vitali" <Vitali.Kari at komnexx.de> wrote:

> All my clients will be behind a relay agent, so it is theoretically not needed to put a Link-Local address in scope of subnet.
> But it seems that the dhcp daemon do not start without that.
> 
> That is what I want:
> [DHCPv6]-----(fe80::/64 + 2001:db8::15/64)--------[DHCP Relay]------(2a03:4920:100::/44)----[Clients]

Is that 2001:db8::15 the address of the server ? The server probably needs a prefix defining that includes that, assuming it's working in a similar fashion to DHCPv4.

Thus, as I read the man pages (learning as I go !), you probably need an empty subnet6 declaration :
subnet6 2001:db8::/64 {
}

The reason it's needed is that the server does not know that there aren't any locally connected clients. Therefore the assumption must be that a client could appear locally to eth2, and the server must know how to handle that client. Hence the need for the subnet6 declaration. That declaration can be empty since you (as the admin) know there won't be any local clients.

_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users


More information about the dhcp-users mailing list