From owner-freebsd-questions Wed Jan 13 15:40:22 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA21248 for freebsd-questions-outgoing; Wed, 13 Jan 1999 15:40:22 -0800 (PST) (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 PAA21234 for ; Wed, 13 Jan 1999 15:40:17 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id XAA16437; Wed, 13 Jan 1999 23:24:46 GMT (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.1/8.9.1) with ESMTP id XAA01320; Wed, 13 Jan 1999 23:11:32 GMT (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199901132311.XAA01320@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Andrzej Szydlo cc: freebsd-questions@FreeBSD.ORG Subject: Re: Multiple destinations dial on demand In-reply-to: Your message of "Tue, 12 Jan 1999 13:37:07 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 13 Jan 1999 23:11:32 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hi, > > Is there any way to have multiple dial-on-deman ppp interfaces on a single > FreeBSD box? I'd like it to dial and connect to destination1 if it senses > traffic to the network1, dial and connect to destination2 if it senses > traffic to network2 etc. > > Any suggestions would be welcome. This shouldn't be a problem, as long as you have more than one tun device (see the handbook for details on configuring tun devices in your kernel). You'll need to use specific network routes rather than default routes too: add 1.2.3.4/24 HISADDR or add 2.3.4.5/16 HISADDR etc. > Andrzej -- 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