HP Integrity rx2800 HP Integrity Network Adapter Teaming Whitepaper - Page 66

TLB Round Robin Method for Outbound Load Balancing

Page 66 highlights

Figure 4-16 Scenario 4-D: TLB team using MAC address for load-balancing algorithm MAC = F IP = 1.1.1.4 Yellow Ethernet MAC = A IP = 1.1.1.1 MAC = B Primary MAC = E Non-Primary Red TLB IP = 1.1.1.2 Blue (server) In summary, special consideration should be given when choosing the MAC address-based load-balancing algorithm in an environment where the server and clients are separated by a Layer 3 device such as a router. In such an environment, the server must communicate with the clients via the router (set as the server's default gateway). When communicating with the clients, the server sends all traffic to the router, which then sends the traffic to the clients. If MAC address-based load balancing is selected, all traffic destined for clients is transmitted using the same teamed port in the load balancing team and is not load balanced. This occurs because the server must use the router's MAC address as the Layer 2 address in every frame while it uses the client's IP address as the Layer 3 address in the same frame. Because the router's MAC address is used in every frame, the MAC address-based load-balancing algorithm chooses the same teamed port for all transmitted traffic. A better option is to choose the Automatic load-balancing algorithm described in the section, "TLB Automatic Method". The team's transmit load balancing will be based on either the IP address of the clients or the TCP ports for the connection rather than on the router's MAC address (which is the same for all connections through the router). In hybrid environments in which the server is communicating with clients on its own network (Layer 2), as well as clients on the other side of a router (Layer 3), HP recommends using Automatic method (refer to the section, "TLB Automatic Method"), TCP Connection method (refer to the section, "TLB TCP Connection Method"), or Destination IP Connection method (refer to the section, "TLB Destination IP Address Method"). TLB Round Robin Method for Outbound Load Balancing Round Robin is a load-balancing method that will NOT preserve frame ordering. This method is the simplest of all methods. It load balances every outbound frame out every operational teamed port on a frame-by-frame basis. Absolutely no frame ordering is maintained. All teamed 66 The Mechanics of Teaming for the Advanced User

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103

Figure 4-16 Scenario 4-D: TLB team using MAC address for load-balancing algorithm
Ethernet
MAC = F
IP = 1.1.1.4
MAC = A
IP = 1.1.1.1
MAC = B
Primary
MAC = E
Non-Primary
Blue
(server)
Yellow
Red
TLB
IP = 1.1.1.2
In summary, special consideration should be given when choosing the MAC address-based
load-balancing algorithm in an environment where the server and clients are separated by a
Layer 3 device such as a router. In such an environment, the server must communicate with the
clients via the router (set as the server’s default gateway). When communicating with the clients,
the server sends all traffic to the router, which then sends the traffic to the clients. If MAC
address-based load balancing is selected, all traffic destined for clients is transmitted using the
same teamed port in the load balancing team and is not load balanced. This occurs because the
server must use the router’s MAC address as the Layer 2 address in every frame while it uses
the client’s IP address as the Layer 3 address in the same frame. Because the router’s MAC address
is used in every frame, the MAC address-based load-balancing algorithm chooses the same
teamed port for all transmitted traffic.
A better option is to choose the Automatic load-balancing algorithm described in the section,
“TLB Automatic Method”
. The team’s transmit load balancing will be based on either the IP
address of the clients or the TCP ports for the connection rather than on the router’s MAC address
(which is the same for all connections through the router). In hybrid environments in which the
server is communicating with clients on its own network (Layer 2), as well as clients on the other
side of a router (Layer 3), HP recommends using Automatic method (refer to the section,
“TLB
Automatic Method”
), TCP Connection method (refer to the section,
“TLB TCP Connection
Method”
), or Destination IP Connection method (refer to the section,
“TLB Destination IP Address
Method”
).
TLB Round Robin Method for Outbound Load Balancing
Round Robin is a load-balancing method that will NOT preserve frame ordering. This method
is the simplest of all methods. It load balances every outbound frame out every operational
teamed port on a frame–by-frame basis. Absolutely no frame ordering is maintained. All teamed
66
The Mechanics of Teaming for the Advanced User