From owner-freebsd-net@FreeBSD.ORG Sun Mar 15 17:14:53 2009 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 3D7FB1065720 for ; Sun, 15 Mar 2009 17:14:53 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outC.internet-mail-service.net (outc.internet-mail-service.net [216.240.47.226]) by mx1.freebsd.org (Postfix) with ESMTP id 204508FC16 for ; Sun, 15 Mar 2009 17:14:53 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 84D80A5A71; Sun, 15 Mar 2009 10:14:53 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 77FA52D600D; Sun, 15 Mar 2009 10:14:52 -0700 (PDT) Message-ID: <49BD3791.9060007@elischer.org> Date: Sun, 15 Mar 2009 10:14:57 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Stefan Bethke References: <20090314174526.E96785@maildrop.int.zabbadoz.net> <49BC2317.3050009@elischer.org> <68726DB3-DAC2-4ABB-A1DC-A018992B8EC6@lassitu.de> In-Reply-To: <68726DB3-DAC2-4ABB-A1DC-A018992B8EC6@lassitu.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Bjoern A. Zeeb" , freebsd-net@freebsd.org Subject: Re: Multi-homing, jails, and source address selection 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: Sun, 15 Mar 2009 17:14:54 -0000 Stefan Bethke wrote: >> setfib -{0-15} jail (jail args) > > I hope to investigate the VIMAGE work soon, this has nothing to do with vimage. it's teh multiple routing table support I'm talking about. For example different tables with different default routes. > but how exactly would that > help me with multihoming jails? > As it turns out, my issue is with source address selection mostly, The routing table selects your source address so it has everything to do with it. If youhave several addressesin your jail, (with teh new code) then which is selected for a particular session depends on the routing table. It is the address of the local end of the interface that you will use to get to the destination. > and the way point-to-point interfaces > work; the routing table doesn't really come into play? What makes you say that?? No IP packet is sent without consulting the routing table. if you can control which table is used you can control the source address. > > Stefan >