Date: Sun, 18 Jan 2004 13:15:31 +0800 (MYT) From: Dinesh Nair <dinesh@alphaque.com> To: Antoine Jacoutot <ajacoutot@lphp.org> Cc: FreeBSD-Questions <freebsd-questions@freebsd.org> Subject: Re: Loading balancing with more than one ISP. Message-ID: <20040118131333.I98208-100000@prophet.alphaque.com> In-Reply-To: <200401141827.30569.ajacoutot@lphp.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 14 Jan 2004, Antoine Jacoutot wrote: > What I'm hoping to do is find a way to route all paquets coming: > - from DMZ to internet, using NET connexion1 > - from LAN to internet, using NET connection2 > > To be more understandable, something like this: > route add from DMZ defaut em0 > route add from LAN defaut em1 you can do this with IPFW's fwd rulesets. ipfw add fwd netconnexion1_gw ip from DMZ/netmask to any ipfw add fwd netconnexion2_gw ip from LAN/netmask to any this sets the next hop address for a packet, based on it's incoming address space. Regards, /\_/\ "All dogs go to heaven." dinesh@alphaque.com (0 0) http://www.alphaque.com/ +==========================----oOO--(_)--OOo----==========================+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=========================================================================+
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040118131333.I98208-100000>