![background image](http://html.mh-extra.com/html/foundry-networks/switch-and-router/switch-and-router_installation-and-configuration-manual_2324275499.webp)
Configuring IP
December 2000
15 - 57
Figure 15.7 shows an example of IP load sharing cache entries for network-based IP load sharing. The network in
this example is the same as the network in Figure 15.5 and Figure 15.6. Notice that the cache contains one entry
for each destination network, instead of a separate entry for each destination host. Based on the cache entries,
traffic for all hosts (H1, H2, and H3) on network N1 uses the path through R2.
Figure 15.7
Network-based IP load sharing – basic example
Notice that network-based load sharing does not use a simple round-robin method. The path rotation starts with
path 2, then proceeds in ascending numerical order through the remaining paths and ends with path 1. In Figure
15.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
equal-cost paths your network typically contains. For example, if the Layer 3 Switch you are configuring for IP
load sharing has six next-hop routers, set the maximum paths value to six. See “Changing the Maximum Number
of Load Sharing Paths” on page 15-62.
NOTE:
If the setting for the maximum number of paths is lower than the actual number of equal-cost paths, the
software does not use all the paths for load sharing.
The network-based IP load sharing mechanism selects a path based on the following calculation, which involves
the maximum number of paths allowed on the Layer 3 Switch and the number of equal-cost paths available to the
destination network.
M modulo P + 1 = S
where:
H6
192.168.2.155
H5
192.168.2.193
H4
192.168.2.175
H9
192.168.3.111
H3
192.168.1.218
H2
192.168.1.170
H1
192.168.7.1
H8
H7
192.168.3.159
192.168.3.209
IP Forwarding Cache
Network-Based Load Sharing
Destination Network
192.168.1.0 (N1)
192.168.2.0 (N2)
192.168.3.0 (N3)
Next-Hop
192.168.6.2 (R2)
192.168.6.2 (R3)
192.168.5.1 (R2)
192.168.1.1 (N1)
192.168.2.1 (N2)
192.168.3.1 (N3)
192.168.7.2
192.168.4.1
192.168.6.2
192.168.5.2
192.168.4.2
192.168.5.1
192.168.1.234
192.168.6.1
R4
R3
R2
R1
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.
Summary of Contents for Switch and Router
Page 2: ...December 2000 Copyright 2000 by Foundry Networks Inc ...
Page 26: ...Foundry Switch and Router Installation and Configuration Guide xxvi December 2000 ...
Page 64: ...Foundry Switch and Router Installation and Configuration Guide 2 34 December 2000 ...
Page 162: ...Foundry Switch and Router Installation and Configuration Guide 5 38 December 2000 ...
Page 196: ...Foundry Switch and Router Installation and Configuration Guide 6 34 December 2000 ...
Page 208: ...Foundry Switch and Router Installation and Configuration Guide 7 12 December 2000 ...
Page 236: ...Foundry Switch and Router Installation and Configuration Guide 8 28 December 2000 ...
Page 258: ...Foundry Switch and Router Installation and Configuration Guide 9 22 December 2000 ...
Page 420: ...Foundry Switch and Router Installation and Configuration Guide 13 32 December 2000 ...
Page 442: ...Foundry Switch and Router Installation and Configuration Guide 14 22 December 2000 ...
Page 554: ...Foundry Switch and Router Installation and Configuration Guide 15 112 December 2000 ...
Page 574: ...Foundry Switch and Router Installation and Configuration Guide 16 20 December 2000 ...
Page 626: ...Foundry Switch and Router Installation and Configuration Guide 17 52 December 2000 ...
Page 682: ...Foundry Switch and Router Installation and Configuration Guide 18 56 December 2000 ...
Page 826: ...Foundry Switch and Router Installation and Configuration Guide 20 20 December 2000 ...
Page 994: ...Foundry Switch and Router Installation and Configuration Guide 26 10 December 2000 ...
Page 1004: ...Foundry Switch and Router Installation and Configuration Guide B 6 December 2000 ...
Page 1044: ...Foundry Switch and Router Installation and Configuration Guide C 40 December 2000 ...
Page 1048: ...Foundry Switch and Router Installation and Configuration Guide D 4 December 2000 ...
Page 1070: ...Foundry Switch and Router Installation and Configuration Guide Index 18 December 2000 ...