
Foundry Switch and Router Installation and Configuration Guide
15 - 54
December 2000
Response to Path State Changes
If one of the load-balanced paths to a cached destination becomes unavailable, or the IP route table receives a
new equal-cost path to a cached destination, the software removes the unavailable path from the IP route table.
Then the software selects a new path:
•
For host-based IP load sharing, the next load-balancing cache entry uses the first path to the destination.
The first path is the path that entered the IP route table first. “Host-Based IP Load Sharing” on page 15-54
describes the host-based load-sharing mechanism.
•
For network-based IP load sharing, the next load-balancing cache entry uses the next available path is then
calculated based on the current number of paths and the maximum number of paths allowed. “Network-
Based IP Load Sharing” on page 15-56 describes the network-based load-sharing mechanism.
Host-Based IP Load Sharing
The host-based load sharing method uses a simple round-robin mechanism to select an equal-cost path for traffic
to a destination host. When the Layer 3 Switch receives traffic for a destination host and the IP route table has
multiple equal-cost paths to the host, the Layer 3 Switch checks the IP forwarding cache for a forwarding entry to
the destination.
•
If the IP forwarding cache contains a forwarding entry for the destination, the device uses the entry to forward
the traffic.
•
If the IP forwarding cache does not contain a forwarding entry for the destination, the software selects the
next path in the rotation (the path after the one the software used for the previous load sharing selection).
The software then creates an IP forwarding cache entry that associates the destination host IP address with
the selected path (next-hop IP address).
A cache entry for host-based IP load sharing has an age time of ten minutes. If a cache entry is not used before
the age time expires, the device deletes the cache entry. The age time for IP load sharing cache entries is not
configurable.
Figure 15.5 shows an example of host-based IP load sharing. In this example, the Layer 3 Switch has two equal-
cost paths to hosts H1 – H9. For simplicity, this example assumes that the Layer 3 Switch does not have any
entries in its IP forwarding cache to begin with, and receives traffic for the destination hosts (H1 – H9) in
ascending numerical order, beginning with H1 and ending with H9.
Содержание Switch and Router
Страница 2: ...December 2000 Copyright 2000 by Foundry Networks Inc ...
Страница 26: ...Foundry Switch and Router Installation and Configuration Guide xxvi December 2000 ...
Страница 64: ...Foundry Switch and Router Installation and Configuration Guide 2 34 December 2000 ...
Страница 162: ...Foundry Switch and Router Installation and Configuration Guide 5 38 December 2000 ...
Страница 196: ...Foundry Switch and Router Installation and Configuration Guide 6 34 December 2000 ...
Страница 208: ...Foundry Switch and Router Installation and Configuration Guide 7 12 December 2000 ...
Страница 236: ...Foundry Switch and Router Installation and Configuration Guide 8 28 December 2000 ...
Страница 258: ...Foundry Switch and Router Installation and Configuration Guide 9 22 December 2000 ...
Страница 420: ...Foundry Switch and Router Installation and Configuration Guide 13 32 December 2000 ...
Страница 442: ...Foundry Switch and Router Installation and Configuration Guide 14 22 December 2000 ...
Страница 554: ...Foundry Switch and Router Installation and Configuration Guide 15 112 December 2000 ...
Страница 574: ...Foundry Switch and Router Installation and Configuration Guide 16 20 December 2000 ...
Страница 626: ...Foundry Switch and Router Installation and Configuration Guide 17 52 December 2000 ...
Страница 682: ...Foundry Switch and Router Installation and Configuration Guide 18 56 December 2000 ...
Страница 826: ...Foundry Switch and Router Installation and Configuration Guide 20 20 December 2000 ...
Страница 994: ...Foundry Switch and Router Installation and Configuration Guide 26 10 December 2000 ...
Страница 1004: ...Foundry Switch and Router Installation and Configuration Guide B 6 December 2000 ...
Страница 1044: ...Foundry Switch and Router Installation and Configuration Guide C 40 December 2000 ...
Страница 1048: ...Foundry Switch and Router Installation and Configuration Guide D 4 December 2000 ...
Страница 1070: ...Foundry Switch and Router Installation and Configuration Guide Index 18 December 2000 ...