Date: Fri, 24 Jul 2009 15:08:26 +0400 From: Vladimir Grebenschikov <vova@fbsd.ru> To: Julian Elischer <julian@elischer.org> Cc: freebsd-net@freebsd.org, Jamie Ostrowski <jamie.ostrowski@gmail.com>, "Lucian@lastdot.org" <lucian@lastdot.org> Subject: Re: How to change default source address? Message-ID: <1248433706.1678.13.camel@localhost> In-Reply-To: <4A693DE2.3050905@elischer.org> References: <5a3c8f450907230757j21191a11n6cae4699ec8a76e1@mail.gmail.com> <29ae62fc0907232114r2afb9dc8y966a22db6d3236bc@mail.gmail.com> <4A693DE2.3050905@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi > you could set up 2 routing tables and assign different apps to use > different tables Is it possible to select routing table by ipfw setfib X ? someting like: ipfw add setfib 1 ip from a.b.c.d to any out xmit em0 setfib 1 route add default 10.10.10.1 PS: you may need to compile kernel with options ROUTETABLES=2 PPS: why there is not sysctl way to specify number of routing tables ? -- Vladimir B. Grebenschikov vova@fbsd.ru
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1248433706.1678.13.camel>