From owner-freebsd-questions Tue Oct 20 10:58:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA13579 for freebsd-questions-outgoing; Tue, 20 Oct 1998 10:58:35 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA13549 for ; Tue, 20 Oct 1998 10:58:27 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id SAA18199; Tue, 20 Oct 1998 18:56:47 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (brian@localhost [127.0.0.1]) by woof.lan.awfulhak.org (8.9.1/8.9.1) with ESMTP id NAA07920; Tue, 20 Oct 1998 13:01:03 +0100 (BST) (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199810201201.NAA07920@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: "Roger P. Johnson" cc: freebsd-questions@FreeBSD.ORG Subject: Re: Can you use 1 modem for 2 or more on demand, outgoing PPP routes through it ? In-reply-to: Your message of "Mon, 19 Oct 1998 08:15:17 CDT." <199810191315.IAA05026@fep.hirshfields.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 20 Oct 1998 13:01:03 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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 , , 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