Date: Wed, 14 Mar 2001 10:01:44 -0600 (CST) From: Nick Rogness <nick@rogness.net> To: Marcius <md@ltb.lt> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: question about source routing Message-ID: <Pine.BSF.4.21.0103140958270.34738-100000@cody.jharris.com> In-Reply-To: <002901c0ac84$c0ac6d00$d20ca8c0@otpaba>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 14 Mar 2001, Marcius wrote: > Hello, I have the following situation: a router running FreeBSD 4.2 > with 3 ethernet cards. One of them is for LAN (192.168.0.0/24) and two > ethernets is for two different ISP. One part of LAN users must have > default route trough 1 ISP and the other part of LAN users must have > default route trough the other ISP. In documentation (Handbook, > manuals and howto) I didn't find information about source routing. > With linux it was simple - I used iproute2. Can you explain me how to > do this with FreeBSD? ipfw fwd X.X.X.X ip from A.A.A.A to any out via ISP#1_interface Where X.X.X.X is the default-gateway for ISP#2 and A.A.A.A is the ip subnet of the machines that need access to ISP#2. Nick Rogness <nick@rogness.net> - Keep on routing in a Free World... "FreeBSD: The Power to Serve!" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0103140958270.34738-100000>