LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-19-2004, 10:20 PM   #1
namdn
LQ Newbie
 
Registered: Jun 2004
Posts: 8

Rep: Reputation: 0
Network Load Balancing


Hi all members,

I have a question to ask you that. I have installed my server with RedHat Linux AS 2.1 OS, and I dedicated it working as proxy server by Squid service. Everything is OK until now. Because there are many clients to connect to Internet passing by my proxy, the traffic has been increased so much. I want to balance this traffic, I have bought another server to work my existing server.

I have not known if my OS support or not Network Load Balancing, I want these 2 server with 2 IP private address (192.168.100.1 and 192.168.100.2, subnet mask 255.255.255.0), but there is a common IP address such as 192.168.100.3 (Virtual IP address). This IP address let all client to be set to connect to Internet. I think that Linux may operate like that, but I have not much experience to solve it.

I would like to be instructed by you, thank you very much in advance.
Please reply or send me by following address:
namdn@fpt.com.vn

Best Regards,
 
Old 09-20-2004, 03:14 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,843

Rep: Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868Reputation: 1868
You can use DNS to perform load balancing. You must tell your clients to configure their browsers to use: proxy.yourdomain.com and have DNS A records in your zone for yourdomain.com, like this:
Code:
proxy IN A 192.168.0.1
proxy IN A 192.168.0.2
...
This way the first client that asks for proxy is redirected to the fist IP, the second to the 2nd IP and so on...
Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
2 network cards, single network, load balancing? tormentum Linux - Networking 1 02-13-2005 02:37 PM
Network Load Balancing bwilliam79 Linux - Networking 1 08-10-2004 10:38 AM
Network Load Balancing & DNS round robin scooby snacks Linux - Networking 1 04-19-2004 12:28 PM
Network load balancing?? trycoon Linux - Networking 3 01-21-2003 03:53 PM
Load balancing ?? Lucsi Linux - Newbie 1 07-16-2002 12:54 PM

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

All times are GMT -5. The time now is 10:49 PM.

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