From owner-freebsd-questions Fri Jan 9 09:50:20 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA22115 for questions-outgoing; Fri, 9 Jan 1998 09:50:20 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from epatl.genmagic.com (epatl.genmagic.com [192.216.21.63]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA22103 for ; Fri, 9 Jan 1998 09:50:14 -0800 (PST) (envelope-from cornejo@epatl.genmagic.com) Received: (from cornejo@localhost) by epatl.genmagic.com (8.8.8/8.8.7) id JAA17832 for freebsd-questions@freebsd.org; Fri, 9 Jan 1998 09:50:13 -0800 (PST) (envelope-from cornejo) From: Dave Cornejo Message-Id: <199801091750.JAA17832@epatl.genmagic.com> Subject: routing to multiple internet connections To: freebsd-questions@freebsd.org Date: Fri, 9 Jan 1998 09:50:13 -0800 (PST) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I have two connections to the Internet - one frame relay and one cable modem connected to two separate ethernet segments. I have one FreeBSD box sitting on both segments. My main network is the ethernet connected to the frame relay, and I need most things to happen through that network. For http & ftp however, I want to put a proxy/cache/whatever on the FreeBSD system and have it route it's traffic specifically to the cable modem segment. It's easy enough to get the packets to the interface, but the problem is that essentially I have two 'default' gateways, one for each interface. Getting real routing info from the routers is problematic, as both claim to offer default routing and I only have access to the one on the frame relay network. So, am I screwed and just need to pick one net or the other as my default? Or does anybody have any suggestions? Thanks! dave