Cisco Systems 78-11741-02 Wireless Office Headset User Manual


 
Configuring Server Load Balancing
Configuration Examples
IPC-153
Cisco IOS IP Configuration Guide
ip slb vservers PUBLIC_HTTP Unrestricted Web virtual server
virtual 10.0.0.1 tcp www Handle HTTP requests
serverfarm PUBLIC Use public Web server farm
inservice
ip slb vservers RESTRICTED_HTTP Restricted HTTP virtual server
virtual 10.0.0.1 tcp www Handle HTTP requests
serverfarm RESTRICTED Use restricted Web server farm
client 10.4.4.0 255.255.255.0 Only allow clients from 10.4.4.x
sticky 60 idle 120 group 1 Couple connections with RESTRICTED_SSL
inservice
ip slb vservers RESTRICTED_SSL Restricted SSL virtual server
virtual 10.0.0.1 tcp https Handle SSL requests
serverfarm RESTRICTED Use restricted Web server farm
client 10.4.4.0 255.255.255.0 Only allow clients from 10.4.4.x
sticky 60 idle 120 group 1 Couple connections with RESTRICTED_HTTP
inservice
NAT Configuration Example
This section provides a configuration example based on the network layout shown in Figure 25.
Figure 25 IOS SLB NAT Topology
The topology in Figure 25 has four Web servers, configured as follows:
Servers 1, 2, and 3 are running single HTTP server applications listening on port 80.
Server 1
10.1.1.1
Server 2
10.2.1.1
Server 3
10.3.1.1
Server 4
10.4.1.1
Switch A Switch B Switch C
HTTP=80 HTTP=80 HTTP=80 HTTP1 = 8080
HTTP2 = 8081
HTTP3 = 8082
Clients
33459