From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Taylor, Grant" Date: Wed, 27 Apr 2005 05:44:00 +0000 Subject: Re: [LARTC] 2 internet connection problem :( Message-Id: <426F26A0.4040600@riverviewtech.net> List-Id: References: <4858177605042608493eebe967@mail.gmail.com> In-Reply-To: <4858177605042608493eebe967@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org > i want to put web and ftp traffic to eth2 and all other traffic to eth0 > is it possible can anybody help me to do that You will probably need to set up additional routing tables via the "ip route" command. One table will need to be the machine default and one will need to be the table that FTP traffic uses. Each table would use the upstream gateway for the connection that you want them to use as their default route. You will probably have to MARK the traffic that qualifies as FTP traffic via iptables and use an "ip rule" to match on the fwmark stating that marked packets need to use the FTP routing table. Grant. . . . _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc