Skip to contentSkip to conversation

A special IP address range for exclusive VPN usage?

Openvpn-devel Tony 4 participants 7 messages Jul 27, 2006 – Aug 21, 2006

lore
Share & tools
lore

Tony

author
#0 lore raw

Is it my missunderstanding or is it a real improvement - to ask IANA to allocate the range for exclusive allocation to VPN clients?

As far as I can see - the main obstacle of building the robust and allaround VPN is to guess the IP-range so that it *NEVER* collides|overlaps with *ANY* of the IPs used on real networks where a server and a client may happen to be. (The most frequent gotcha is a client physically connected to, say, 192.168.*.* on a LAN and tryes to use VPN which allocates him with 192.168.*.* on his virtual adapter)

How to guess a range nobody uses on their LANs?!

I saw a VPN system, namely Hamachi (www.hamaci.cc), which cleverly uses the 5.*.*.* range.

Who's responsibility to ask IANA about that matters?
Is it already implemented? If so - which IP-range is safe to be used in VPN between a server and a client?

Please comment.

Tony.

#1 lore raw

Personally, I think that adding IPv6 support (with its massive space for private networks) is a better long-term fix for this issue. Getting yet another private allocation (1) is questionable in terms of its feasibility, and (2) doesn't do any good for folks who (for instance) need to be attached to more than one VPN at a time -- and, in fact, may cause *more* issues in such cases.

author
#2 lore raw
Quoted 1 line · Charles Duffy

Getting yet another private allocation ...(snip)... (2) doesn't do any good for folks who (for instance) need to be attached to more than one VPN at a time

Well, yes, it will not "be all, end all" solution, and case (2) is tough.
But for vast majority of roadwarriors (like me) - it will do the trick - with 100% probability. Whereas now - I may only hope that the LAN where I land now will not collide with my OpenVPN settings...

Tony.

#4 lore raw

[Openvpn-devel] IPv6 support (was Re: A special IP address range for exclusive VPN usage?)

In reply to Charles Duffy
Quoted 2 lines · Charles Duffy

Personally, I think that adding IPv6 support (with its massive space for private networks) is a better long-term fix for this issue.

On that note, does anyone have any idea what the status of IPv6 support is? (I know about the old patches for 2.0, but they haven't been updated in over a year, and I can't find where anyone has forward-ported them to 2.1.)

Steve

Signature · 3 lines
Steven Pritchard - K&S Pritchard Enterprises, Inc.
Email: [email protected]...             http://www.kspei.com/
Phone: (618)398-3000               Mobile: (618)567-7320
#5 lore raw
In reply to Tony

* Tony:

Quoted 4 lines

As far as I can see - the main obstacle of building the robust and allaround VPN is to guess the IP-range so that it *NEVER* collides|overlaps with *ANY* of the IPs used on real networks where a server and a client may happen to be.

You need globally unique addresses for that. Ask your LIR/RIR, and you'll get them.

IPv6 is no real help because it's unlikely that we'll see that central ULA registry in the forseeable future.

#6 lore raw
Quoted 2 lines · Florian Weimer

IPv6 is no real help because it's unlikely that we'll see that central ULA registry in the forseeable future.

IPv6 is plenty of help; see RFC 4193. Basically, every site that wants an unroutable IP range randomly selects a 41-bit global ID to use as a prefix for their range (after the initial prefix identifying it as a local IP). With 2,199,023,255,552 such IDs to choose from, I'd say that we're pretty darned safe from having overlap. Granted, it's not quite literally guaranteed to be globally unique, but the chance of a collision is so immensely low that it still can be safely discounted.

author
#3 lore raw
In reply to Tony

What I feared - has happened.
One of my ISPs has changed the IP-range they allocate to the GPRS-users.
Now it overlaps with my private IP == 172.16.*.*
(This is not the first time - as most of small networks - we were 192.168.*.*, then we had to move to 10.*.*.*, finally we landed at 172.16.*.*)

I think that an introduction of some special IP-range for the exclusive VPN usage - as long as IPv4 is still here - a range is very welcome.

Now I re-configure my server to allocate a client with 5.*.*.* addresses.

Tony.