Foundry Networks Switch and Router Installation And Configuration Manual page 497

Switch and router
Table of Contents

Advertisement

IP Forwarding Cache
Host-Based Load Sharing
Destination Host
Next-Hop
192.168.1.170 (H1)
192.168.6.2 (R2)
192.168.5.1 (R3)
192.168.1.234 (H2)
192.168.6.2 (R2)
192.168.1.218 (H3)
192.168.5.1 (R3)
192.168.2.175 (H4)
192.168.2.193 (H5)
192.168.6.2 (R2)
192.168.2.155 (H6)
192.168.5.1 (R3)
192.168.3.209 (H7)
192.168.6.2 (R2)
192.168.3.159 (H8)
192.168.5.1 (R3)
192.168.3.111 (H9)
192.168.5.1 (R2)
192.168.6.1
R1
192.168.5.2
Figure 15.5
Host-based IP load sharing – basic example
As shown in this example, when the Layer 3 Switch receives traffic for a destination and the IP route table has
multiple equal-cost paths to that destination, the Layer 3 Switch selects the next equal-cost path (next-hop router)
in the rotation and assigns that path to destination. The path rotation is determined by the order in which the IP
route table receives the paths.
Since the configuration in this example contains two paths to hosts H1 – H9, the software alternates between the
two paths when creating new load sharing cache entries for hosts H1 – H9. So long as the cache entry for a
destination remains in the cache, the Layer 3 Switch always uses the same path for the traffic to the destination.
In this example, the Layer 3 Switch always uses R2 as the next hop for forwarding traffic to H1.
Figure 15.6 shows another example of IP forwarding cache entries for the configuration shown in Figure 15.5.
The network and load sharing configurations are the same, but the order in which R1 receives traffic for the host is
different. The paths differ due to the order in which the Layer 3 Switch receives the traffic for the destination hosts.
December 2000
R1 is configured with four IP load
sharing paths, and has two paths
to hosts H1 - H9, attached to R4.
The cache entries in this example
are based on the assumption that
R1 receives traffic for hosts in H1 - H9
in that order.
Once a packet for host H1 is received,
the cache entry applies to all traffic for H1.
Thus, R2 is always used.
R2
192.168.6.2
192.168.7.1
192.168.7.2
R3
192.168.5.1
192.168.4.2
192.168.1.170
H1
192.168.2.175
192.168.1.1
H4
R4
192.168.2.1
192.168.4.1
192.168.3.1
H7
192.168.3.209
Configuring IP
192.168.1.234
192.168.1.218
H2
H3
192.168.2.193
192.168.2.155
H5
H6
H8
H9
192.168.3.159
192.168.3.111
15 - 55

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents