I have configured two internet connection to my Linux box, first Ethernet LAN with range 192.168.2.1 & WIFI with range 192.168.1.1 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 192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0 192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0 0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 eth0
routeis obsolete on Linux. Useip routeinstead. Which, incidentally, have load balancing features, but which won't work in your case. – BatchyX Mar 7 '13 at 8:15ip routemanpage onnexthop. 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