Cisco Cisco IOS Software Release 12.2(33)SRE

Page of 358
 
Features
12
Cisco IOS Release 12.2(33)SRB
Session Redirection
Session redirection involves redirecting packets to real servers. IOS SLB can operate in one of two 
session redirection modes, dispatched mode or directed mode.
Note
In both dispatched and directed modes, IOS SLB must track connections. Therefore, you must design 
your network so that there is no alternate network path from the real servers to the client that bypasses 
the load-balancing device.
Dispatched Mode
In dispatched mode, the virtual server address is known to the real servers; you must configure the virtual 
server IP address as a loopback address, or secondary IP address, on each of the real servers. IOS SLB 
redirects packets to the real servers at the media access control (MAC) layer. Since the virtual server IP 
address is not modified in dispatched mode, the real servers must be Layer 2-adjacent to IOS SLB, or 
intervening routers might not be able to route to the chosen real server.
Refer to the “Configuring Logical Interfaces” chapter of the Cisco IOS Interface Configuration Guide
Release 12.2 for more information about configuring the loopback address.
Note
Some UDP applications cannot respond from the loopback interface. If that situation occurs, you must 
use directed mode.
Directed Mode
In directed mode, the virtual server can be assigned an IP address that is not known to any of the real 
servers. IOS SLB translates packets exchanged between a client and a real server, using NAT to translate 
the virtual server IP address to a real server IP address.
IOS SLB supports the following types of NAT:
Note
You can use both server NAT and client NAT for the same connection.
IOS SLB does not support FTP or firewall load balancing in directed mode. Therefore, FTP and firewall 
load balancing cannot use NAT.
IOS SLB supports only client NAT for TCP and UDP virtual servers.
IOS SLB supports only server NAT (but not server port translation) for Encapsulation Security Payload 
(ESP) virtual servers or Generic Routing Encapsulation (GRE) virtual servers.
Server NAT
Server NAT involves replacing the virtual server IP address with the real server IP address (and vice 
versa). Server NAT provides the following benefits:
Servers can be many hops away from the load-balancing device.
Intervening routers can route to them without requiring tunnelling.