LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Squid Cache with 2 Bandwidth [Load Balancing] ?؟ (https://www.linuxquestions.org/questions/linux-server-73/squid-cache-with-2-bandwidth-%5Bload-balancing%5D-798251/)

_root 03-27-2010 10:08 AM

Squid Cache with 2 Bandwidth [Load Balancing] ?؟
 
hi friends
i Have a Squid Server , i'm Using That for Caching ...

i Have 3 Ether on My " Squid Server ".
Ether1 : Directly Internet From ISP1 , 2Mbps .
Ether2 : Directly Internet From ISP2 , 512 KBps .
Ether3 : Connected too LAN .

i want All The Files Format with " MP3 , RAR , ZIP , AVI , ... (All Downloads File) " Get From Ether1(ISP1)
and WebPages Like " HTML , ASP , CGI , & ... " Get from Ether2(ISP2)

i Not Know How to Configure That with My 2 ISP internet .
Think i Should be Work with iptables ... but not Know !
Thanks

bakdong 04-05-2010 05:01 AM

Not sure how you would go about routing by file type, but routing the http traffic would be relatively straightforward. Use a combination of iptables and ip rule. Start reading the Linux Advanced Routing and Traffic Control how to here:

http://lartc.org/


All times are GMT -5. The time now is 01:38 AM.