Help with server configuration dhcpd6.conf

John.Gibbins at csiro.au John.Gibbins at csiro.au
Mon Jan 17 23:41:14 UTC 2011


Try changing the subnet6 reference to remove the trailing "1".  Ie subnet6 2002:c706:01ef:0001::1/64 => subnet6 2002:c706:01ef:0001::/64.

The trailing one stops it being a valid /64 network address.  The interface address part should be all zeros.

Regards
johng
--
John Gibbins
IT Security Operations (and IPv6 Evangelist)
CSIRO Information Management & Technology (IM&T)
Phone: +61 2 6124 1419  | Fax: +61 2 6124 1414 | Mob: 0419 605 562
John.Gibbins at csiro.au<mailto:John.Gibbins at csiro.au> | www.csiro.au<http://www.csiro.au>
PO BOX 225, Dickson  ACT 2602
Do not let what you cannot do interfere with what you can do - John Wooden

From: dhcp-users-bounces+john.gibbins=csiro.au at lists.isc.org [mailto:dhcp-users-bounces+john.gibbins=csiro.au at lists.isc.org] On Behalf Of Dan Tran
Sent: Tuesday, 18 January 2011 10:21 AM
To: dhcp-users at lists.isc.org
Cc: Dan Tran
Subject: Help with server configuration dhcpd6.conf

I'm using isc-dhcpd-4.1.1

My dhcpd6.conf is as following:

default-lease-time 600;
max-lease-time 7200;
subnet6 2002:c706:01ef:0001::1/64 {
     range6 2002:c706:01ef:0001:8000::/65; }


The interface config is as following:

ixint1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOW
N
    link/ether 00:00:02:70:78:bf brd ff:ff:ff:ff:ff:ff
    inet6 2002:c706:1ef:1::1/64 scope global
       valid_lft forever preferred_lft forever
    inet6 fe80::200:2ff:fe70:78bf/10 scope link
       valid_lft forever preferred_lft forever


When I tried running dhcpd server I have Add/mask length mismatch error as following:


# dhcpd -6 ixint1
Internet Systems Consortium DHCP Server 4.1.1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Wrote 0 leases to leases file.
subnet_number():inet.c:52: Addr/mask length mismatch.

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server at isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting.


Please help with a working configuration for dhcpd6.conf

Thanks,
Dan















-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20110118/5cb2897f/attachment.html>


More information about the dhcp-users mailing list