No subnet6 declaration for enp2s0 (2001:470:1f1a:5b3::2)

Patrik Laszlo alabard at gmail.com
Sun Jun 11 19:35:39 UTC 2017


Ciao!

How are you?

This is weird! I got IP4 DHCP, it works. But with IPV6 not working.

Do you know what it could be?

*Settings:*

*INTERFACE
*

allow-hotplug enp2s0
iface enp2s0 inet static
     metric 10
     address 192.168.78.20
     netmask 255.255.255.0
     broadcast 192.168.78.255
     gateway    192.168.78.1

iface enp2s0 inet6 static
     metric 10
     address 2001:470:1f1a:5b3::2
     netmask 64
     gateway 2001:470:1f1a:5b3::1

auto he-ipv6
iface he-ipv6 inet6 v4tunnel
         address 2001:470:1f1a:5b3::2
         netmask 64
         endpoint 216.66.87.14
         local 192.168.78.20
         ttl 255
         gateway 2001:470:1f1a:5b3::1

allow-hotplug enp1s0
iface enp1s0 inet dhcp
     metric 30
     post-up ip route add 192.168.81.0/24 dev enp1s0 src 192.168.81.20 
table rt2
     post-up ip route add default via 192.168.81.1 dev enp1s0 table rt2
     post-up    ip rule add from 192.168.81.20/32 table rt2
     post-up ip rule add to 192.168.81.20/32 table rt2


*DHCPD6*

subnet6 2001:470:1f1b:5b3::/64 {
         range6 2001:470:1f1b:5b3::50 2001:470:1f1b:5b3::ffff;
         range6 2001:470:1f1b:5b3::/64 temporary;
        option dhcp6.name-servers 2001:470:1f1a:5b3::2;
        option dhcp6.domain-search "patrikx3.tk";
}

*SERVER*

*root at server:~# dhcpd -6 -d -cf /etc/dhcp/dhcpd6.conf enp2s0*
Internet Systems Consortium DHCP Server 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Config file: /etc/dhcp/dhcpd6.conf
Database file: /var/lib/dhcp/dhcpd6.leases
PID file: /var/run/dhcpd6.pid
Wrote 0 NA, 0 TA, 0 PD leases to lease file.

No subnet6 declaration for enp2s0 (2001:470:1f1a:5b3::2).
** Ignoring requests on enp2s0.  If this is not what
    you want, please write a subnet6 declaration
    in your dhcpd.conf file for the network segment
    to which interface enp2s0 is attached. **


Not configured to listen on any interfaces!

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging..

exiting.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20170611/87ce7576/attachment.html>


More information about the dhcp-users mailing list