LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-13-2010, 09:43 PM   #1
landysaccount
Member
 
Registered: Sep 2008
Location: Dominican Republic
Distribution: Debian
Posts: 188

Rep: Reputation: 18
Question Problems doing load balance


Hello.

I have two dsl connections 5Mbps each wich I use on our network in order to balance our traffic. I'm using the techniques from a tutorial at: http://blog.taragana.com/index.php/a...il-on-failure/ which uses a script that checks if a line is active or not... Well, I noticed that all the customers are now complaining that their messenger keeps disconecting and reconnecting. That's probably due to packets going in different dsl lines from time to time. I tested without using the gwping script but it still doing the same.

I would like to know if there's a way to have a connection from a customer to internet keep the same trajectory, for example: If I make an ssh connection to a remote server to alway use the same dsl line it went out through? Can this be done with iptables?

Any idea on how can I improve or fix the inconvenience we're currently having?

10.0.0.0/24 dev eth0 proto kernel scope link src 10.0.0.254
10.10.10.0/24 dev eth2 proto kernel scope link src 10.10.10.2
172.16.0.0/16 dev eth1 proto kernel scope link src 172.16.0.1
default
nexthop via 10.0.0.1 dev eth0 weight 1
nexthop via 10.10.10.1 dev eth2 weight 1


Thanks in advanced for your help.
 
Old 07-14-2010, 04:25 PM   #2
andywebsdale
Member
 
Registered: Jan 2005
Location: Lewisham,London,UK
Distribution: Debian Wheezy AMD64
Posts: 87
Blog Entries: 2

Rep: Reputation: 23
If you look at the article you link to, there's a link to an earlier article. There's loads of comments at the end, & people are discussing this very issue. The author mentions using Shorewall ( a firewall/router) for preferential routing in the 2nd comment. Various solutions are suggested, including firewall(or router) configuration, packet marking, scripts and so on. (I often find the comments after technical blogs are as useful to me as the article itself)
Regards, Andy
 
  


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
Load Balance please Linux - Networking 4 10-28-2008 12:26 AM
squid load balance ghabsh Linux - Server 1 03-24-2007 02:45 AM
CPU Load Balance - Who knows? davi_cabral Linux - General 3 01-02-2006 03:07 PM
dns load and balance kafnir Linux - Networking 1 10-13-2005 12:41 PM
Connection load balance inaki Linux - Networking 1 08-22-2005 10:50 AM

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

All times are GMT -5. The time now is 03:08 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