[AfrIPv6-Discuss] AfrIPv6-Discuss ISC-DHCPv6

John Hay jhay at meraka.org.za
Mon Jun 13 18:01:01 UTC 2016


On 13 June 2016 at 14:28, DICK, L. (MR.) <Dickl at mopipi.ub.bw> wrote:

> I hope you all travelled safely . My DHCPv6 server is working fine (with
> Vlan 2) but when I try to add another subnet6(for another Vlan 13) the
> clients in Vlan 13 get ip addresses from Vlan 2 subnet. Here is
> configuration;
>
> shared-network LAN {
> #Vlan 2
> subnet6 2001:43f8:2a0:4::/64 {
>      range6 2001:43f8:2a0:4:2::1 2001:43f8:2a0:4:2::ffff;
> }
> #vlan 13
> subnet6 2001:43f8:2a0:d::/64 {
>       range6 2001:43f8:2a0:d:13::1 2001:43f8:2a0:d:13::ffff;
> }
> }
>
>
>
Having the 2 subnets in a shared-network block will cause dhcp to treat
them as the same, so it will hand out addresses from any one.

You should take them out of the "shared-network" block if they are separate
networks and then have ways for dhcpd to know from which subnet the request
was received. Either the dhcpd server must be connected with an interface
to each subnet or you need to set up a relay, or a combination.

Regards

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.afrinic.net/pipermail/afripv6-discuss/attachments/20160613/50465128/attachment.html>


More information about the AfrIPv6-Discuss mailing list