ipv6 - New subnet mask too short

Alain Williams addw at phcomp.co.uk
Fri Oct 26 15:54:27 UTC 2012

I am trying to configure hdcp for IPv6 I am getting the following error:

    dhcpd: /etc/dhcp/dhcpd6.conf line 59: New subnet mask too short.
    dhcpd: subnet6 2001:4d48:ad51:2f00::5:1/112 

Part of the configuration for that interface is:

eth1      Link encap:Ethernet  HWaddr 00:E0:50:64:01:0B  
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::2e0:50ff:fe64:10b/64 Scope:Link
          inet6 addr: 2001:4d48:ad51:2f00::5:1/112 Scope:Global

Why is the mask too short, is there a minimum width ?

Here is what it is complaining about:

subnet6 2001:4d48:ad51:2f00::5:1/112 {
        # Two addresses available to clients
        #  (the third client should get NoAddrsAvail)
        range6 2001:4d48:ad51:2f00::5:8000 2001:4d48:ad51:2f00::5:c000;

        # Global definitions for name server address(es) and domain search list
        option dhcp6.name-servers 2001:4d48:ad51:2f00::5:1;

Version     : 4.1.1                             Vendor: CentOS
Release     : 31.0.1.P1.el6.centos.1        Build Date: Wed 15 Aug 2012 15:30:18 BST

Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256  http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
#include <std_disclaimer.h>

More information about the dhcp-users mailing list