Hi,

for years I had

dev tun0
server 192.168.13.0 255.255.255.0

and one CCD with ifconfig-push 192.168.13.5 192.168.13.6
the rest of the clients have empty ccd's

I read that default topology is going away soon, so I wanted to switch to 
subnet, and I did exactly as written in 
https://community.openvpn.net/openvpn/wiki/Topology, i.e. added ‘topology 
subnet’ to server config file and changed ifconfig-push to 192.168.13.5 
255.255.255.0.

All of a sudden openvpn gives .5 to my fixed CCD (as it should), but also gives 
it to another random client who happened to connect earlier and got it so I 
ended up with duplicate IPs and all sorts of havoc.

Am I supposed to shrink the pool and give IPs that are not from the pool to 
ifconfig-push? Why was it working so far using net30? or I was just lucky?
I “solved" it at the end by persisting using ifconfig-pool-persist and fiddling 
with the file, but it’s still a mystery to me what actually happened here.

server is 2.5.1, clients are all over, but none less than 2.4.4, the one with 
fixed ip in the ccd is 2.4.9

Thanks.

_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to