Cisco Systems Layer 3 Etherchannel Issue

Bookmark this page:  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Layer 3 Etherchannel Issue Ross 09-16-08
Posted by Ross on September 16, 2008, 10:27 am
Please log in for more thread options


Dear Group,

I have bought a pair of Catalyst 3750G switches with the advanced IP
services image installed. I am trying to achieve Etherchannel load
balancing using Layer 3 by assigning the port channel an IP address. I
want to be able to send traffic to the IP address assigned to the port
channel and it load balance using src-dst-ip to three backend servers
running a server application which accepts connections on TCP port
1023. All of these servers have Intel ProSet adapters configured for
LACP teaming.

If I assign the port channel an IP address of 192.168.29.254 and each
of the servers teamed NICS a 192.168.29.X address I cannot get any
traffic to the server hosts sending data to the 192.168.29.254 of the
port-channel address. However if i send traffic to TCP port 1023 to
one of the servers teamed NIC 192.168.29.X addresses traffic gets
through.

Each of the servers ports on the switch are assigned into the correct
channel port group.

I guess my first question is if what I am trying to acheive possible
using an L3 Etherchannel. And if so what I am doing wrong.

I will post a copy of relevant config sections shortly. The two
catalyst switches are in a stack. Each servers dual NIC has a port
assigned on each member of the stack to create the Etherchannel.

IE GigabitEthernet1/0/1 , GigabitEthernet2/0/1 - 1st server
GigabitEthernet1/0/2, GigabitEthernet2/0/2 - 2nd server and so on


Kind Regards

Posted by fugettaboutit on September 16, 2008, 10:50 am
Please log in for more thread options


Ross wrote:
> Dear Group,
>
> I have bought a pair of Catalyst 3750G switches with the advanced IP
> services image installed. I am trying to achieve Etherchannel load
> balancing using Layer 3 by assigning the port channel an IP address.

---> Keep in mind that an Etherchannel is a L2 entity. However, IOS can
inspect the L3 information of a presented packet, and you can load-share
based on that information. By default, IOS utilizes a MAC hashing/XOR
operation to decide which link to send traffic. As you're probably
already aware, this can be an issue if handing off to a router since the
router could present only one MAC. :-) Utilize the "test etherchannel"
command to verify load-balancing criteria on your Cats.

I
> want to be able to send traffic to the IP address assigned to the port
> channel and it load balance using src-dst-ip to three backend servers
> running a server application which accepts connections on TCP port
> 1023. All of these servers have Intel ProSet adapters configured for
> LACP teaming.

---> In general, force channeling of the Cat interfaces (sounds like
this is already working).

>
> If I assign the port channel an IP address of 192.168.29.254 and each
> of the servers teamed NICS a 192.168.29.X address I cannot get any
> traffic to the server hosts sending data to the 192.168.29.254 of the
> port-channel address. However if i send traffic to TCP port 1023 to
> one of the servers teamed NIC 192.168.29.X addresses traffic gets
> through.

---> Dump the L3 port-channel interface configuration. Configure the
channel to form as a L2 entity only.

>
> Each of the servers ports on the switch are assigned into the correct
> channel port group.
>
> I guess my first question is if what I am trying to acheive possible
> using an L3 Etherchannel. And if so what I am doing wrong.

---> I's suggest you configure GLBP on both 3750s. Run each teamed NIC
to a seperate switch. Don't configure L3 teaming on the server; utilize
L2 only. You'll see lots of Intel keepalive traffic over the channel, so
don't panic. Configure the IP stack per normal on the server and assign
it to the L2 NIC team.

>
> I will post a copy of relevant config sections shortly. The two
> catalyst switches are in a stack. Each servers dual NIC has a port
> assigned on each member of the stack to create the Etherchannel.
>
> IE GigabitEthernet1/0/1 , GigabitEthernet2/0/1 - 1st server
> GigabitEthernet1/0/2, GigabitEthernet2/0/2 - 2nd server and so on
>
>
> Kind Regards


This basic approach should allow you to achieve what you're after:
selection of a channel member link based on L3 packet info, and,
fault-tolerance at L2 (NIC teaming and Etherchannel) and L3 (GLBP). If
anyone else has any thoughts, chime in, but my server team has had
seemingly decent results with this approach.

Posted by Ross on September 16, 2008, 11:54 am
Please log in for more thread options


> Ross wrote:
> > Dear Group,
>
> > I have bought a pair of Catalyst 3750G switches with the advanced IP
> > services image installed. I am trying to achieve Etherchannel load
> > balancing using Layer 3 by assigning the port channel an IP address.
>
> ---> Keep in mind that an Etherchannel is a L2 entity. However, IOS can
> inspect the L3 information of a presented packet, and you can load-share
> based on that information. By default, IOS utilizes a MAC hashing/XOR
> operation to decide which link to send traffic. As you're probably
> already aware, this can be an issue if handing off to a router since the
> router could present only one MAC. :-) Utilize the "test etherchannel"
> command to verify load-balancing criteria on your Cats.
>
> I
>
> > want to be able to send traffic to the IP address assigned to the port
> > channel and it load balance using src-dst-ip to three backend servers
> > running a server application which accepts connections on TCP port
> > 1023. All of these servers have Intel ProSet adapters configured for
> > LACP teaming.
>
> ---> In general, force channeling of the Cat interfaces (sounds like
> this is already working).
>
>
>
> > If I assign the port channel an IP address of 192.168.29.254 and each
> > of the servers teamed NICS a 192.168.29.X address I cannot get any
> > traffic to the server hosts sending data to the 192.168.29.254 of the
> > port-channel address. However if i send traffic to TCP port 1023 to
> > one of the servers teamed NIC 192.168.29.X addresses traffic gets
> > through.
>
> ---> Dump the L3 port-channel interface configuration. Configure the
> channel to form as a L2 entity only.
>
>
>
> > Each of the servers ports on the switch are assigned into the correct
> > channel port group.
>
> > I guess my first question is if what I am trying to acheive possible
> > using an L3 Etherchannel. And if so what I am doing wrong.
>
> ---> I's suggest you configure GLBP on both 3750s. Run each teamed NIC
> to a seperate switch. Don't configure L3 teaming on the server; utilize
> L2 only. You'll see lots of Intel keepalive traffic over the channel, so
> don't panic. Configure the IP stack per normal on the server and assign
> it to the L2 NIC team.
>
>
>
> > I will post a copy of relevant config sections shortly. The two
> > catalyst switches are in a stack. Each servers dual NIC has a port
> > assigned on each member of the stack to create the Etherchannel.
>
> > IE GigabitEthernet1/0/1 , GigabitEthernet2/0/1 =A0- 1st server
> > =A0 =A0 GigabitEthernet1/0/2, GigabitEthernet2/0/2 - 2nd server and so =
on
>
> > Kind Regards
>
> This basic approach should allow you to achieve what you're after:
> selection of a channel member link based on L3 packet info, and,
> fault-tolerance at L2 (NIC teaming and Etherchannel) and L3 (GLBP). If
> anyone else has any thoughts, chime in, but my server team has had
> seemingly decent results with this approach.

Will give it a try. I saw the "glbp" command subset on the port-
channel interface but when i tried to assign an IP address it said
command set not supported by switch stack. Do 3750 "G" switches
support it? Or is it just "E" series. Or maybe this is because the
interface is in L3 mode and not L2

Regards

Posted by fugettaboutit on September 17, 2008, 2:32 pm
Please log in for more thread options


Ross wrote:
>> Ross wrote:
>>> Dear Group,
>>> I have bought a pair of Catalyst 3750G switches with the advanced IP
>>> services image installed. I am trying to achieve Etherchannel load
>>> balancing using Layer 3 by assigning the port channel an IP address.
>> ---> Keep in mind that an Etherchannel is a L2 entity. However, IOS can
>> inspect the L3 information of a presented packet, and you can load-share
>> based on that information. By default, IOS utilizes a MAC hashing/XOR
>> operation to decide which link to send traffic. As you're probably
>> already aware, this can be an issue if handing off to a router since the
>> router could present only one MAC. :-) Utilize the "test etherchannel"
>> command to verify load-balancing criteria on your Cats.
>>
>> I
>>
>>> want to be able to send traffic to the IP address assigned to the port
>>> channel and it load balance using src-dst-ip to three backend servers
>>> running a server application which accepts connections on TCP port
>>> 1023. All of these servers have Intel ProSet adapters configured for
>>> LACP teaming.
>> ---> In general, force channeling of the Cat interfaces (sounds like
>> this is already working).
>>
>>
>>
>>> If I assign the port channel an IP address of 192.168.29.254 and each
>>> of the servers teamed NICS a 192.168.29.X address I cannot get any
>>> traffic to the server hosts sending data to the 192.168.29.254 of the
>>> port-channel address. However if i send traffic to TCP port 1023 to
>>> one of the servers teamed NIC 192.168.29.X addresses traffic gets
>>> through.
>> ---> Dump the L3 port-channel interface configuration. Configure the
>> channel to form as a L2 entity only.
>>
>>
>>
>>> Each of the servers ports on the switch are assigned into the correct
>>> channel port group.
>>> I guess my first question is if what I am trying to acheive possible
>>> using an L3 Etherchannel. And if so what I am doing wrong.
>> ---> I's suggest you configure GLBP on both 3750s. Run each teamed NIC
>> to a seperate switch. Don't configure L3 teaming on the server; utilize
>> L2 only. You'll see lots of Intel keepalive traffic over the channel, so
>> don't panic. Configure the IP stack per normal on the server and assign
>> it to the L2 NIC team.
>>
>>
>>
>>> I will post a copy of relevant config sections shortly. The two
>>> catalyst switches are in a stack. Each servers dual NIC has a port
>>> assigned on each member of the stack to create the Etherchannel.
>>> IE GigabitEthernet1/0/1 , GigabitEthernet2/0/1 - 1st server
>>> GigabitEthernet1/0/2, GigabitEthernet2/0/2 - 2nd server and so on
>>> Kind Regards
>> This basic approach should allow you to achieve what you're after:
>> selection of a channel member link based on L3 packet info, and,
>> fault-tolerance at L2 (NIC teaming and Etherchannel) and L3 (GLBP). If
>> anyone else has any thoughts, chime in, but my server team has had
>> seemingly decent results with this approach.
>
> Will give it a try. I saw the "glbp" command subset on the port-
> channel interface but when i tried to assign an IP address it said
> command set not supported by switch stack. Do 3750 "G" switches
> support it? Or is it just "E" series. Or maybe this is because the
> interface is in L3 mode and not L2
>
> Regards

Uggh...sorry about this, but it appears that the 3750 platform *isn't*
supported for GLBP, at least according to the CCO Feature Navigator. A
quick search on CCO leads to some confusion since GLBP is mentioned in
some of the Cat IOS image documentation. So, no, it appears GLBP is a
non-starter, however, HSRP looks like it might be an option. You should
be able to accomplish same result with HSRP in place of GLBP, but, I
think HSRP is a little more arcane to deal with (not a fan of the HSRP
group thing...hehe).

Good luck!

Similar ThreadsPosted
Layer 3 Etherchannel Issue September 16, 2008, 10:27 am
Layer 4 EtherChannel Load Balancing August 9, 2008, 8:21 am
6500 etherchannel issue? February 16, 2006, 2:00 pm
2960 (layer 2) vs 3560 (layer 3) ...considerations? September 15, 2006, 9:22 am
Layer 1 / Layer 2 Difference August 17, 2006, 10:00 pm
How to tell if my vlans are layer 2 or layer 3. September 11, 2007, 4:43 am
Etherchannel vs. STP - what do you think? September 18, 2005, 1:40 pm
EtherChannel March 29, 2006, 12:18 am
L2 vs L3 Etherchannel? April 13, 2006, 10:44 pm
Configuring Etherchannel October 18, 2005, 12:55 pm
EtherChannel and Sun/Solaris December 14, 2005, 9:52 pm
Etherchannel problem April 27, 2006, 1:56 pm
etherchannel problem July 26, 2006, 9:38 am
Etherchannel Diagnosis August 18, 2006, 6:47 pm
etherchannel question January 8, 2007, 5:42 pm