User avatar
privatejava
Posts: 7
Joined: Mon Jul 28, 2014 7:32 pm
Location: Kathmandu
Contact: Website Yahoo Messenger

Combine eth0 and wlan1 and dispatch from wlan0

Tue Jul 29, 2014 4:43 am

Hi ,
I have two internet connections right now. I just successfully managed to make eth0 internet connection to be shared in wlan1. I am wondering is it technically possible to make bonding of eth0(Ethernet) and wlan1(wifi) and dispatch that internet to the (wlan0)another wifi ? I tried in my ubuntu few weeks back but i couldn't make it out although with so many helps from google and blogs. I am trying to do something similar to Connectify Dispatch and Hotspot at the same time (only available for Ms. Windows context).

Few suggestion or help would be appreciated .
Thanks

mung
Posts: 506
Joined: Fri Nov 18, 2011 10:49 am

Re: Combine eth0 and wlan1 and dispatch from wlan0

Tue Jul 29, 2014 10:44 am

privatejava wrote:Hi ,
I have two internet connections right now. I just successfully managed to make eth0 internet connection to be shared in wlan1. I am wondering is it technically possible to make bonding of eth0(Ethernet) and wlan1(wifi) and dispatch that internet to the (wlan0)another wifi ? I tried in my ubuntu few weeks back but i couldn't make it out although with so many helps from google and blogs. I am trying to do something similar to Connectify Dispatch and Hotspot at the same time (only available for Ms. Windows context).

Few suggestion or help would be appreciated .
Thanks
I probably know less about networking than you do so maybe I should not be answering your question, but from what little I know your question seems pointless, i.e. there is no point bonding wifi/eth0 if the data is then dispatched through wifi. As far as I know bonding is combining the data rate of two connections to give faster speed, if you are limiting to wlan0 speed why bond eth0 and wlan1 if there is then a bottleneck at wlan0.

I probably do not understand your question, can you please explain better maybe post a diagram and give details of bandwidths etc?

I think iptables could probably do what you want but exactly how is another matter probably beyond me. you will need to research about load balancing and setting default routes and stuff like that. try searching for "iptables bonding" on google?

User avatar
privatejava
Posts: 7
Joined: Mon Jul 28, 2014 7:32 pm
Location: Kathmandu
Contact: Website Yahoo Messenger

Re: Combine eth0 and wlan1 and dispatch from wlan0

Wed Jul 30, 2014 6:54 pm

Hi mung,
first of all thanks for your reply :)

Well i was going to combine my two internet connections. I have two ISPs subscribed and I wanted to used both ISP speed for loading websites and media quickly. One ISP gives me internet from Wifi and another ISP from Ethernet cable. Now I was thinking if it is possible to combine those connection and dispatching that connection to my home so that everybody can use my combined internet via their wifi enabled mobile , computer.

It seems to be quiet weird idea but I think it is somehow possible via raspberry pi too, as these functionality has already being developed by "Connectify" software. If everything works great then I can even create software for linux , making user to take benefits from many internet connections without having to get headache on configuring and spending days for this (Linux users).

Thanks

mung
Posts: 506
Joined: Fri Nov 18, 2011 10:49 am

Re: Combine eth0 and wlan1 and dispatch from wlan0

Thu Jul 31, 2014 4:25 am

Sorry I think maybe I was misunderstanding that you have 2 slow DSL on eth0/wlan1.

Not sure but maybe something like this posting for load balancing: http://www.linuxquestions.org/questions ... 175438664/

There are probably a number of ways that iptables could be used for dividing traffic between different DSL connections, you really will need to spend some hours reading the iptables manual http://man.cx/iptables and maybe start with tutorial http://www.garron.me/en/linux/iptables-manual.html

User avatar
emgi
Posts: 357
Joined: Thu Nov 07, 2013 4:08 pm
Location: NL

Re: Combine eth0 and wlan1 and dispatch from wlan0

Thu Jul 31, 2014 8:20 am

privatejava wrote:Hi mung,
first of all thanks for your reply :)

Well i was going to combine my two internet connections. I have two ISPs subscribed and I wanted to used both ISP speed for loading websites and media quickly. One ISP gives me internet from Wifi and another ISP from Ethernet cable. Now I was thinking if it is possible to combine those connection and dispatching that connection to my home so that everybody can use my combined internet via their wifi enabled mobile , computer.

It seems to be quiet weird idea but I think it is somehow possible via raspberry pi too, as these functionality has already being developed by "Connectify" software. If everything works great then I can even create software for linux , making user to take benefits from many internet connections without having to get headache on configuring and spending days for this (Linux users).

Thanks
There is one major issue preventing this kind of setup to work as you want:
With two providers you will have two different private ip addresses from which your Internet traffic is sourced.
On the Internet side they are really two different sessions and you will never be able to aggregate this traffic into one session.

You can do load sharing, you can do fail-over but you cannot do not bundling (bandwidth aggregation).
Such a setup can only work when you can bundle multiple links terminating in a single public ip address.
This implies using the same provider and needing his assistance to set up the provider-side of it.
Not many ISP's I know are willing to venture into this. They'd rather recommend you to buy a bigger link. :mrgreen:

/emgi

User avatar
privatejava
Posts: 7
Joined: Mon Jul 28, 2014 7:32 pm
Location: Kathmandu
Contact: Website Yahoo Messenger

Re: Combine eth0 and wlan1 and dispatch from wlan0

Thu Jul 31, 2014 10:53 am

I will give it a go this weekend from my linux . I will have read all manuals of ip-tables very soon . So it seems combining of multiple connections is really awkward thing though I think I am still eager in this weird thing :D . I saw the FTP is not working pretty good when we do combining in MS windows may be it's "Connectify" problem or limitation . Well if things get perfect I will post some updates.

Thank you guys.

ibasaw
Posts: 2
Joined: Thu Nov 27, 2014 10:41 am

Re: Combine eth0 and wlan1 and dispatch from wlan0

Thu Nov 27, 2014 10:44 am

hi,

i want to do same thing...i got 2 isp ond got connectify dispatch on win7.

Need to do the same on raspeberry pi.

did you found a solution to do that ?

Return to “General discussion”