From owner-freebsd-questions@FreeBSD.ORG Tue Apr 22 19:38:56 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88F8C37B401 for ; Tue, 22 Apr 2003 19:38:56 -0700 (PDT) Received: from server.sirtis.org.uk (dsl-217-155-170-59.zen.co.uk [217.155.170.59]) by mx1.FreeBSD.org (Postfix) with SMTP id 0AD5343FE5 for ; Tue, 22 Apr 2003 19:38:42 -0700 (PDT) (envelope-from jonathan@sirtis.org.uk) Received: (qmail 22755 invoked by uid 1006); 23 Apr 2003 02:38:37 -0000 Received: from jonathan@sirtis.org.uk by server.sirtis.org.uk by uid 1011 with qmail-scanner-1.15 spamassassin: 2.43. Clear:SA:0(0.8/5.0):. Processed in 1.4741 secs); 23 Apr 2003 02:38:37 -0000 X-Spam-Status: No, hits=0.8 required=5.0 Received: from unknown (HELO workstation) (webmail@sirtis.org.uk@217.155.170.58) by 0 with SMTP; 23 Apr 2003 02:38:35 -0000 From: "Jonathan" To: Date: Wed, 23 Apr 2003 03:39:04 +0100 Message-ID: <004301c30941$81be6a50$3aaa9bd9@workstation> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Subject: Routing through two networks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2003 02:38:56 -0000 Hi all, I'm trying to achieve something which, on the surface, seems quite simple but I can't for the life of me figure out a decent way of doing it. I have a server which lives within two networks - we'll say 193.0.0.0/24 and 217.0.0.0/24 for simplicity. One of these networks is US peered and the other isn't and due to this, the bandwidth charges are that much less for the non-peered allocation. All I'm trying to do is ensure that any traffic that comes in for 193.0.0.250 routes back out through 193.0.0.1 and anything that comes in for 217.0.0.250 routes back out through 217.0.0.1 keeping bandwidth charges to a minimum. The machine is running 4.8-STABLE and has 2 NICs, though I'm currently only wired for one. The router (which I don't have access to) appears to be the same physical router for both IPs. Any assistance would be muchly appreciated. Regards, Jonathan P.S. Apologies if this is an obvious question, I've been staring at too many man pages today!