Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

i have a problem with load balancing/Fail-overing with Linux gateway

my network look-like this

enter image description here

now, i want users in internal LAN (192.168.1.x), has connect with both line.

is any solution

excuse me for my English, thankyou

share|improve this question
What exactly is it you want to achieve? Fail-over? Load balancing? Increased uplink speed? And where doe these other two networks go? What's in the cloud on the right? – wolfgangsz Jun 20 '11 at 13:58
fail over and increase speed, yes, in left its Internet cloud. – hamedsh Jun 20 '11 at 14:00

For a simple fail-over configuration you'll need two default routes with different metrics on the linux box. The one with the lower metric is the normal default gateway, the other one kicks in if the normal default gateway is down.

Speed increase cannot be achieved this way. For this you would need to trunk the connections, but since they reach into different networks, that is not possible.

Plus: The cloud on the right cannot be the public Internet. Addresses in the 192.168.x.y range cannot be routed on the public Internet. So what is it?

share|improve this answer
for the cloud, you right, but there is address in adsl modem range. i don't sketch them. – hamedsh Jun 21 '11 at 6:16
thank you for your question, for fail-over can give you me a link? – hamedsh Jun 21 '11 at 11:40
Just follow my instructions, it will work. – wolfgangsz Jun 21 '11 at 12:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.