Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jul 2002 22:00:06 -0400
From:      Mike Tancsa <mike@sentex.net>
To:        Archie Cobbs <archie@dellroad.org>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: mpd and bringing up routes at connect time
Message-ID:  <5.1.0.14.0.20020720215920.07694b88@192.168.0.12>
In-Reply-To: <200207210143.g6L1hIF74872@arch20m.dellroad.org>
References:  <5.1.0.14.0.20020716111422.07bc1498@marble.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

Thanks for the clarification. I think I will try and take your suggestion 
and see about adding a route at connect time via the secrets file.

         ---Mike

At 06:43 PM 7/20/2002 -0700, Archie Cobbs wrote:
>Mike Tancsa writes:
> > Is there any way with mpd to automatically bring up a route when a 
> customer
> > connects using pptp  where multiple users are connecting ?  The problem I
> > am running into is that user X will PPTP into the server. As they will 
> come
> > in on different netgraph interfaces, the route needs to be pointed to a
> > different netgraph interface each time.
>
>If each user always connects from the same, distinct IP address then
>the answer is yes - just allocate a separate bundle for each user.
>
>Otherwise, mpd doesn't support doing that. It wouldn't be too difficult
>of a hack though, to add a route to the mpd.secrets file in the same way
>that you can add an IP address.
>
> > Specifically, how do I add n routes to user X's connection on demand.  Is
> > it possible with mpd ?
>
>If you know the bundle that will be chosen ahead of time (same thing
>as knowing the client's IP address ahead of time, as mentioned above)
>then just use the 'set iface route ...' command. Otherwise, you can't
>currently do it.
>
>-Archie
>
>__________________________________________________________________________
>Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com

--------------------------------------------------------------------
Mike Tancsa,                          	          tel +1 519 651 3400
Sentex Communications,     			  mike@sentex.net
Providing Internet since 1994                    www.sentex.net
Cambridge, Ontario Canada			  www.sentex.net/mike


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20020720215920.07694b88>