public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: Beolach <beolach@comcast.net>
To: "Juan Facundo Suárez" <facundo.suarez@ensi.com.ar>
Cc: linux-newbie list <linux-newbie@vger.kernel.org>
Subject: Re: 2 ethernet jacks -> single net connection?
Date: Thu, 08 Jan 2004 22:39:24 -0700	[thread overview]
Message-ID: <3FFE3E8C.4040801@comcast.net> (raw)
In-Reply-To: <015801c3d645$b4d2b0a0$680410ac@pcinstru1>

See the file /usr/src/linux-2.6.0/Documentation/networking/bonding.txt 
for more information on how to use ethernet bonding.  Quick summary is:

1: Compile kernel with bonding, or compile & insert the module.

2: Compile and install the userspace tool ifenslave as follows:
# cd /usr/src/linux-2.6.0/Documentation/networking
# gcc -Wall -Wstrict-prototypes -O -I/usr/src/linux/include \
ifenslave.c -o ifenslave
# cp ifenslave /sbin/ifenslave

3: Setup bonded interface & enslave ethernet interfaces:
# ifconfig bond0 192.168.0.1
# ifenslave bond0 eth0
# ifenslave bond0 eth1

At this point the bonded interface should work.

Have fun,
Conway S. Smith

Juan Facundo Suárez wrote:
> So.., once this modules is compiled, how do i set up two of many eth cards
> in one machine to work like this?. May be it's automatically?.
>  If i have a machine acting as router, and it has 4 eth cards, and two of
> these, are connected to another one machine. How can i tell my router, wich
> of those are de two i want to use "bonded" ?
> 
>  Thanks !
> 
> ----- Original Message -----
> From: "Beolach" <beolach@comcast.net>
> To: "James Miller" <jamtat@mailsnare.net>
> Cc: <linux-newbie@vger.kernel.org>
> Sent: Thursday, January 08, 2004 1:58 AM
> Subject: Re: 2 ethernet jacks -> single net connection?
> 
> 
> | First off, I have no actual experience with this, and I am just going
> | off the kernel documentation.  It is possible, and you even remembered
> | the term correctly - ethernet channel bonding.  What will most likely be
> | the deciding factor on whether or not you can actually set this up is if
> | the other end of the two ethernet channels (probably your ISP) supports
> | bonding.  Here's the a direct quote from the relevant kernel documentation.
> |
> | <BLOCKQUOTE>
> | Bonding driver support BONDING
> |
> | Say 'Y' or 'M' if you wish to be able to 'bond' multiple Ethernet
> | Channels together. This is called 'Etherchannel' by Cisco,
> | 'Trunking' by Sun, and 'Bonding' in Linux.
> |
> | If you have two Ethernet connections to some other computer, you can
> | make them behave like one double speed connection using this driver.
> | Naturally, this has to be supported at the other end as well, either
> | with a similar Bonding Linux driver, a Cisco 5500 switch or a
> | SunTrunking SunSoft driver.
> |
> | This is similar to the EQL driver, but it merges Ethernet segments
> | instead of serial lines.
> |
> | To compile this driver as a module, choose M here: the module
> | will be called bonding.
> | </BLOCKQUOTE>
> |
> | Good luck & let us know if you get this working,
> | Conway S. Smith
> 

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  reply	other threads:[~2004-01-09  5:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-09  0:15 2 ethernet jacks -> single net connection? Juan Facundo Suárez
2004-01-09  5:39 ` Beolach [this message]
2004-01-19  9:45   ` Juan Facundo Suárez
  -- strict thread matches above, loose matches on Subject: below --
2004-01-07 18:09 James Miller
2004-01-08  4:58 ` Beolach
2004-01-08 17:13   ` James Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FFE3E8C.4040801@comcast.net \
    --to=beolach@comcast.net \
    --cc=facundo.suarez@ensi.com.ar \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox