Hi, On Wed, Apr 17, 2019 at 05:18:16PM +0200, Pieter Hulshoff wrote: > As far as I understand it, by default clients are assigned a /30 subnet IP > address. I also understand that it's possible to hard assign this address > via the files in the ccd directory, but if it's left to the OpenVPN > software: what is the basis for the allocation of the IP address? Will it > simply assign the first available subnet or will the same client always > receive the same subnet?
"first free" unless "--ifconfig-pool-persist file" is used, then "same client same subnet". But you really want to use "topology subnet", which gives each client a single /32, not wasting a /30 per client. The default (net30) is from really old times where the windows port couldn't handle subnet. gert -- "If was one thing all people took for granted, was conviction that if you feed honest figures into a computer, honest figures come out. Never doubted it myself till I met a computer with a sense of humor." Robert A. Heinlein, The Moon is a Harsh Mistress Gert Doering - Munich, Germany g...@greenie.muc.de
signature.asc
Description: PGP signature
_______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users