LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-05-2009, 02:08 PM   #1
adeelahmad99
LQ Newbie
 
Registered: Aug 2009
Posts: 1

Rep: Reputation: 0
Post 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
 
Old 08-06-2009, 11:21 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple squid proxies routing on different internet connections shahidbashir7861 Linux - Networking 9 03-28-2013 02:12 AM
local/ international routing for squid aeby Linux - Server 2 06-30-2009 08:47 AM
Squid + DG + Routing rules vaibhavs Linux - Networking 1 05-18-2009 03:53 AM
Routing issues binary1011100 Linux - Networking 5 07-14-2007 01:41 PM
Squid and routing with iptables? Habu Linux - Networking 6 01-13-2006 08:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration