Date: Tue, 20 Oct 1998 13:01:03 +0100 From: Brian Somers <brian@Awfulhak.org> To: "Roger P. Johnson" <rpj@fep.hirshfields.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Can you use 1 modem for 2 or more on demand, outgoing PPP routes through it ? Message-ID: <199810201201.NAA07920@woof.lan.awfulhak.org> In-Reply-To: Your message of "Mon, 19 Oct 1998 08:15:17 CDT." <199810191315.IAA05026@fep.hirshfields.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Hi,
>
>
> After reading the HOW-TO's and man pages, I still have this
> nagging question.
>
> How do I set up PPP config files to use one modem for 2 or
> more on demand PPP connections as below:
>
> Only one remote machine/route will/should be in use at any one time,
> so I shouldn't have conflicts about modem not available.
>
>
>
> MAIN OFFICE (PHONES LINES) REMOTE LOCATIONS
>
> +-----------+ +------------+
> | FreeBSD |==== [modem] ------------- [modem]==== | FreeBSD #1 |
> +-----------+ \ +------------+
> 192.168.195.104 \ 192.168.5.101
> \
> \ +------------+
> --------- [modem]==== | FreeBSD #2 |
> \ +------------+
> \ 192.168.7.101
> \
> \ .. and so on
> \ .. and so on ...
>
>
>
> Q. How does one associate a phone number with a route ?
> ie. if routing 192.168.5.101 through tun0, use
> the phone number of 123-4567
> if routing 192.168.7.101 through tun0, use
> the phone number of 987-6543
Run ppp more than once:
remote1:
load common-stuff
set ifaddr 1.2.3.4 192.168.5.101
set phone 123-4567
remote2:
load common-stuff
set ifaddr 1.2.3.4 192.168.7.101
set phone 987-6543
> Q. Will I have to dedicate one modem for each route to
> the other machines instead?
No. Just one ppp invocation per route.
> Q. Is anyone else doing this ?
Probably :-)
> All replies welcomed!
>
> Roger
--
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
<http://www.Awfulhak.org>
Don't _EVER_ lose your sense of humour....
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810201201.NAA07920>
