nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Squid load balancing two uplinks

This is a discussion on Squid load balancing two uplinks within the Linux software forums, part of the Linux Getting Started category; Hi All, I need to load balance two ADSL links from a squid. Could you please help me to this?...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Linux answers from nixCraft.


Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 30-10-2009, 04:05 PM
Junior Member
User
 
Join Date: Jan 2009
OS: Red Hat
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
raveesh.pra is on a distinguished road
Default Squid load balancing two uplinks

Hi All,

I need to load balance two ADSL links from a squid. Could you please help me to this?
Reply With Quote
  #2 (permalink)  
Old 30-10-2009, 06:41 PM
jaysunn's Avatar
Powered By Linux
User
 
Join Date: Apr 2009
Location: 41.332032,-73.089775
OS: RHEL - OSX
Posts: 598
Thanks: 61
Thanked 78 Times in 70 Posts
Rep Power: 10
jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold
Default

These links may help:


1. Load Balancing (2 ISP 1 Connection) Configuration using Ubuntu Frozenade’s Zone


2. Balancing Connections Over Multiple Links

3. 10.4.*Multiple Connections to the Internet


Jaysunn
__________________
Have a look at what I have been working on
http://www.shellasaurus.com
Reply With Quote
  #3 (permalink)  
Old 03-11-2009, 10:29 AM
Junior Member
User
 
Join Date: Jan 2009
OS: Red Hat
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
raveesh.pra is on a distinguished road
Default Thanx friend

thanx friend... Need to try.
Reply With Quote
  #4 (permalink)  
Old 03-11-2009, 11:40 AM
Junior Member
User
 
Join Date: Jan 2009
OS: Red Hat
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
raveesh.pra is on a distinguished road
Default Linux bond or team multiple network interfaces (NIC) into single interface

Can we do it from above "Linux bond or team multiple network interfaces (NIC) into single interface"?
Reply With Quote
  #5 (permalink)  
Old 03-11-2009, 04:09 PM
jaysunn's Avatar
Powered By Linux
User
 
Join Date: Apr 2009
Location: 41.332032,-73.089775
OS: RHEL - OSX
Posts: 598
Thanks: 61
Thanked 78 Times in 70 Posts
Rep Power: 10
jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold jaysunn is a splendid one to behold
Default

Sure,


That's another great option.

Have a look here at one great article.

http://www.cyberciti.biz/tips/linux-...interface.html
You can find this type of tutorial via google as well.

Good Luck,

Jaysunn
__________________
Have a look at what I have been working on
http://www.shellasaurus.com
Reply With Quote
  #6 (permalink)  
Old 03-11-2009, 04:32 PM
Junior Member
User
 
Join Date: Jan 2009
OS: Red Hat
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
raveesh.pra is on a distinguished road
Default Load balancing server

Actually what I want to do is to implement load balancing server to my office.

We have two ADSL connections. Need to utilize those links equally by integrating them in to one. Put single IP as gateway to all.

Thanx.
Reply With Quote
  #7 (permalink)  
Old 03-11-2009, 09:30 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,707
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

It is possible with the help of iptables, see:
Sysresccd-networking en Iptables-and-netfilter-load-balancing-using-connmark - SystemRescueCd

If I were you, I will go with special firewall distro such as pfsense
pfSense Open Source Firewall Distribution - Home
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #8 (permalink)  
Old 05-11-2009, 08:43 AM
Junior Member
User
 
Join Date: Jan 2009
OS: Red Hat
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
raveesh.pra is on a distinguished road
Default Thanx friend

Thank lot... Now im following it.
Reply With Quote
  #9 (permalink)  
Old 06-11-2009, 07:55 AM
Junior Member
User
 
Join Date: Jan 2009
OS: Red Hat
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
raveesh.pra is on a distinguished road
Default Thanx Vivek Gite

I have done it from IP tables.
Thanx to all.
Reply With Quote
Reply

Tags
linux , load balancing adsl connections on linux , networking , squid


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
how to do Apache Load Balancing and clustering manish_2479 Web servers 8 11-01-2010 11:59 PM
how to set load balancing?? icehebi Networking, Firewalls and Security 1 03-08-2009 06:27 PM
Squid Proxy Two ISP Load Balancing into one FAT pipe Rahul.Kolan Proxy Servers 1 28-01-2009 09:32 PM
Howto Load Balancing Mysql and a web server zafar466 Databases servers 1 27-03-2007 10:04 AM
Load Balancing. asim.mcp Linux software 1 17-10-2006 05:49 AM


All times are GMT +5.5. The time now is 02:13 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38