[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] Multiple ipconfig-pool entries / noncontiguous IP range?


  • Subject: [Openvpn-users] Multiple ipconfig-pool entries / noncontiguous IP range?
  • From: "Jan Mulders" <lastchancehotel@xxxxxxxxx>
  • Date: Tue, 13 Feb 2007 04:53:32 +0000

Hello all,

I have a non-contiguous IP pool that I wish to assign openvpn clients IPs from (I'm using subnet mode on 2.1.x).

My ranges are:
10.234.16.144 to .157
10.234.22.195 to 220 - free

Can I simply enter in multiple ifconfig-pool entries, like so:

ifconfig 10.234.16.145 255.255.255.0        # use .144 for the server
ifconfig-pool 10.234.16.145 10.234.16.157  # hand out all the others to clients
ifconfig-pool 10.234.22.195 10.234.22.220 

...and if I do, will this work?

How should I specify nonlinear IP ranges for openvpn to hand out?

Thanks all,

Jan
-------------------------------------------------------------------------
Get stuff done quickly with pre-integrated technology to make your job easier.
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users