Date: Mon, 27 Sep 1999 00:29:44 +0100 From: Brian Somers <brian@Awfulhak.org> To: Eric MASSON <e-masson@kisoft-services.com> Cc: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: ppp : dial different numbers depending on network to reach ? Message-ID: <199909262329.AAA29619@keep.lan.Awfulhak.org> In-Reply-To: Your message of "Thu, 23 Sep 1999 17:26:37 %2B0200." <37EA46AD.2607F66C@kisoft-services.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Run two invocations of ppp -auto. > Hello, > > Is there any way with ppp (userland or kernel) to make it dial different > numbers depending on the network to reach ? > > Explanation : (Some ASCII art :) > > 192.168.1.0/24 192.168.1.1 > +----------------+ lan +---------------+ > | Box on the lan |-----| Bsd box (ppp) | > +----------------+ +---------------+ > | Modem or ISDN-TA > / \ pstn or isdn > / \ > NT remote lan_/ \_Internet > 192.168.0.0/24 0.0.0.0/0 > Office Phone number Isp phone number > > The Bsd box 192.168.1.1 is the default gateway for 192.168.1.0/24 lan. > I'd like it to dial via ppp to "Office phone number" if there's an > attempt to reach 192.168.0.0/24 lan and otherwise dial "Isp phone > number". > Is there a way to do that given the fact i have only one sio port on the > bsd box (so only one TA or Modem as well) > > Regards > > Eric > > -- > Any opinions expressed above | Murphy's Law Corollary : > are my own, not Kisoft's | Murphy was an optimist. -- Brian <brian@Awfulhak.org> <brian@FreeBSD.org> <http://www.Awfulhak.org> <brian@OpenBSD.org> Don't _EVER_ lose your sense of humour ! <brian@FreeBSD.org.uk> 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?199909262329.AAA29619>