From: Andrei Popescu on
On Sat,15.May.10, 16:32:05, Merciadri Luca wrote:
> >
> > The second one
> > bonding http://www.linuxfoundation.org/collaborate/workgroups/networking/bonding
> > whit this one you can plus the bandwidth.
> >
> `Bonding' seems to achieve what I wanted to do. Thanks.

But will probably not work in you case, as it was meant to combine two
(or more?) network ports from the same computer connected to the same
switch.

Regards,
Andrei
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
From: Merciadri Luca on
Andrei Popescu wrote:
> On Sat,15.May.10, 16:32:05, Merciadri Luca wrote:
>
>>> The second one
>>> bonding http://www.linuxfoundation.org/collaborate/workgroups/networking/bonding
>>> whit this one you can plus the bandwidth.
>>>
>>>
>> `Bonding' seems to achieve what I wanted to do. Thanks.
>>
>
> But will probably not work in you case, as it was meant to combine two
> (or more?) network ports from the same computer connected to the same
> switch.
>
The description says

==
The Linux bonding driver provides a method for aggregating
multiple network interfaces into a single logical
bonded <http://en.wikipedia.com/wiki/Link_aggregation> interface.
==

Strictly speaking, this is what I want. Now, your interpretation seems
to be based on the definition of a link aggregation, which I am not
really familiar with. Basically, I want to merge connections into one,
or at least divide and use them separately, in an easy way. This is not
a so-rare situation, is it? E.g. you might be wandering in some zone
where you can use the WiFi, but where it is sometimes unavailable, say
at specific regions. If you manage to use another connection, for
example the one that is given by your mobile phone/smartphone /via/
Bluetooth (which is then connected to the internet through other
protocols), it should be possible to switch between these two
connections, or to use them simultaneously, if, say, WiFi 's range is
too small or WiFi's bandwidth too small compared to the smartphone's
one. (Okay, this is not a really realistic example.)

You might also share an internet connection with your neighbour,
legally, and use it a lot when he does not need it. Then, if you already
use ethernet, you can use both connections. But how?

--
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
I use PGP. If there is an incompatibility problem with your mail
client, please contact me.




From: Anand Sivaram on
On Sat, May 15, 2010 at 20:09, Andrei Popescu <andreimpopescu(a)gmail.com>wrote:

> On Sat,15.May.10, 16:32:05, Merciadri Luca wrote:
> > >
> > > The second one
> > > bonding
> http://www.linuxfoundation.org/collaborate/workgroups/networking/bonding
> > > whit this one you can plus the bandwidth.
> > >
> > `Bonding' seems to achieve what I wanted to do. Thanks.
>
> But will probably not work in you case, as it was meant to combine two
> (or more?) network ports from the same computer connected to the same
> switch.
>
> Regards,
> Andrei
> --
> Offtopic discussions among Debian users and developers:
> http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iQEcBAEBCAAGBQJL7rIuAAoJEHNWs3jeoi3p1/AIAKU2/OZU4hJaOqZdx6BKaZzQ
> i8W5PF4Dacvglncaq69dQo1XBuMBvg18RL16uhEGutUpT+VWcNeNTo1fF7SXYPRQ
> xREuKzUUMUgLJ6GAAvyrK+C8JAgr8V0Cfqz4lstUiPBkdPWujz7RKOZqAqQRIhB9
> Ub7/EcJ/poDbgLIeFEGmaq7gya2rVCJSxJxQpa0OHToYtvWL5nhwFPxaPJ6js27A
> ex7jAG4MJUxtiCV+zTqY2chXOOCcN7FoSZAFrA3mBJmcdG40btUmywL+jGNNHoro
> 2DeP8NgXUsudfOgmTZcP828eG62UVnan3HumFz1mpkYdGhY28IdC+t3zCSBM41Q=
> =G/nc
> -----END PGP SIGNATURE-----
>
>
Bonding will not work. It is exclusing for mac layer of ethernet.
You could use "ip route2" and there are multiple ways to get load balancing
of two internet connections.
Look at "www.lartc.org" for more details.
From: Camaleón on
On Sat, 15 May 2010 16:32:05 +0200, Merciadri Luca wrote:

> `Bonding' seems to achieve what I wanted to do. Thanks.

Sure? I don't think so :-)

"Bonding" is for ethernet devices, nothing to do with using your
"router's bandwith". Ethernet bonding is like hard disk raid: it will
prevent for a "link" going down and you can use it to increasing
throughput but what you want to achieve is not done with that, as you
will be still facing the problem on how/where to route packages.

Also, bonding requires at least 2 ethernet adapters.

A very good bonding tutorial:

http://www.linuxfoundation.org/collaborate/workgroups/networking/bonding

But you may need something like this:

How To: Load Balancing & Failover With Dual/ Multi WAN / ADSL / Cable
Connections on Linux
http://blog.taragana.com/index.php/archive/how-to-load-balancing-failover-with-dual-multi-wan-adsl-cable-connections-on-linux/

And I advance you is not an easy task :-P

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/pan.2010.05.15.15.03.31(a)gmail.com
From: Andrei Popescu on
On Sat,15.May.10, 16:47:07, Merciadri Luca wrote:
> >
> > But will probably not work in you case, as it was meant to combine two
> > (or more?) network ports from the same computer connected to the same
> > switch.
> >
> The description says
>
> ==
> The Linux bonding driver provides a method for aggregating
> multiple network interfaces into a single logical
> bonded <http://en.wikipedia.com/wiki/Link_aggregation> interface.
> ==
>
> Strictly speaking, this is what I want. Now, your interpretation seems
> to be based on the definition of a link aggregation, which I am not
> really familiar with. Basically, I want to merge connections into one,
> or at least divide and use them separately, in an easy way. This is not
> a so-rare situation, is it? E.g. you might be wandering in some zone
> where you can use the WiFi, but where it is sometimes unavailable, say
> at specific regions. If you manage to use another connection, for
> example the one that is given by your mobile phone/smartphone /via/
> Bluetooth (which is then connected to the internet through other
> protocols), it should be possible to switch between these two
> connections, or to use them simultaneously, if, say, WiFi 's range is
> too small or WiFi's bandwidth too small compared to the smartphone's
> one. (Okay, this is not a really realistic example.)
>
> You might also share an internet connection with your neighbour,
> legally, and use it a lot when he does not need it. Then, if you already
> use ethernet, you can use both connections. But how?

Bonding is not suitable for you because it works too low-level (it is
layer 2), unless you have two links from the same provider, using some
technology that can be bonded (like ADSL).

AFAIU what you need is BGP[1], but I can't give you any tips as this is
way out of my league ;)

Probably a good start (whatever technology you end up using) is a
GNU/Linux (preferably Debian) machine connected to both internet links
and your internal network since consumer gateways don't even have more
than one WAN port[2].

[1] http://en.wikipedia.org/wiki/Border_Gateway_Protocol
[2] some of them could be used for this with custom firmware, but this
is off-topic

Regards,
Andrei
P.S. There is no need to CC me as I am subscribed to the list ;)
--
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic