Hi,

On Wed, Feb 01, 2017 at 06:21:27PM +0200, Kapetanakis Giannis wrote:
> everything works fine for dynamic clients, but the clients that have a ccd 
> file give error:
> WARNING: if --ifconfig-push is used for IPv4, automatic IPv6 assignment from -

So what it says :-)

> I thought of splitting the /64 to /112 networks
> I used:
> server-ipv6 2001:648:2C00:xxxx:10:66:0::/112 (for dynamic pool)
> ifconfig-ipv6-push 2001:648:2c00:xxxx:10:66:1:6/112 (for static clients)
> 
> but it doesn't work.

Just pick a static address out of the /64 for those clients - the /64 is
large enough that you can easily pick something which is not in the pool
range.

> If I keep the /64 on the server-ipv6 and give static IPs from that pool in ccd
> then there is a small chance the same IP is also given to a dynamic client. I 
> want to avoid this. I also want to firewall by /112 networks if it's 
> possible, to group clients.

You can put each client in a different /112 just fine ("just use different
ranges"), just keep using a common /64 subnet.

> ps. the manual on ifconfig-ipv6-pool is not very clear
> "Specify an IPv6 address pool for dynamic assignment to clients.  The pool 
> starts at ipv6addr and matches the offset determined from the start of the 
> IPv4 pool"
> what does this mean?

If the pool selects the 10th IPv4 address for dynamic IPv4, it will
use "ipv6 base address +10" as the IPv6 address for the client.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]
fax: +49-89-35655025                        [email protected]

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to