[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: "ksp - knetdome" <ksp@xxxxxxxxxxxx>
  • Date: Sat, 4 Jun 2005 20:58:22 -0500 (CDT)
  • Importance: Normal

> Unfortunately, I don't think that's right either.
>
> OpenVPN uses the second address as the pointtopoint address ..
> ie. changing the above to .0 would yield..
>
>   /sbin/ifconfig tun0 172.16.16.107 pointopoint 172.16.16.0 mtu
> 1500
>
> .. which is wrong.
>
> The 172.16.16.1 was the right address.. it's just that I can't
> seem to
> figure out how to get it to set the netmask on the interface as
> well.

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


____________________________________________
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/msg00077.html on line 207

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/msg00077.html on line 207