LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   routing + squid issues (https://www.linuxquestions.org/questions/linux-networking-3/routing-squid-issues-745361/)

adeelahmad99 08-05-2009 02:08 PM

routing + squid issues
 
Hello ,

i have small network with 3 internet connections , and 3 servers with squid installed sharing internet on centos linux ,

what i want is to merge all 3 servers into one big server that will share all 3 internet on same subnet and network (192.168.0.0/24)

e.g.

192.168.0.1 => ISP1
192.168.0.2 => ISP2
192.168.0.3 => ISP3


this is what i have done already using vlans and iptable oacket marking , but when i place squid in between internet and local network to log http requests then it only use the server deffault gateway on all 3 vlans,

my question / problem is how can i configure squid to use specific gateway or is there any way to run 3 squid and mark their output packets to routing and apply policy based routing,


i am waiting for your help on this , Please suggest some solution to this problem ,

Thanks in advance, let me know i am not making my self clear at any point ,

Regards
Adeel Ahmad

acid_kewpie 08-06-2009 11:21 AM

check the bottom bit http://lartc.org/howto/lartc.rpdb.multiple-links.html

set up a multipath route with appropriate weightings, should do the job.

Not that as your proxying, the inbound client traffic bares no relation to the outbound requests outside of squid itself.


All times are GMT -5. The time now is 03:53 PM.