make dhcpd assign two addresses

Bob Harold rharolde at umich.edu
Thu Feb 23 16:40:13 UTC 2017


On Tue, Feb 14, 2017 at 11:26 AM, Eugene M. Zheganin <emz at norma.perm.ru>
wrote:

> Hi,
>
> I need to assign two IPv6 addresses in my network - one
> private/local-unique and one public to each requesting client. So far I'm
> successful in assigning only one. There's a message from 2010 under the
> subject "
> How to config dhcpv6 server to assign multiple subnet address", and the
> reply mentions that the 'shared network {}' clause should be used, and two
> prefix-separated pool should be configured. I did that, but still my
> clients (at least my FreeBSD with dhcp6c) receives only one address. So I
> want to ask - who's opinion is valued the most, and who makes the decision
> about multiple IPv6 addresses ? The client or the assigning server ?
>
> I'm using the isc-dhcpd 4.3.4 server and main part of my config looks like:
>
> shared-network foobar {
>     limit-addrs-per-ia 2;
>     subnet6 fd00::500/120 {
>         range6 fd00::500/120;
>         option dhcp6.name-servers fd00::1;
>     }
>     subnet6 2a02:XXXX:40::500/120 {
>         range6 2a02:XXXX:40::500/120;
>         option dhcp6.name-servers fd00::1;
>     }
> }
>
> Thanks.
> Eugene.
>

 The article is probably showing how to use two different subnets in the
same VLAN.  The DHCP server will assign an IP from either range.

I do not think there is any way to tell a DHCP server to hand out more than
one IP to a client, or to tell the client to ask for more than one IP on a
given interface.
I think you might need to re-design your network.

-- 
Bob Harold
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20170223/c1c6a7c3/attachment.html>


More information about the dhcp-users mailing list