From owner-freebsd-questions Wed Sep 30 03:17:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA07385 for freebsd-questions-outgoing; Wed, 30 Sep 1998 03:17:46 -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 DAA07376 for ; Wed, 30 Sep 1998 03:17:42 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from woof.lan.awfulhak.org (root@woof.lan.awfulhak.org [172.16.0.7]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id LAA24866; Wed, 30 Sep 1998 11:15:13 +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 LAA07178; Wed, 30 Sep 1998 11:13:48 +0100 (BST) (envelope-from brian@woof.lan.awfulhak.org) Message-Id: <199809301013.LAA07178@woof.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: "Bob McGrath" cc: freebsd-questions@FreeBSD.ORG Subject: Re: Complex Dial-up Routing In-reply-to: Your message of "Tue, 29 Sep 1998 20:01:20 PDT." <19980930030122.10829.qmail@hotmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 30 Sep 1998 11:13:47 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I have ISDN and an Analog attached to my FreeBSD IP-routing system. > What I'm trying to do is have a 24-hour 28.8Kbps analog connection, but > when more bandwidth is needed, I would like the system to automatically > switch and dial using my separate ISDN modem. And then disconnect after > 5 minutes of inactivity (ISDN only, analog would stay connected.) > > I would greatly appreciate it if you would assist me in setting this (to > me) rather complex configuration up. > > Again (for clarification), here's what I'm trying to do: > - The system will maintain a constant or dedicated 28.8 connection > - When either the FreeBSD server or another computer on my LAN uses the > internet and in doing so surpasses the 28.8's bandwidth, I'd like the > computer to connect using the ISDN modem. > - Then, after 5 minutes of inactivity, I'd like the ISDN to disconnect > and the analog to connect again. Or, if possible, the analog would have > remained connected the whole time. (I'm not sure whether in order to > connect the ISDN one would have to disconnect the analog 28.8. If this > is necessary, that's OK.) > > If you have any questions, please ask. Take a look at the multi-link parts of the ppp documentation. If you're not running FreeBSD-3.*, get the latest ppp via http://www.Awfulhak.org/ppp.html Of course your ISP has to be prepared to do multi-link too. You're interested in creating two links, setting the analogue one up as a ddial link (``link analogue set mode ddial'') and setting the isdn link up as an auto link (``link isdn set mode auto''), then setting autoload according to your preference (``set autoload ...''). Refer to the man page for details. The autoload stuff allows you to set a threshold so that when X or more packets are in the queue continuously for more than Y seconds, another auto link is brought up. It also allows you to say that when A or less packets are in the queue for B or less seconds, another auto link should be brought back down again. You'll need to experiment with the values.... > Thanks so much for your time in this problem, > Robert McGrath -- 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