Date: Sat, 29 Dec 2001 15:57:22 -0600 (CST) From: Nick Rogness <nick@rogness.net> To: Joao Carlos <jcrrbr@yahoo.com> Cc: questions@FreeBSD.ORG Subject: Re: SOURCE ROUTING Message-ID: <Pine.BSF.4.21.0112291555390.26002-100000@cody.jharris.com> In-Reply-To: <003601c190b8$e2086df0$b0ccb0c8@pchome>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 29 Dec 2001, Joao Carlos wrote: > Is there any way that I can create routes based on the source network? > > I want that packets coming from network X go to the X link with the > Internet, and that packets coming from network Y go to the Internet > through link Y. Your best bet is using ipfw fwd like so: ipfw add fwd $LINK_Y ip from $NET_Y to any out man ipfw for more details. Nick Rogness <nick@rogness.net> - Don't mind me...I'm just sniffing your packets 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.0112291555390.26002-100000>