Network Router User Manual
Table Of Contents
- Notices
- Contents
- About This Manual
- Introduction
- Hot Swapping Line Cards and Control Modules
- Bridging Configuration Guide
- Bridging Overview
- VLAN Overview
- Configuring SSR Bridging Functions
- Monitoring Bridging
- Configuration Examples
- SmartTRUNK Configuration Guide
- ATM Configuration Guide
- Packet-over-SONET Configuration Guide
- DHCP Configuration Guide
- IP Routing Configuration Guide
- IP Routing Protocols
- Configuring IP Interfaces and Parameters
- Configuring IP Interfaces to Ports
- Configuring IP Interfaces for a VLAN
- Specifying Ethernet Encapsulation Method
- Configuring Jumbo Frames
- Configuring Address Resolution Protocol (ARP)
- Configuring Reverse Address Resolution Protocol (RARP)
- Configuring DNS Parameters
- Configuring IP Services (ICMP)
- Configuring IP Helper
- Configuring Direct Broadcast
- Configuring Denial of Service (DOS)
- Monitoring IP Parameters
- Configuring Router Discovery
- Configuration Examples
- VRRP Configuration Guide
- RIP Configuration Guide
- OSPF Configuration Guide
- BGP Configuration Guide
- Routing Policy Configuration Guide
- Route Import and Export Policy Overview
- Configuring Simple Routing Policies
- Configuring Advanced Routing Policies
- Multicast Routing Configuration Guide
- IP Policy-Based Forwarding Configuration Guide
- Network Address Translation Configuration Guide
- Web Hosting Configuration Guide
- Overview
- Load Balancing
- Web Caching
- IPX Routing Configuration Guide
- Access Control List Configuration Guide
- Security Configuration Guide
- QoS Configuration Guide
- Performance Monitoring Guide
- RMON Configuration Guide
- LFAP Configuration Guide
- WAN Configuration Guide
- WAN Overview
- Frame Relay Overview
- Configuring Frame Relay Interfaces for the SSR
- Monitoring Frame Relay WAN Ports
- Frame Relay Port Configuration
- Point-to-Point Protocol (PPP) Overview
- Configuring PPP Interfaces
- Monitoring PPP WAN Ports
- PPP Port Configuration
- WAN Configuration Examples
- New Features Supported on Line Cards

Chapter 17: Web Hosting Configuration Guide
240 SmartSwitch Router User Reference Manual
Web Hosting with One Virtual Group and Multiple Destination Servers
In the following example, a company web site is established with a URL of
www.ctron.com. The system administrator configures the networks so that the SSR
forwards web requests among four separate servers, as shown below.
The network shown above can be created with the following load-balance commands:
The following is an example of how to configure a simple verification check where the
SSR will issue an HTTP command to retrieve an HTML page and check for the string
“OK”:
The read-till-index option is not necessary if the file test.html contains “OK” as the first
two characters. The read-till-index option is helpful if the exact index of the acv-reply
string in the file is not known to the user. In the above example, the SSR will search from
the beginning of the file up to the 25th character for the start of the string “OK.”
Router
Internet
10.1.1.1
10.1.1.2
10.1.1.3
10.1.1.4
www.ctron.com
Web requests
to www.ctron.com
Virtual IP Address:
207.135.89.16
Web requests
forwarded to
one of the servers
Domain
Name
Virtual IP TCP Port
Real Server
IP
TCP Port
www.ctron.com 207.135.89.16 80 10.1.1.1 80
10.1.1.2 80
10.1.1.3 80
10.1.1.4 80
load-balance create group-name ctron-www virtual-ip 207.135.89.16 virtual-port 80
protocol tcp
load-balance add host-to-group 10.1.1.1-10.1.1.4 group-name ctron-www port 80
load-balance set group-options ctron-www acv-command “GET /test.html” acv-reply
“OK” read-till-index 25