LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NIC Bonding, bandwidth merging (https://www.linuxquestions.org/questions/linux-newbie-8/nic-bonding-bandwidth-merging-711276/)

gudboy 03-13-2009 04:15 AM

NIC Bonding, bandwidth merging
 
I am using RHEL 5 with squid proxy server for my internet cafe. I have two broadband connections. The setting of external interfaces(broadband) are following

1) Bandwidth - 1 Mbps --- eth1
172.16.1.9 ip
255.255.252.0 mask
172.16.1.1 gateay

2)Bandwidth - 1 Mbps --- eth2
122.190.148.65 ip
255.255.252.0 mask
122.190.148.1 gateway

3)
LAN IP ------ eth0
192.168.1.2
255.255.255.0
192.168.1.1

What I need to get traffic load balancing. Could you Please advice me.

thank in advance

Gudboy

bhaslinux 03-13-2009 04:32 AM

This depends on what 'exactly' you mean by bandwidth merging
Usually in a corporate scenario, if there are 2 such links one of then link (mostly the low bandwidth) is used for general browsing
and the other is used for VPN where it connects to the corporate networks across the globe.

SQUID can by itself do some load balancing where you can specify the networks to be used and selection criteria
you can (if you do not want to go into the application layer) go to OSI L2 where you can use bond0 for load balacing - this is possible
only with similar networks (not with different IP as in your case)

The safe bet here is to look into the SQUID's load balancing


All times are GMT -5. The time now is 06:58 AM.