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

TLB TCP Connection Method, TLB Destination IP Address Method

Page 62 highlights

the Automatic mode. By deploying this method now, future upgrades will automatically take advantage of the new intelligence. TLB TCP Connection Method TCP Connection is also a load-balancing method that is designed to preserve frame ordering. This method will load balance outbound traffic based on the TCP port information in the frame's TCP header. This load-balancing method combines the TCP source and destination ports to identify the TCP conversation. Combining these values, the algorithm can identify individual TCP conversations (even multiple conversations between the team and one other network device). The algorithm used to choose which teamed port to use per TCP conversation is similar to the algorithms used in the "TLB Destination IP Address Method" and "TLB Destination MAC Address Method" sections below. If this method is chosen, and the frame has an IP header with and IP address but not a TCP header, then the frame is load balanced by destination IP address (refer to "TLB Destination IP Address Method" below). If the frame doesn't have an IP header, the frame is load balanced by destination MAC address (refer to "TLB Destination MAC Address Method" below). TLB Destination IP Address Method Destination IP Address is a load-balancing method that will attempt to preserve frame ordering. This method makes load-balancing decisions based on the destination IP address of the frame being transmitted by the teaming driver. The frame's destination IP address belongs to the network device that will ultimately receive the frame. The team utilizes the last three bits of the destination IP address to assign the frame to a port for transmission. Because IP addresses are in decimal format, it is necessary to convert them to binary format. For example, an IP address of 1.2.3.4 (dotted decimal) would be 0000 0001 . 0000 0010 . 0000 0011 . 0000 0100 in binary format. The teaming driver only uses the last three bits (100) of the least significant byte (0000 0100 = 4) of the IP address. Utilizing these three bits, the teaming driver will consecutively assign destination IP addresses to each functional network port in its team starting with 000 being assigned to network port 1, 001 being assigned to network port 2, and so on. Of course, how the IP addresses are assigned depends on the number of network ports in the TLB team and how many of those ports are in a functional state (refer to Table 4-9). Table 4-9 Load Balancing based on Destination IP Address (two- and three-port teams) Destination IP 000 001 010 011 100 101 110 111 Two-Port Team Transmitting Port network port 1 network port 2 network port 1 network port 2 network port 1 network port 2 network port 1 network port 2 Destination IP 000 001 010 011 100 101 110 111 Three-Port Team Transmitting Port network port 1 network port 2 network port 3 network port 1 network port 2 network port 3 network port 1 network port 2 Table 4-10 Load Balancing based on Destination IP Address (four- and five-port teams) Destination IP Four-Port Team Transmitting Port Destination IP Five-Port Team Transmitting Port 62 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

the Automatic mode. By deploying this method now, future upgrades will automatically take
advantage of the new intelligence.
TLB TCP Connection Method
TCP Connection is also a load-balancing method that is designed to preserve frame ordering.
This method will load balance outbound traffic based on the TCP port information in the frame’s
TCP header. This load-balancing method combines the TCP source and destination ports to
identify the TCP conversation. Combining these values, the algorithm can identify individual
TCP conversations (even multiple conversations between the team and one other network device).
The algorithm used to choose which teamed port to use per TCP conversation is similar to the
algorithms used in the
“TLB Destination IP Address Method”
and
“TLB Destination MAC
Address Method”
sections below.
If this method is chosen, and the frame has an IP header with and IP address but not a TCP
header, then the frame is load balanced by destination IP address (refer to
“TLB Destination IP
Address Method”
below). If the frame doesn’t have an IP header, the frame is load balanced by
destination MAC address (refer to
“TLB Destination MAC Address Method”
below).
TLB Destination IP Address Method
Destination IP Address is a load-balancing method that will attempt to preserve frame ordering.
This method makes load-balancing decisions based on the destination IP address of the frame
being transmitted by the teaming driver. The frame’s destination IP address belongs to the
network device that will ultimately receive the frame. The team utilizes the last three bits of the
destination IP address to assign the frame to a port for transmission.
Because IP addresses are in decimal format, it is necessary to convert them to binary format. For
example, an IP address of 1.2.3.4 (dotted decimal) would be 0000 0001 . 0000 0010 . 0000 0011 .
0000 0100 in binary format. The teaming driver only uses the last three bits (100) of the least
significant byte (0000 0100 = 4) of the IP address. Utilizing these three bits, the teaming driver
will consecutively assign destination IP addresses to each functional network port in its team
starting with 000 being assigned to network port 1, 001 being assigned to network port 2, and
so on. Of course, how the IP addresses are assigned depends on the number of network ports in
the TLB team and how many of those ports are in a functional state (refer to
Table 4-9
).
Table 4-9 Load Balancing based on Destination IP Address (two- and three-port teams)
Three-Port Team
Two-Port Team
Transmitting Port
Destination IP
Transmitting Port
Destination IP
network port 1
000
network port 1
000
network port 2
001
network port 2
001
network port 3
010
network port 1
010
network port 1
011
network port 2
011
network port 2
100
network port 1
100
network port 3
101
network port 2
101
network port 1
110
network port 1
110
network port 2
111
network port 2
111
Table 4-10 Load Balancing based on Destination IP Address (four- and five-port teams)
Five-Port Team
Four-Port Team
Transmitting Port
Destination IP
Transmitting Port
Destination IP
62
The Mechanics of Teaming for the Advanced User