* [LARTC] Question about Bonding interfaces under Linux
@ 2003-02-27 12:08 jean-philippe.le-henaff
2003-02-27 13:17 ` Martin A. Brown
0 siblings, 1 reply; 2+ messages in thread
From: jean-philippe.le-henaff @ 2003-02-27 12:08 UTC (permalink / raw)
To: lartc
I have a question about bonding 2 interfaces to 'load-balance' my 2
connections on Internet.
I have 2 differents Providers (and IP class) with dhcp addressing.
I tried a lot of things with ip+tc and also iptables, but nothing worked.
My question is how to set up my connection to be able to use both
interfaces to double my connection speed.
My network is something like :
________
+------------+ /
| | |
+-------------+ Provider 1 +------- 163.1.x.x
(dhcp)
__ | | | /
___/ \_ +------+-------+ +------------+ |
_/ \__ | eth0 | /
/ \ | | |
| Local network -----+ Linux router | | Internet
\_ __/ | | |
\__ __/ | eth1 | \
\___/ +------+-------+ +------------+ |
| | | \
+-------------+ Provider 2 +------- 82.18.x.x
(dhcp)
| | |
+------------+ \________
Thanks.
Jean-Philippe LE HENAFF
togusa@labo-unix.org
*************************************************************************
Ce message et toutes les pieces jointes (ci-apres le "message") sont
confidentiels et etablis a l'intention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisee est interdite.
Tout message electronique est susceptible d'alteration.
La SOCIETE GENERALE et ses filiales declinent toute responsabilite au
titre de ce message s'il a ete altere, deforme ou falsifie.
********
This message and any attachments (the "message") are confidential and
intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.
E-mails are susceptible to alteration.
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates
shall be liable for the message if altered, changed or falsified.
*************************************************************************
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] Question about Bonding interfaces under Linux
2003-02-27 12:08 [LARTC] Question about Bonding interfaces under Linux jean-philippe.le-henaff
@ 2003-02-27 13:17 ` Martin A. Brown
0 siblings, 0 replies; 2+ messages in thread
From: Martin A. Brown @ 2003-02-27 13:17 UTC (permalink / raw)
To: lartc
Jean-Philippe,
You do not want bonding. Bonding joins together multiple physical
interfaces into a single logical interface with the same IP layer
characteristics. You have two physical and logical interfaces over which
you wish to distribute your outbound traffic.
You want to configure split access load sharing. You will not reach
the total aggregate bandwidth for any single connection (download),
because each single connection will only be able to take advantage of one
of these uplinks. The net effect, however, is that outbound traffic will
select one or the other link, spreading the entire load of the client
machines across both links.
This split access can be done dynamically (see nano.txt) or statically
(see adv-multi-internet.html). In each case, the implementation involves
an understanding of the RPDB and use of multiple routing tables.
If you know the packet signature for each type of traffic you wish to send
across each link (maybe one is a higher quality connection), then you can
configure something like this:
http://linux-ip.net/html/adv-multi-internet.html
If you wish to randomly select a link for each connection, see this:
http://www.linuxvirtualserver.org/~julian/nano.txt
For a general introduction to the topic, see:
http://lartc.org/howto/lartc.rpdb.multiple-links.html
Good luck,
-Martin
: I have a question about bonding 2 interfaces to 'load-balance' my 2
: connections on Internet.
: I have 2 differents Providers (and IP class) with dhcp addressing.
: I tried a lot of things with ip+tc and also iptables, but nothing worked.
: My question is how to set up my connection to be able to use both
: interfaces to double my connection speed.
:
: My network is something like :
:
: ________
: +------------+ /
: | | |
: +-------------+ Provider 1 +------- 163.1.x.x
: (dhcp)
: __ | | | /
: ___/ \_ +------+-------+ +------------+ |
: _/ \__ | eth0 | /
: / \ | | |
: | Local network -----+ Linux router | | Internet
: \_ __/ | | |
: \__ __/ | eth1 | \
: \___/ +------+-------+ +------------+ |
: | | | \
: +-------------+ Provider 2 +------- 82.18.x.x
: (dhcp)
: | | |
: +------------+ \________
:
: Thanks.
:
: Jean-Philippe LE HENAFF
: togusa@labo-unix.org
:
:
:
:
: *************************************************************************
: Ce message et toutes les pieces jointes (ci-apres le "message") sont
: confidentiels et etablis a l'intention exclusive de ses destinataires.
: Toute utilisation ou diffusion non autorisee est interdite.
: Tout message electronique est susceptible d'alteration.
: La SOCIETE GENERALE et ses filiales declinent toute responsabilite au
: titre de ce message s'il a ete altere, deforme ou falsifie.
: ********
: This message and any attachments (the "message") are confidential and
: intended solely for the addressees.
: Any unauthorised use or dissemination is prohibited.
: E-mails are susceptible to alteration.
: Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates
: shall be liable for the message if altered, changed or falsified.
:
: *************************************************************************
:
: _______________________________________________
: LARTC mailing list / LARTC@mailman.ds9a.nl
: http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
:
--
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-02-27 13:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-27 12:08 [LARTC] Question about Bonding interfaces under Linux jean-philippe.le-henaff
2003-02-27 13:17 ` Martin A. Brown
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.