From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jody Shumaker Date: Wed, 08 Jun 2005 02:55:54 +0000 Subject: Re: [LARTC] General Traffic Control Question Message-Id: <42A65E3A.5090507@gmail.com> List-Id: References: <42A648D4.6030901@cornerturn.com> In-Reply-To: <42A648D4.6030901@cornerturn.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Jon wrote: >On Tue, June 7, 2005 18:24, Cal Spadoni said: > > >>Here's my situation: >>[Snip] >>Is there a way to use iptables to force answers for data going out a >>given ppp link to be returned using the same link? >> >>Thanks in advance for your help!! >> >>- Cal >> >>cspadoni@cornerturn.com >> >> >> > >Perhaps ip_connmark is what your looking for. > >-- >Regards, >Jon > > > Nah, the issue is sending out data from all 4 ppp interfaces with the same source ip, obviously the data is all going to be sent back to that one ip. The other end of the connections is sending down only 1 of the 4 ppp interfaces. If all 4 ppp interfaces truly do have the same ip, then nothing can be done locally, it has to be done on the other end of the 4 ppp interfaces. However, if each of the 4 ppp interfaces does have a different ip, you could use some nat and load balancing, there's a rther helpful faq here http://lartc.org/howto/lartc.rpdb.multiple-links.html Using that method, the source ip will be cycled between the 4 for new connections, attempting to keep them load balanced. - Jody _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc