Multi-homing, jails, and source address selection
Julian Elischer
julian at elischer.org
Sun Mar 15 10:14:54 PDT 2009
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
>
More information about the freebsd-net
mailing list