cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7427
Views
0
Helpful
6
Replies

active/active NIC teaming

visitor68
Level 4
Level 4

From a Cisco doc about Nexus:

"vPCs enable full, cross-sectional bandwidth utilization among LAN switches, as well as between servers and LAN switches."

This has always confused me. Cant you run an active/active NIC teaming without vPC? That will give you full cross sectional bandwidth.

Am I wrong?

Thanks

6 Replies 6

Reza Sharifi
Hall of Fame
Hall of Fame

Yes, you can do this using EtherChannel connecting a server with 2 NICs to 2 Nexus switches or using VSS connecting a server with 2 NICs to  2 6500 switches.

One NIC connects to one switch and the other NIC connect to the second switch using EtherChannel.

HTH

Reza

Reza, Im asking whether one can configure active/active NIC teaming without vPC or VSS. In other words, why is configuring act/act teaming a function of the access switches?

A server with dual uplinks to 2 separate switches is not like a switch with dual uplinks. There's no loop with a server. With SLB server NIC teaming from Broadcom, only one uplink sends broadcasts. And anyway, even if both did, there still wouldnt be a loop because a server doesnt behave like a switch.A server can send a broadcast out both NICs and when each NIC receives the others broadcast in turn it will end there. The server will not forward the broadcast it receives, like a switch does.

Read this NIC teaming white paper from Broadcom...

Smart Load Balancing provides both load balancing and failover when configured for Load Balancing, and only failover when configured for fault tolerance. It works with any Ethernet switch and requires no trunking configuration on the switch. The team advertises multiple MAC addresses and one or more IP addresses (when using secondary IP addresses). The team MAC address is selected from the list of load balancing members. When the server receives an ARP Request, the software-networking stack will always send an ARP Reply with the team MAC address. To begin the load balancing process, the teaming driver will modify this ARP Reply by changing the source MAC address to match one of the physical adapters.

Smart Load Balancing enables both transmit and receive load balancing based on the Layer 3/Layer 4 IP address and TCP/UDP port number. In other words, the load balancing is not done at a byte or frame level but on a TCP/UDP session basis. This methodology is required to maintain in-order delivery of frames that belong to the same socket conversation. Load balancing is supported on 2-8 ports. These ports can include any combination of add-in adapters and LAN-on-Motherboard (LOM) devices. Transmit load balancing is achieved by creating a hashing table using the source and destination IP addresses and TCP/UDP port numbers.  The same combination of source and destination IP addresses and TCP/UDP port numbers will generally yield the same hash index and therefore point to the same port in the team. When a port is selected to carry all the frames of a given socket, the unique MAC address of the physical adapter is included in the frame, and not the team MAC address. This is required to comply with the IEEE 802.3 standard. If two adapters transmit using the same MAC address, then a duplicate MAC address situation would occur that the switch could not handle.

Receive Load Balancing is achieved through an intermediate driver by sending Gratuitous ARPs on a client by client basis using the unicast address of each client as the destination address of the ARP Request (also known as a Directed ARP). This is considered client load balancing and not traffic load balancing. When the intermediate driver detects a significant load imbalance between the physical adapters in an SLB team, it will generate G-ARPs in an effort to redistribute incoming frames. The intermediate driver (BASP) does not answer ARP Requests; only the software protocol stack provides the required ARP Reply. It is important to understand that receive load balancing is a function of the number of clients that are connecting to the server via the team interface.

SLB Receive Load Balancing attempts to load balance incoming traffic for client machines across physical ports in the team. It uses a modified Gratuitous ARP to advertise a different MAC address for the team IP Address in the sender physical and protocol address. This G-ARP is unicast with the MAC and IP Address of a client machine in the target physical and protocol address respectively. This causes the target client to update its ARP cache with a new MAC address map to the team IP address. G-ARPs are not broadcast because this would cause all clients to send their traffic to the same port. As a result, the benefits achieved through client load balancing would be eliminated, and could cause out of order frame delivery. This receive load balancing scheme works as long as all clients and the teamed server are on the same subnet or broadcast domain.

When the clients and the server are on different subnets, and incoming traffic has to traverse a router, the received traffic destined for the server is not load balanced. The physical adapter that the intermediate driver has selected to carry the IP flow will carry all of the traffic. When the router needs to send a frame to the team IP address, it will broadcast an ARP Request (if not in the ARP cache). The server software stack will generate an ARP Reply with the team MAC address, but the intermediate driver will modify the ARP Reply and send it over a particular physical adapter, establishing the flow for that session.

The reason is that ARP is not a routable protocol. It does not have an IP header and therefore is not sent to the router or default gateway. ARP is only a local subnet protocol. In addition, since the G-ARP is not a broadcast packet, the router will not process it and will not update its own ARP cache.

The only way that the router would process an ARP that is intended for another network device is if it has Proxy ARP enabled and the host has no default gateway. This is very rare and not recommended for most applications.

Transmit traffic through a router will be load balanced as transmit load balancing is based on the source and destination IP address and TCP/UDP port number. Since routers do not alter the source and destination IP address, the load balancing algorithm works as intended.

Configuring routers for Hot Standby Routing Protocol (HSRP) does not allow for receive load balancing to occur in the NIC team. In general, HSRP allows for two routers to act as one router, advertising a virtual IP and virtual MAC address. One physical router is the active interface while the other is standby. Although HSRP can also load share nodes (using different default gateways on the host nodes) across multiple routers in HSRP groups, it always points to the primary MAC address of the team.

Reza?

I guess I am asking if anyone can validate what I am thinking...

Thanks

I am not sure, if I understand your question clearly

If you are looking for NIC redundancy and switch redundancy, I would think you need VCC or VSS using PortChannel

or am I completly confused?

Reza, I am asking whether it is accurate to say that vPC is NOT needed to have an active/active NIC teaming configuration.

My understanding is that if you have a Host/Server etc with dual NICs connected to two switches which themselves are connected (no stack or VSS), you will require more then one MAC addresses to avoid duplicate MAC address detection. If the LB mechanism implements one MAC address through dual NICS on server, then switches would detect duplicate Mac unless using stack or VSS.

Review Cisco Networking for a $25 gift card