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

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


How are you?

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

Do you know what it could be?



allow-hotplug enp2s0
iface enp2s0 inet static
     metric 10

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
         ttl 255
         gateway 2001:470:1f1a:5b3::1

allow-hotplug enp1s0
iface enp1s0 inet dhcp
     metric 30
     post-up ip route add dev enp1s0 src 
table rt2
     post-up ip route add default via dev enp1s0 table rt2
     post-up    ip rule add from table rt2
     post-up ip rule add to table rt2


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 2001:470:1f1a:5b3::2;
        option dhcp6.domain-search "";


*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
Config file: /etc/dhcp/dhcpd6.conf
Database file: /var/lib/dhcp/dhcpd6.leases
PID file: /var/run/
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 or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging..


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the dhcp-users mailing list