From owner-freebsd-questions Thu Sep 23 8:53:40 1999 Delivered-To: freebsd-questions@freebsd.org Received: from logatome.micronet.fr (logatome-2.francenet.fr [193.149.96.2]) by hub.freebsd.org (Postfix) with ESMTP id 20FC914F34 for ; Thu, 23 Sep 1999 08:53:34 -0700 (PDT) (envelope-from e-masson@kisoft-services.com) Received: from kisoft-services.com (Nantes14.francenet.net [193.149.110.78]) by logatome.micronet.fr (8.8.8/8.8.8) with ESMTP id RAA04496 for ; Thu, 23 Sep 1999 17:49:35 +0200 (CEST) Message-ID: <37EA46AD.2607F66C@kisoft-services.com> Date: Thu, 23 Sep 1999 17:26:37 +0200 From: Eric MASSON Organization: Kisoft Services X-Mailer: Mozilla 4.6 [fr] (WinNT; I) X-Accept-Language: fr MIME-Version: 1.0 To: FreeBSD Questions Subject: ppp : dial different numbers depending on network to reach ? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message