Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Mar 2009 10:14:57 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Stefan Bethke <stb@lassitu.de>
Cc:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>, freebsd-net@freebsd.org
Subject:   Re: Multi-homing, jails, and source address selection
Message-ID:  <49BD3791.9060007@elischer.org>
In-Reply-To: <68726DB3-DAC2-4ABB-A1DC-A018992B8EC6@lassitu.de>
References:  <A7C6B7F3-ECB3-4151-81B9-8008C877B0B9@lassitu.de>	<20090314174526.E96785@maildrop.int.zabbadoz.net> <DCDAD46C-16FA-4F0D-95A8-D892B17BE470@lassitu.de> <49BC2317.3050009@elischer.org> <68726DB3-DAC2-4ABB-A1DC-A018992B8EC6@lassitu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49BD3791.9060007>