From owner-freebsd-net@FreeBSD.ORG Tue Dec 9 12:50:29 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 3C535106564A for ; Tue, 9 Dec 2008 12:50:29 +0000 (UTC) (envelope-from aturetta@commit.it) Received: from mail.bestunion.it (mail.bestunion.it [85.18.201.87]) by mx1.freebsd.org (Postfix) with ESMTP id BA11A8FC08 for ; Tue, 9 Dec 2008 12:50:28 +0000 (UTC) (envelope-from aturetta@commit.it) Received: from [192.168.44.66] (adsl-ull-141-22.51-151.net24.it [151.51.22.141]) (authenticated bits=0) by mail.lan.bestunion.it (8.14.3/8.14.3) with ESMTP id mB9CcLGD061343 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 9 Dec 2008 13:38:28 +0100 (CET) (envelope-from aturetta@commit.it) Message-ID: <493E66BD.6090907@commit.it> Date: Tue, 09 Dec 2008 13:38:21 +0100 From: Angelo Turetta User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on mail.bestunion.it X-Virus-Status: Clean Subject: Multiple routing table clarification 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, 09 Dec 2008 12:50:29 -0000 I need to run squid, serving different networks with different (potentially conflicting) IP address schemes. I read the original implementation notes for setfib/multiple routing tables: http://perforce.freebsd.org/fileViewer.cgi?FSPC=//depot/user/julian/routing/plan.txt and I would like to ask for some clarifications: - is it possible for a single process to listen for TCP connections using more than one socket, each with its own 'fib'? - if I use ipfw rules to tag incoming traffic, can I force the fib on a incoming TCP connection to be different from the fib of the process/socket listening for that connection? Thanks for any help (oh, BTW, if somewhere more detailed howto/doc about this feature can be found, please forward any pointers) Angelo.