i work somewhere with both LAN and WLAN connections [and both have got internet], but unfortunately bandwidth is limited. Can i use both connections at same time? for example, forcing Firefox to use internet on wireless lan, and ktorrent on LAN?
is there any possible way to make them looking like one gateway?
eth with take over. This is true in my case. Sometimes my networkmanager icon in the tray seems to be confused and decides to display the wlan icon instead of eth - but actually it is only using eth.
I hear where you are coming from re; bandwidth
But I can’t see you getting anymore bandwidth, regardless of how many connections you have. If they all route through the same device, you are limited by what that can give you at any given time.
Obviously eth is always going to be way better than wlan. And even if the two could work side by side at the same time, they would still share the available bandwidth.
I’m not sure this is even possible. You connect to a router of some kind and likely a LAN IP is assigned by MAC from a given range or perhaps by DHCP.
For eg;
wlan0 = 192.168.0.4
eth0 = 192.168.0.5
I can have both my devices connected and showing in the router. But always eth0 takes over when connected. And networkmanager gives no option to manage priority.
Maybe there is a way. Just hope a network guru drops in on this (Larry comes to mind)
You could mark packets according to various criteria with iptables rules and then use those marks to select the route. So you could for example, route HTTP traffic out one interface and other traffic through the other.
The acronym you want to search for is LARTC. It’s not an exercise for newbies though.
Here’s my story with OS 11 64-bit. Weeks ago, just for kicks, I connected a wireless “bridge” to the ethernet port on my laptop which already has an integrated wireless card. I let the bridge use the same subnet as my integrated wireless (I just let it use DHCP from my wireless router, actually), and after that OpenSuse configured itself so that I began receiving all incoming packets via one interface, and sending all outgoing packets via the other (can’t remember which was which anymore). So, the arrangement with two network cards obviously is viable.
Does it double the throughput? I doubt it. The router’s bandwidth just gets shared between the two cards instead of being used up entirely by one. On the other hand, this “bandwidth sharing” COULD be considered some rudimental form of load-balancing. Sort of.