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

Re: [Openvpn-users] fixed ip-address on winxp


  • Subject: Re: [Openvpn-users] fixed ip-address on winxp
  • From: scartomail <scartomail@xxxxxxxxx>
  • Date: Fri, 1 Dec 2006 02:43:17 -0800 (PST)

The problem here is that I have an application running that needs to connect to the client each time it connects. And it should be able to distinguish between the different clients.
They all should be unique because the all have defferent settings to aply to.
 
Meaning I should be able to ping each client from the openvpn server by its unique ipadres.
If it reply's I take action for that specific client.
 
U said:
The reason the client will always get the same IP address is that
actually OpenVPN remembers the IP addresses (check out the
ifconfig-pool-persist option or the ipp.txt file).
This is not working for me and I have read that this is "works as disigned" because I have XP clients. Thats why in OpenVPN 2.1_rc1 "topology subnet" had its appearance.
 
Do you have XP clients on wich this is working? ( -> ipp.txt)
 
Rgds Edo
 
 


Kevin Keane <ingosdlug@xxxxxxxxxx> wrote:
If I understand things correctly, with OpenVPN, you will usually always
get that subnet mask (at least when using Windows clients). Each client
essentially has his own subnet (and thus consumes 4 IP addresses). This
is really a sub-subnet of the one you specified.

So you can actually fit more than 60 clients into a standard
255.255.255.0 subnet. For your 100 clients, you would need a
255.255.254.0 subnet (or bigger).

The reason the client will always get the same IP address is that
actually OpenVPN remembers the IP addresses (check out the
ifconfig-pool-persist option or the ipp.txt file).

On Thu, 2006-11-30 at 23:46 -0800, scartomail wrote:
> Hy Darren,
>
> Thanks for youre response.
> You are right that making the subnet bigger would be the easyest way.
> But my winxp client is not reacting any differently.
> If I do "ipconfig /renew" I still get the same subnet and ipaddress.
> Even changing the subnet to 255.255.0.0. is not changing anyting.
> Even after rebooting all of the clients and server.
> Is this just me or is this a winxp thing.
>
> Is there a way I can make winxp listen better to the subnet or push
> something to it?
>
> The OpenVPN 2.1_rc1 sounds tempting only it is in testing.
> I am plannig on using it in a production environment so I leave that
> as a last resort.
>
> Any advise on the matter would be much appreciated.
>
> Rgds Edo
>
>
>
>
> Darren Loher wrote:
> Update to OpenVPN 2.1_rc1 and use the â??topology subnetâ??
> option. This will let you use every IP address in a subnet
> instead of a bunch of virtual /30 subnets.
>
> That or you can make your subnet bigger, for example:
> Server 10.8.0.0 255.255.254.0
>
> That will get you about 200 clients and is probably a
> smaller/easier change to make.
>
> -Darren
>
>
> ______________________________________________________________
> From: openvpn-users-bounces@xxxxxxxxxxxxxxxxxxxxx
> [mailto:openvpn-users-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf
> Of scartomail
> Sent: Thursday, November 30, 2006 1:27 PM
> To: openvpn-users@xxxxxxxxxxxxxxxxxxxxx
> Subject: [Openvpn-users] fixed ip-address on winxp
>
> Hi everyone,
>
> I have used openvpn for some time now.
> Verry happy with it I decided to use it for my next project.
>
> Only this time the manpage was not clear enough for me so I
> hope someone here could help me.
>
> The thing is:
> I need 100 winXP clients(roadwarriors) to connect to a
> single openvpn server.
> The server is a debian/sarge server which is using openvpn
> version 2.0
> And ALL the clients should get the same IP-address every time
> the connect.
> So no dhcp roulete.
>
> First of all, the ip-address they now get is with a subnetmask
> of 255.255.255.252.
> This leaves me with just a couple of addresses (not 100).
>
> I do have a set the server option in server.conf, like this:
> server 10.8.0.0 255.255.255.0
> And my ipp.txt is also not getting updated.
>
> After a lot of reading I became aware that a lot of options
> and functions are
> not available in the 2.0 version or for winXP clients.
> I don't mind setting all winXP clients by hand to the correct
> ipaddress/subnet but I can only set 11 addresses.
>
> Is there someone who can tell me how I can get more
> IP-addresses of the same subnet for my winXP clients?
>
> Thanks in advance.
>
> Rgds Edo
>
>
>
>
>
>
>
>
>
>
>
>
> ______________________________________________________________
> Access over 1 million songs - Yahoo! Music Unlimited.
>
>
>
>
> ______________________________________________________________________
> Access over 1 million songs - Yahoo! Music Unlimited.
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users
--
This e-mail and attachments, if any, may contain confidential and/or
proprietary information. Please be advised that the unauthorized use
or disclosure of the information is strictly prohibited. The information
herein is intended only for use by the intended recipient(s) named
above. If you have received this transmission in error, please notify
the sender immediately and permanently delete the e-mail and any
copies, printouts or attachments thereof.


Everyone is raving about the all-new Yahoo! Mail beta.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-12/msg00004.html on line 185

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-12/msg00004.html on line 185