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

Re: [Openvpn-users] openvpn netmask query


  • Subject: Re: [Openvpn-users] openvpn netmask query
  • From: Jason Keltz <jas@xxxxxxxxxxx>
  • Date: Sat, 4 Jun 2005 23:58:10 -0400 (EDT)

On Sat, 4 Jun 2005, ksp - knetdome wrote:

okay, i think i misunderstood your initial post but i !think! i
understand now. so, try this explanation on for size -- tun
interfaces don't use netmasks on the interfaces themselves.
well, they do, but it's always and only 255.255.255.255 which
specifies a host-host netmask and that's the only mask a ptp
link understands since it is, by definition, point-to-point
meaning there are no other hosts involved... it's only one end
or the other.

if you wan't the openvpn interfaces themselves to use normal
netmasking then you'll need to specify tap devices instead of
tun,

hth,
ksp

hmm .. what I was trying to do was to break down 172.16 with a 4 bit subnet and 12 bit host so that I could get the number of hosts I wanted.. I was going to use each "subnet" for a separate vpn. Initially I would have 2, but I would have plenty of room to grow using this scheme numbering scheme..


If I want to stick with a tun interface, and keeping in mind what you have said, if I understand correctly.. can I instead do this..

my vpn1 network consists of 172.16.1.1 through 172.16.1.254 AND
172.16.2.1 through 172.16.2.254 AND 172.16.3.1 through 172.16.3.254

and my vpn2 network similarly consists of 172.16.4.1 through 172.16.4.254,
172.16.5.1 through 172.16.5.254 and 172.16.6.1 through 172.16.6.254.

then the netmask of 255.255.255.255 shouldn't pose a problem.. correct?

jas.

____________________________________________
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/2005-06/msg00078.html on line 203

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/2005-06/msg00078.html on line 203