Hi,

I have a working setup of IPv4 openvpn server with dynamic and static addresses 
with ccd.

conf: server 10.66.0.0 255.255.255.0
ccd: ifconfig-push 10.66.1.6 10.66.1.6

I want to extend this setup for ipv6

If I use 
server-ipv6 server-ipv6 2001:648:2C00:xxxx::/64

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 
--ifconfig-ipv6-pool does not work.  Use --ifconfig-ipv6-push for IPv6 then.

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.

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.

any recommendations?

Thanks in advance

Giannis
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?

------------------------------------------------------------------------------
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