Koozali.org: home of the SME Server

binding 2 NICs in server only mode

Offline raem

  • *
  • 3,972
  • +4/-0
binding 2 NICs in server only mode
« on: March 24, 2006, 07:27:57 AM »
In sme7RC1 in server only mode, when the server has 2 NIC's, there is an option in the Configuration screen to bind the two NIC's together for better throughput.

Can a developer or someone knowledgable give a brief explanation & usage information about this.

Is it a case of just selecting the option and the system takes care of the rest ??
...

Offline byte

  • *
  • 2,183
  • +2/-0
binding 2 NICs in server only mode
« Reply #1 on: March 24, 2006, 11:26:49 AM »
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: binding 2 NICs in server only mode
« Reply #2 on: March 24, 2006, 06:01:02 PM »
Quote from: "RayMitchell"

Can a developer or someone knowledgable give a brief explanation & usage information about this.


http://www.google.ca/search?q=linux+NIC+bonding

Offline raem

  • *
  • 3,972
  • +4/-0
Re: binding 2 NICs in server only mode
« Reply #3 on: March 25, 2006, 01:48:21 AM »
Thanks Charlie & byte

I looked at those search results & this link explains it reasonably well for Debian Sarge
http://www.howtoforge.com/nic_bonding

"The concept of NIC Bonding (or sometimes called NIC Teaming) is that you have two NICs bonded together to appear as if they are the same physical device. I.e. They will both present the same Hardware (MAC) address. This is accomplished through the ifenslave utility, which enables the kernel to see/use only one device, while it sends out packtes via the two slave devices using a round-robbin scheduler."

"Before attempting to bond two NICs, it is highly recommended that you verify the integrity and functionality of each NIC on its own. This document assumes that you've already done that. Using 'mii-tool' you should see something like the following:
testbox:/# mii-tool
eth0: negotiated 100baseTx-FD, link ok
eth1: negotiated 100baseTx-FD, link ok
"

Also this article
http://jamesthornton.com/redhat/linux/Enterprise/4/Reference-Guide/s1-modules-ethernet.html
...

Offline raem

  • *
  • 3,972
  • +4/-0
Re: binding 2 NICs in server only mode
« Reply #4 on: March 25, 2006, 02:02:34 AM »
>Is it a case of just selecting the option and the system takes care of the rest ?

Appears to be.
Connect both NICs to your switch or hub, or to sperate switches/hubs on the same VLAN
check with
ifconfig

Throughput speed will depend on various factors including bus speed.
...

Offline Alex Schaft

  • ****
  • 97
  • +0/-0
Bonding two different cards
« Reply #5 on: November 29, 2006, 07:25:15 AM »
Hi,

Is it possible to bond two different kind of network cards? I've got two cards on board (e1000 and sky2), but I don't get the bonding question in the console.

Running server-only mode
......

Offline bpivk

  • *
  • 908
  • +0/-0
    • http://www.bezigrad.com
binding 2 NICs in server only mode
« Reply #6 on: November 30, 2006, 10:21:08 AM »
But how do you unbond two nics?
"It should just work" if it doesn't report it. Thanks!

Offline pfloor

  • *****
  • 889
  • +1/-0
Re: Bonding two different cards
« Reply #7 on: December 02, 2006, 08:06:24 AM »
Quote from: "Elax"
Hi,

Is it possible to bond two different kind of network cards? I've got two cards on board (e1000 and sky2), but I don't get the bonding question in the console.

Running server-only mode

No, the 2 nics must be identical (same make, model AND version)
In life, you must either "Push, Pull or Get out of the way!"

Offline pfloor

  • *****
  • 889
  • +1/-0
binding 2 NICs in server only mode
« Reply #8 on: December 02, 2006, 08:07:58 AM »
Quote from: "bpivk"
But how do you unbond two nics?

You need to change back to server/gateway mode.
In life, you must either "Push, Pull or Get out of the way!"

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
binding 2 NICs in server only mode
« Reply #9 on: December 02, 2006, 10:20:58 AM »
Quote from: "pfloor"
Quote from: "bpivk"
But how do you unbond two nics?

You need to change back to server/gateway mode.


He's already there...
http://forums.contribs.org/index.php?topic=34722.msg150407#msg150407

I thought you could just go back into server-console and un-bond them (for a server-only setup).
Regards,
William

IF I give advise.. It's only if it was me....