All of lore.kernel.org
 help / color / mirror / Atom feed
From: tony.chamberlain@lemko.com
To: linux-ppp@vger.kernel.org
Subject: Re:  ppp / open vpn
Date: Thu, 13 Jan 2011 12:41:40 +0000	[thread overview]
Message-ID: <W224531903750281294922500@webmail44> (raw)
In-Reply-To: <W90767349010091294791641@webmail30>

So how do I set up the ptp instead of topology mode?
Is that ethernet bridging, which was the only option I saw?
Or do I even want to change from topology?

-----Original Message-----
From: Jan Just Keijser [mailto:jan.just.keijser@gmail.com]
Sent: Wednesday, January 12, 2011 07:47 PM
To: 'James Carlson'
Cc: tony.chamberlain@lemko.com, linux-ppp@vger.kernel.org
Subject: Re: ppp / open vpn

James Carlson wrote:
> On 01/12/11 16:17, Jan Just Keijser wrote:
>   
>> James Carlson wrote:
>>     
>>> The whole point of a point-to-point interface (of any type; PPP, tunnel,
>>> or otherwise) is that it connects two distinct IP nodes.  Distinct.  Not
>>> one IP node to itself!
>>>
>>>   
>>>       
>> This is another trick of OpenVPN to assign "linear addresses" to clients
>> while using a PtP (tun) interface. It is enabled in OpenVPN 2.1 (and
>> openvpnas, which is based  on 2.1) by using the
>>  topology subnet
>> directive.
>>     
>
> That's simply frightening.  Thanks for the update; I had no idea anyone
> was relying on that sort of undocumented OS feature.
>
> Good luck getting a routing protocol to work reliably with that ...
>
>   
actually, this mode is not used in combination with routing protocols. 
'topology subnet' is used primarily when multiple clients are connecting 
to a single server. OpenVPN also support a "point-to-point" mode (for 
lack of a better term), which does follow the regular PtP semantics. 
Running a routing protocol in that mode is just as easy as running one 
over a ppp-based link.

HTH,

JJK






  parent reply	other threads:[~2011-01-13 12:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-12  0:20 ppp / open vpn tony.chamberlain
2011-01-12 14:57 ` James Carlson
2011-01-12 15:17 ` tony.chamberlain
2011-01-12 15:29 ` James Carlson
2011-01-12 21:17 ` Jan Just Keijser
2011-01-12 21:26 ` James Carlson
2011-01-13  1:47 ` Jan Just Keijser
2011-01-13 12:41 ` tony.chamberlain [this message]
2011-01-13 14:02 ` Charlie Brady

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=W224531903750281294922500@webmail44 \
    --to=tony.chamberlain@lemko.com \
    --cc=linux-ppp@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.