2 ethernet jacks -> single net connection?
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" <[email protected]>
To: "James Miller" <[email protected]>
Cc: <[email protected]>
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
--
Facundo Suárez
Neuquén - Argentina
FDSoft
mail y jabber: [email protected]
[email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
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
Quoted 37 lines · Juan Facundo Suárez
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" <[email protected]>
To: "James Miller" <[email protected]>
Cc: <[email protected]>
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
Quoted 9 lines
| 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Never said anything, but thanks a lot, shortly i will be trying to do it, with two linux machines.
--
Facundo Suárez
Neuquén - Argentina
FDSoft
mail y jabber: [email protected]
[email protected]
----- Original Message -----
From: "Beolach" <[email protected]>
To: "Juan Facundo Suárez" <[email protected]>
Cc: "linux-newbie list" <[email protected]>
Sent: Friday, January 09, 2004 2:39 AM
Subject: Re: 2 ethernet jacks -> single net connection?
| 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
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs