From owner-freebsd-hackers Mon Jun 14 17: 0: 2 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (Postfix) with ESMTP id DF71915026 for ; Mon, 14 Jun 1999 16:59:56 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id AAA64400; Tue, 15 Jun 1999 00:41:43 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id AAA47618; Tue, 15 Jun 1999 00:40:58 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199906142340.AAA47618@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: star@iwl.net Cc: hackers@FreeBSD.ORG Subject: Re: NAT Gateway to multiple ISPs In-reply-to: Your message of "Mon, 14 Jun 1999 08:06:14 CDT." <199906141306.IAA12874@star1.iwl.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 15 Jun 1999 00:40:58 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Any ideas on the following ? > > I am setting up a home/office network with NAT filtering gateway > on a dual-NIC FreeBSD 3.2 box. No problem so far - I've set > up several like this on 2.2.8 using natd. > > The new wrinkle is this: I need to connect to two ISPs > (DSL & Cable Modem), ideally with automatic failover and > load balancing when multiple internal PC's are generating > internet traffic. > > I know that this requires running gated (or routed) to > receive RIP or OSPF messages from the ISPs, and to select the > best outgoing ISP's route. > > The key question is: while the routing program probably > requires a third NIC so that each external link has its own > device, how can natd handle multiple external internet > interfaces. [.....] > 3) Configure an internal pseudo-device (tun ?) or divert > interface between natd (and the internal NIC) on the inside > and gated or routed (and the two external NICS) on the > outside. > This way, natd and the routing program would be completely > isolated and wouldn't need to know that the other existed. > > ISP1 - NIC1 > \ > gated - TUN - natd - NIC3 - internal net > / device > ISP2 - NIC2 > > > The third seems the best choice, but I haven't seen any > discription of this type of configuration. Except of course for the working example I mailed you on June 9 and committed to src/share/examples/ppp. > Any advice ? > > Thanks very much for your help, > > Andy Starratt -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message