Installation and Getting Started Guide
Figure 6.7 shows an example of IP load sharing cache entries for
IP Forwarding Cache | |
Destination Network | |
192.168.1.0 (N1) | 192.168.6.2 (R2) |
192.168.2.0 (N2) | 192.168.6.2 (R3) |
192.168.3.0 (N3) | 192.168.5.1 (R2) |
|
|
R1 is configured with four IP load sharing paths, and has two paths to networks N1 - N3, attached to R4.
The cache entries in this example are based on the assumption that
R1 receives traffic for hosts in N1 - N3 in that order.
Once a packet for a host on N1 is received, the cache entry applies to all hosts on N1. The same applies for N2 and N3.
192.168.1.170 H1
192.168.1.234 H2
192.168.1.218
H3
|
|
|
|
| 192.168.2.175 | 192.168.2.193 | 192.168.2.155 | ||||||
|
|
|
|
| |||||||||
|
|
|
|
| |||||||||
|
|
|
|
| |||||||||
|
|
|
|
| |||||||||
192.168.6.2 | R2 |
| |||||||||||
192.168.7.1 |
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
| H4 |
|
| H5 |
|
| H6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 192.168.1.1 (N1) |
192.168.6.1 |
| 192.168.7.2 |
|
| 192.168.2.1 (N2) |
R1 |
| R4 |
|
| 192.168.3.1 (N3) |
192.168.5.2 |
| 192.168.4.1 |
|
| |
|
| H7 |
192.168.5.1 | R3 | 192.168.4.2 |
|
| 192.168.3.209 |
H8
192.168.3.159
H9
192.168.3.111
Figure 6.7 |
| |||
Notice that | ||||
path 2, then proceeds in ascending numerical order through the remaining paths and ends with path 1. In Figure | ||||
6.7, the first cache entry uses path 2 instead of path 1. The algorithm evenly distributes the load among the | ||||
available paths, but starts with the second path instead of the first path. |
| |||
For | optimal results, set the maximum number of paths to a value at least as high as the maximum number of | |||
| ||||
sharing has six |
| |||
|
|
| maximum paths value to six. See “ | |
Changing the Maximum Number of | ||||
| ||||
|
| |||
NOTE: | If the setting for the maximum number of paths is lower than the actual number of | |||
software does not use all the paths for load sharing. |
| |||
|
|
|
| |
The |
|
|
| |
| ||||
the maximum number of paths allowed on the routing switch and the number of | ||||
destination network. |
| |||
| M modulo P + 1 = S |
| ||
| where: |
|
|
6 - 54