I added
subnet6 fe80::/64 {
}
to my config and it starts now with sample config:
/sbin/dhcpd -6 -d -cf /etc/dhcpd6.conf-test eth2
Internet Systems Consortium DHCP Server 4.3.4b1
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit
https://www.isc.org/software/dhcp/Config file: /etc/dhcpd6.conf-test
Database file: /var/db/dhcpd6.leases
PID file: /var/run/dhcpd6.pid
Wrote 0 NA, 0 TA, 0 PD leases to lease file.
Multiple interfaces match the same subnet: eth0 eth2
Multiple interfaces match the same shared network: eth0 eth2
Multiple interfaces match the same subnet: eth0 eth1
Multiple interfaces match the same shared network: eth0 eth1
Bound to *:547
Listening on Socket/5/eth2/fe80::/64
Sending on Socket/5/eth2/fe80::/64
Server starting service.
But I am a little cunfused why I need a subnet6 for Link-Local interface to bring the daemon up. The fe80::/64 will fit to all Link-Local interfaces, so I get a warning about multiple interface matching even if I start the daemon with eth2.
My test config is now:
--------------
option dhcp6.name-servers 2001:4860:4860::8888, 2001:4860:4860::8844;
subnet6 2a03:4920:100::/44 {
prefix6 2a03:4920:100:100:: 2a03:4920:10f:ff00:: /56;
}
subnet6 fe80::/64 {
}
------------
Best regards
Mit freundlichen Grüßen
Vitali Kari
Teamleiter NGN
-----Ursprüngliche Nachricht-----
Von:
[hidden email] [mailto:
[hidden email]] Im Auftrag von Chuck Anderson
Gesendet: Montag, 4. April 2016 18:43
An:
[hidden email]
Betreff: Re: dhcpd -6 dont start
On Mon, Apr 04, 2016 at 05:12:35PM +0100, Simon Hobson wrote:
> Alan Buxey <
[hidden email]> wrote:
>
> > define a subnet6 statement for the eth2 address space but dont put any ranges/stuff into it.
>
> Or configure the server to only listen on interfaces you want to serve.
> > > No subnet6 declaration for eth2 (fe80::250:56ff:fea3:217d).
Is it really necessary to define a subnet6 for the Link-Local subnet on all interfaces? If so, this should work (I haven't tried):
subnet6 fe80::/64 {
}
> > > /etc/dhcpd6.conf: interface name too long (is 16)
That is interesting. What interfaces do you have? (ifconfig -a) _______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users_______________________________________________
dhcp-users mailing list
[hidden email]
https://lists.isc.org/mailman/listinfo/dhcp-users