I would like to increase the speed when downloading large files on a public hotspot by using both a built-in wifi-adapter (wlan0) and a wifi-usb-stick (wlan1).
As bonding wifi-devices does not seem to be possible (or is it?) my plan is to configure a round-robin routing in style of http://lartc.org/howto/lartc.rpdb.multiple-links.html and achive better download-speeds by using a download-manager like aria2c that uses several connections (which in my setup would then be distributed across the wifi-connections).
The problem I am facing is how to setup the main routing table for this.
The situation is the following:
Two wifi-nics connected to the same ap like this:
wlan0, ip 10.22.11.131/24, gateway 10.22.11.1
wlan1, ip 10.22.11.162/24, gateway 10.22.11.1
I have setup two routing tables T0 and T1 like this:
sudo ip route add 10.22.11.0 dev wlan0 src 10.22.11.131 table T0 sudo ip route add 10.22.11.0 dev wlan0 src 10.22.11.163 table T1
Eventually I want to setup the default gateway like this :
sudo ip route add default scope global nexthop via 10.22.11.1 dev wlan0 weight nexthop via 10.22.11.1 dev wlan1 weight 1
but in-between I need to setup the main routing table and I don't know how to do this as in this case both nics are connected to the same network and share both network-address and gateway.
Can someone help me here?