Re: General Traffic Control Question

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx


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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux