Networking Forums

Networking Forums > Computer Networking > Linux Networking > Channel Bonding: link aggregation across 2 switches

Reply
Thread Tools Display Modes

Channel Bonding: link aggregation across 2 switches

 
 
js
Guest
Posts: n/a

 
      08-31-2006, 08:50 AM

There are 2 switches on the data centre which is a switch managed by the
hosting company. Our servers have dual NICs in them and they are currently
configured using active-backup. Thus, only one slave is active at any time.

AFAIK, the switch is meshed together to provide redundant connections.

In this scenario, is it possible to have have link aggregation across 2
different switches that are meshed together ?

 
Reply With Quote
 
 
 
 
David Schwartz
Guest
Posts: n/a

 
      08-31-2006, 10:33 AM

js wrote:
> There are 2 switches on the data centre which is a switch managed by the
> hosting company. Our servers have dual NICs in them and they are currently
> configured using active-backup. Thus, only one slave is active at any time.
>
> AFAIK, the switch is meshed together to provide redundant connections.
>
> In this scenario, is it possible to have have link aggregation across 2
> different switches that are meshed together ?


There are a variety of ways. I personally prefer doing this at layer 3
(IP layer), especially if your switches can also route at wire speed.

Basically, you assign each link an IP address and you assign the
machine a third IP address. You then advertise a route to the third IP
address over each link and arrange for traffic to be shared over
equal-cost links.

DS

 
Reply With Quote
 
Jeroen Geilman
Guest
Posts: n/a

 
      09-04-2006, 07:11 PM
js wrote:
> There are 2 switches on the data centre which is a switch managed by the
> hosting company. Our servers have dual NICs in them and they are currently
> configured using active-backup. Thus, only one slave is active at any time.
>
> AFAIK, the switch is meshed together to provide redundant connections.
>
> In this scenario, is it possible to have have link aggregation across 2
> different switches that are meshed together ?


That depends on the capabilities of the switches.

A $100 switch can't do anything of any real intelligence, but a $5000
one can.

 
Reply With Quote
 
js
Guest
Posts: n/a

 
      09-05-2006, 01:09 AM
Jeroen Geilman wrote:

> js wrote:
>> There are 2 switches on the data centre which is a switch managed by the
>> hosting company. Our servers have dual NICs in them and they are
>> currently configured using active-backup. Thus, only one slave is active
>> at any time.
>>
>> AFAIK, the switch is meshed together to provide redundant connections.
>>
>> In this scenario, is it possible to have have link aggregation across 2
>> different switches that are meshed together ?

>
> That depends on the capabilities of the switches.
>
> A $100 switch can't do anything of any real intelligence, but a $5000
> one can.


Assuming the switch does support it, is there anything special that needs to
be done on setting up the bonding interface ? Or is the work done the same
compared to setting up link aggregation of multiple NICs on just one
switch ?

 
Reply With Quote
 
Jeroen Geilman
Guest
Posts: n/a

 
      09-06-2006, 09:30 PM
js wrote:
> Jeroen Geilman wrote:
>
>> js wrote:
>>> There are 2 switches on the data centre which is a switch managed by the
>>> hosting company. Our servers have dual NICs in them and they are
>>> currently configured using active-backup. Thus, only one slave is active
>>> at any time.
>>>
>>> AFAIK, the switch is meshed together to provide redundant connections.
>>>
>>> In this scenario, is it possible to have have link aggregation across 2
>>> different switches that are meshed together ?

>> That depends on the capabilities of the switches.
>>
>> A $100 switch can't do anything of any real intelligence, but a $5000
>> one can.

>
> Assuming the switch does support it, is there anything special that needs to
> be done on setting up the bonding interface ? Or is the work done the same
> compared to setting up link aggregation of multiple NICs on just one
> switch ?


You just "bond" or "team" or "whatever" the NICs as you would normally -
whether two bonded NICs connect to one switch or to two different ones
should not matter as long as those switches communicate that fact to
each other.

You do need enough bandwidth *across* the mesh to support this, however.

If the link connecting the switches is slower than the resultant
bandwidth of 2 bonded NICs, the bottleneck will land squarely on that
link, and bonding the client NICs serves no purpose whatsoever.

Remember that end-to-end traffic will still need to go to *one*
endpoint, which is connected to either one switch, or the other.

Unless *all* systems are connected this way, in which case you could
(theoretically) turn a 1 gbit switching matrix into a 2 gbit one

So "the switch supports it" depends on two factors:
1. do they support trunking of bonded channels across the mesh link ?, and
2. are they themselves connected by sufficient bandwidth to make this
scheme even sensible ?

I know for a fact that most Cisco switches can do this.


HTH

J
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bonding with two switches Andreas Moroder Linux Networking 5 03-26-2010 07:10 AM
HA switches with NIC bonding question? tonyferrari Linux Networking 0 02-03-2009 06:25 PM
bonding, link aggregation, and switch config Linux Networking 8 12-15-2004 11:47 PM
Channel Bonding and Bridging tibo Linux Networking 0 06-16-2004 06:35 AM
Link aggregation for dumb 10/100 switches Chris Adams Linux Networking 3 11-14-2003 08:27 AM



1 2 3 4 5 6 7 8 9 10 11