[arch-general] Bonding networks with netcfg
So I’ve got access to two networks, a wireless one on wlan0 and a mobile broadband one (with a 3G modem) on ppp0, and both have a tendency to be rather unreliable. I decided to look up bonding the two, and while I can sometimes manage to enslave wlan0, ppp0 always fails. I’ve followed the information and guides from [1] and [2], as well as what Google could find (though most of the information there was seriously outdated). I did find a post on the BBS with exactly the same problem[3], and I tried what they had used, but it also failed. Is what I want to do even possible? [1] https://wiki.archlinux.org/index.php/Network#Bonding_or_LAG [2] https://wiki.archlinux.org/index.php/netcfg [3] https://bbs.archlinux.org/viewtopic.php?id=133890
Robbie Smith <zoqaeski@gmail.com> wrote:
Is what I want to do even possible?
I won't say it's impossible. The easiest thing I can recommend is building a layer 2 tunnel with openvpn over the ppp connection and enslave this. I don't know if bonding is even possible with non ethernet interfaces but I couldn't find facts for this in a quick google search. -- toerb
On 24/03/13 04:02, Tobias Groß wrote:
Robbie Smith <zoqaeski@gmail.com> wrote:
Is what I want to do even possible?
I won't say it's impossible. The easiest thing I can recommend is building a layer 2 tunnel with openvpn over the ppp connection and enslave this. I don't know if bonding is even possible with non ethernet interfaces but I couldn't find facts for this in a quick google search.
-- toerb
I couldn’t find anything about enslaving ppp interfaces from Google, and a VPN is way overkill for what I need. I just figured that seeing as I have access to two network interfaces, I could increase my internet speeds and reliability by bonding them. At the moment, my connection is a little like [1]… [1] http://theoatmeal.com/comics/no_internet
On 23.03.2013 09:03, Robbie Smith wrote:
So I’ve got access to two networks, a wireless one on wlan0 and a mobile broadband one (with a 3G modem) on ppp0, and both have a tendency to be rather unreliable. I decided to look up bonding the two, and while I can sometimes manage to enslave wlan0, ppp0 always fails.
I’ve followed the information and guides from [1] and [2], as well as what Google could find (though most of the information there was seriously outdated). I did find a post on the BBS with exactly the same problem[3], and I tried what they had used, but it also failed.
Bonding works on ethernet links between your computer and a suitably configured switch (LACP should be best). For ppp links you can use multi-link ppp, but it needs to be supported on the other side too (and both of your ppp links need to connect to the same access server). but bonding wlan0 and ppp0 is not possible, and I don't even see what you expect to gain if both are unreliable. you might try playing with multi-path routing, so that you have a default gateway through both of your links, and packets alternate through one or the other. The linux implementation also supports "weights" that you can set according to the supposed bandwidth of the links. it also supports caching so generally packets of a single connection will go out from the same link. -- дамјан
participants (3)
-
Damjan
-
Robbie Smith
-
Tobias Groß