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 configured two internet connection to my Linux box, first Ethernet LAN with range & WIFI with range this both connection are connected to 2 different internet providers & now i want to use both connection at a time & load balance.

Following is output of route -n command

Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface U 0 0 0 eth0 U 2 0 0 wlan0 U 0 0 0 virbr0 UG 0 0 0 eth0

share|improve this question
route is obsolete on Linux. Use ip route instead. Which, incidentally, have load balancing features, but which won't work in your case. – BatchyX Mar 7 '13 at 8:15
How to use ip route for load balancing & why it will not work in my case ? can you please explain me. Thank you – yogesh.panchal Mar 8 '13 at 7:33
See the ip route manpage on nexthop. It won't work in your case, because each internet provider will give you an IP which can only be used with their network. ip route's multipath requires that only one source address is used on both networks. – BatchyX Mar 8 '13 at 19:52

Your Answer


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

Browse other questions tagged or ask your own question.