From owner-freebsd-net@FreeBSD.ORG Tue Apr 29 17:14:59 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A89011065676 for ; Tue, 29 Apr 2008 17:14:59 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outN.internet-mail-service.net (outn.internet-mail-service.net [216.240.47.237]) by mx1.freebsd.org (Postfix) with ESMTP id 90F3C8FC16 for ; Tue, 29 Apr 2008 17:14:59 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.40) with ESMTP; Tue, 29 Apr 2008 15:30:44 -0700 Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 6A9EA2D6015; Tue, 29 Apr 2008 10:14:58 -0700 (PDT) Message-ID: <48175793.30606@elischer.org> Date: Tue, 29 Apr 2008 10:14:59 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) MIME-Version: 1.0 To: "Wilkinson, Alex" , FreeBSD Net References: <48134DDE.9010306@elischer.org> <20080429084032.GW71371@stlux503.dsto.defence.gov.au> In-Reply-To: <20080429084032.GW71371@stlux503.dsto.defence.gov.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Multiple routing tables in action... X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Apr 2008 17:14:59 -0000 Wilkinson, Alex wrote: > 0n Sat, Apr 26, 2008 at 08:44:30AM -0700, Julian Elischer wrote: > > >A little progress report > >From a recently installed (6.3) machine.... (plus patches) > > Ok, being ignorant to this, possibly a silly question: > > Why would i want or need multiple routing tables ? any time you wnat to base a route upon something other than just the destination address. It's basically called "Policy based routing". Trivial examples: You have two ISPs and you want to send all SMTP via one link and all other traffic via the other. You have 3 ISPs and want all traffic from the accounting department to go via a particular path (that is encrypted) but regular office chatter to go via another. I have other more complex examples in my work. I'm sure others have more solid examples as well. google for policy routing.