Send dhcp-users mailing list submissions to
        dhcp-users@lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
        dhcp-users-requ...@lists.isc.org

You can reach the person managing the list at
        dhcp-users-ow...@lists.isc.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dhcp-users digest..."


Today's Topics:

   1. Set up DHCP server IPv6 on Ubuntu 14.04 (Reed Xia)
   2. Re: Set up DHCP server IPv6 on Ubuntu 14.04 (Niall O'Reilly)


----------------------------------------------------------------------

Message: 1
Date: Thu, 1 Dec 2016 17:47:25 +0800
From: Reed Xia <huaqin2...@gmail.com>
To: Users of ISC DHCP <dhcp-users@lists.isc.org>
Subject: Set up DHCP server IPv6 on Ubuntu 14.04
Message-ID:
        <CAB_-H0-=vJe6=xq1wghnuggca3vtajv8w15ppt_lmpsejwj...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello all,

I have a Ubuntu 14.04 with 2 Ethernet adapters(eth0 and eth1), eth0 is
connected to an homeware device, I need set up DHCP IPv6 service against
eth0(I set the IPv6 address for eth0 as 2007::7/64 in Ubuntu), and I want
the homeware to obtain a fixed IPv6 address(2001::10), so I did it in
following way, now the problem is the homeware always cannot get IPv6, I
can see message "Unable to pick client prefix: no IPv6 pools on this shared
network" from dhcpd service, I guess the dhcpd6.conf have some problem, can
you please help figure out?

root@reed-Lenovo:/etc/dhcp#
> *cat dhcpd6.conf*default-lease-time 600;
> max-lease-time 7200;
> log-facility local7;
> subnet6 2001::/64 {
>         # Range for clients
>         range6 2001::10 2001::10;
>         # Additional options
>         option dhcp6.name-servers 2001::7;
>         option dhcp6.domain-search "test.example.com";
>         # Prefix range for delegation to sub-routers
>         # prefix6 2001:db8:0:100:: 2001:db8:0:f00:: /56;
>         # Example for a fixed host address
>         # host specialclient {
>         #    host-identifier option dhcp6.client-id
> 00:01:00:01:4a:1f:ba:e3:60:b9:1f:01:23:45;
>         #    fixed-address6 2001:db8:0:1::127;
>         #}
> }
> root@reed-Lenovo:/etc/dhcp#
> * /root/dhcp-4.3.4/server/dhcpd -6 -d -cf /etc/dhcp/dhcpd6.conf eth0*Internet
> Systems Consortium DHCP Server 4.3.4
> 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/db/dhcpd6.leases
> PID file: /var/run/dhcpd6.pid
> Wrote 0 NA, 0 TA, 0 PD leases to lease file.
> Bound to *:547
> Listening on Socket/5/eth0/2001::/64
> Sending on   Socket/5/eth0/2001::/64
> Server starting service.
> Solicit message from fe80::3291:8fff:fe05:bf86 port 546, transaction ID
> 0x12222A00
> Unable to pick client prefix: no IPv6 pools on this shared network
> Sending Advertise to fe80::3291:8fff:fe05:bf86 port 546
> Information-request message from fe80::3291:8fff:fe05:bf86 port 546,
> transaction ID 0x402D6C00
> Sending Reply to fe80::3291:8fff:fe05:bf86 port 546



Thanks,
Reed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://lists.isc.org/pipermail/dhcp-users/attachments/20161201/0b99fa9c/attachment-0001.html>

------------------------------

Message: 2
Date: Thu, 01 Dec 2016 10:31:01 +0000
From: "Niall O'Reilly" <niall.orei...@ucd.ie>
To: "Users of ISC DHCP" <dhcp-users@lists.isc.org>
Subject: Re: Set up DHCP server IPv6 on Ubuntu 14.04
Message-ID: <fe597be3-5c3a-436a-ae32-166b81ca9...@ucd.ie>
Content-Type: text/plain; format=flowed; markup=markdown

On 1 Dec 2016, at 9:47, Reed Xia wrote:

> I have a Ubuntu 14.04 with 2 Ethernet adapters(eth0 and eth1), eth0 is 
> connected to an homeware device, I need set up DHCP IPv6 service 
> against eth0(I set the IPv6 address for eth0 as 2007::7/64 in Ubuntu),

   Perhaps you mean 2001::7 (mentioned in the configuration fragment you 
sent) ?

> and I want the homeware to obtain a fixed IPv6 address(2001::10),

   2001::/32 is reserved for a specific purpose (see 
https://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml).
 
  Re-using part of this address space for your own, private
purpose is likely to cause trouble for you or others.

   You should not do this.

   If you have not been assigned a global address prefix, you should 
consider using a Unique
   Local IPv6 prefix (see https://tools.ietf.org/html/rfc4193).

> so I did it in following way, now the problem is the homeware always 
> cannot get IPv6, I can see message "Unable to pick client prefix: no 
> IPv6 pools on this shared network" from dhcpd service, I guess the 
> dhcpd6.conf have some problem, can you please help figure out?

   The message is telling you that a 'pool6' specification is expected.  
It is clear from
   the man-page that this is allowed, but NOT clear that it is required. 
  I'ld suggest
   trying the following where you currently have just a 'range6' 
specification:

   pool6 {
     range6 ...
   }

   Best regards,

   Niall O'Reilly


------------------------------

Subject: Digest Footer

_______________________________________________
dhcp-users mailing list
dhcp-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users

------------------------------

End of dhcp-users Digest, Vol 98, Issue 1
*****************************************

Reply via email to