Firewall Load Balancing



Similar documents
IOS Server Load Balancing

IOS Server Load Balancing

Configuring Server Load Balancing

Configuring Health Monitoring

Configuring Advanced Server Load Balancing

Configuring Health Monitoring

Configuring Redundancy

Configuring Stickiness

IOS Server Load Balancing

GLBP - Gateway Load Balancing Protocol

Server Load Balancing Configuration Guide Cisco IOS Release 12.2SX

Note: This case study utilizes Packet Tracer. Please see the Chapter 5 Packet Tracer file located in Supplemental Materials.

login timeout 30 access list ALL line 20 extended permit ip any any port 9053 interval 15 passdetect interval 30

Managing Virtual Servers

Securing Networks with PIX and ASA

Configuring Class Maps and Policy Maps

Content Switching Module for the Catalyst 6500 and Cisco 7600 Internet Router

Configuring Network Address Translation

LinkProof And VPN Load Balancing

Avaya P330 Load Balancing Manager User Guide

Alteon Basic Firewall Load Balancing. Sample Configuration

DATA CENTER. Best Practices for High Availability Deployment for the Brocade ADX Switch

Routing Security Server failure detection and recovery Protocol support Redundancy

LAB THREE STATIC ROUTING

Cisco Networking Academy CCNP Multilayer Switching

Layer 3 Redundancy with HSRP By Sunset Learning Instructor Andrew Stibbards

SuperLumin Nemesis. Administration Guide. February 2011

Lab Diagramming Intranet Traffic Flows

Understanding Slow Start

Chapter 11 Network Address Translation

Lab Characterizing Network Applications

Server Iron Hands-on Training

- Redundancy and Load Balancing -

CCNP Switch Questions/Answers Implementing High Availability and Redundancy

Load Balancing Web Proxies Load Balancing Web Filters Load Balancing Web Gateways. Deployment Guide

: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1)

Configuring DHCP Snooping

Smart Tips. Enabling WAN Load Balancing. Key Features. Network Diagram. Overview. Featured Products. WAN Failover. Enabling WAN Load Balancing Page 1

ServerIron TrafficWorks Firewall Load Balancing Guide

Supported Platforms. Supported Standards, MIBs, and RFCs. Prerequisites. Related Features and Technologies. Related Documents. Improved Server Access

NetFlow Subinterface Support

Configuring IPS High Bandwidth Using EtherChannel Load Balancing

Firewall Load Balancing

Configuring Static and Dynamic NAT Translation

Scaling Next-Generation Firewalls with Citrix NetScaler

Link Load Balancing :50:44 UTC Citrix Systems, Inc. All rights reserved. Terms of Use Trademarks Privacy Statement

Deployment Guide AX Series for Palo Alto Networks SSL Intercept and Firewall Load Balancing

Load Balancing Trend Micro InterScan Web Gateway

Cisco Configuring Commonly Used IP ACLs

Load Balancing Smoothwall Secure Web Gateway

Load Balancing Sophos Web Gateway. Deployment Guide

> Technical Configuration Guide for Microsoft Network Load Balancing. Ethernet Switch and Ethernet Routing Switch Engineering

Load Balancing. FortiOS Handbook v3 for FortiOS 4.0 MR3

Configuring Auto Policy-Based Routing

Configuring NetFlow Switching

Load Balancing Bloxx Web Filter. Deployment Guide

Enabling NetFlow and NetFlow Data Export (NDE) on Cisco Catalyst Switches

Cisco ASA, PIX, and FWSM Firewall Handbook

Load Balancing McAfee Web Gateway. Deployment Guide

Chapter 12 Configuring VRRP and VRRPE

Skills Assessment Student Training Exam

Configuring Traffic Policies for Server Load Balancing

Chapter 2 Connecting the FVX538 to the Internet

FortiOS Handbook Load Balancing for FortiOS 5.0

Smoothwall Web Filter Deployment Guide

Configuring NetFlow-lite

Configuring SSL Termination

NetFlow Aggregation. Feature Overview. Aggregation Cache Schemes

Cisco ACE Application Control Engine: ACEBC Catalyst 6500 and 4710 Applicance Boot Camp

CCT vs. CCENT Skill Set Comparison

FortiOS Handbook - Load Balancing VERSION 5.2.2

Outline VLAN. Inter-VLAN communication. Layer-3 Switches. Spanning Tree Protocol Recap

Configuring the Transparent or Routed Firewall

Chapter 37 Server Load Balancing

Configuring Nex-Gen Web Load Balancer

Load Balancing Clearswift Secure Web Gateway

Chapter 51 Server Load Balancing

Exam Name: Foundry Networks Certified Layer4-7 Professional Exam Type: Foundry Exam Code: FN0-240 Total Questions: 267

configure WAN load balancing

Configuring Server Load Balancing

Interconnecting Cisco Network Devices 1 Course, Class Outline

How To Load Balance On A Cisco Cisco Cs3.X With A Csono Css 3.X And Csonos 3.5.X (Cisco Css) On A Powerline With A Powerpack (C

Load Balancing Barracuda Web Filter. Deployment Guide

Broadband Phone Gateway BPG510 Technical Users Guide

Catalyst 6500/6000 Switches NetFlow Configuration and Troubleshooting

Configuring Server Load Balancing

Configuring Health Monitoring Using Health Probes

Virtual Fragmentation Reassembly

! encor en etworks TM

Lab Diagramming External Traffic Flows

DMZ Network Visibility with Wireshark June 15, 2010

Flow-Based per Port-Channel Load Balancing

Content Networking Fundamentals

Configuring a Load-Balancing Scheme

Configuring the BIG-IP and Check Point VPN-1 /FireWall-1

Deployment Guide AX Series with Active Directory Federation Services 2.0 and Office 365

Configuring PA Firewalls for a Layer 3 Deployment

Configuring the Edgewater 4550 for use with the Bluestone Hosted PBX

UIP1868P User Interface Guide

Transcription:

CHAPTER 6 This chapter describes the (FWLB) feature. It includes the following sections: FWLB Overview, page 6-1 FWLB Features, page 6-2 FWLB Configuration Tasks, page 6-3 Monitoring and Maintaining FWLB, page 6-10 Example of, page 6-10 Note For detailed information about the commands described in this chapter, refer to Appendix A, Reference. FWLB Overview The FWLB feature allows you to configure load balancing on Catalyst 4840G switches on both sides of a firewall farm. On a group of servers (a server farm), traffic is balanced by allowing the traffic to go over any available path; however, when traffic goes through a group of firewalls (a firewall farm), the reverse path must include the same firewall as the original path. Each of the FWLB switches can actively choose the same firewall for the reverse traffic as the other load balancer chose for the original traffic. Layer 3 firewalls, which have IP-addressable interfaces, are supported by IOS SLB firewall load balancing if they are subnet-adjacent to the firewall load-balancing device and have unique MAC addresses. The load balancer does not modify the IP addresses in the user packet. To send the packet to the chosen firewall, the load balancer determines which interface to use and changes the appropriate Layer 2 headers accordingly. This is the standard dispatch routing used by FWLB. Layer 2 firewalls do not have IP addresses and are not visible to the load-balancing function. A Layer 2 firewall is supported by placing it between two IP-addressable interfaces. Many Layer 3 firewalls can exist off a single Layer 3 interface on the load balancer (for example, a single LAN), but only one Layer 2 firewall can exist off each interface. When configuring the load balancer, the Layer 3 firewall is defined (configured) by its IP address. The Layer 2 firewall is defined by the IP address of the interface of the device on the other side of the firewall. 6-1

FWLB Features Chapter 6 Firewall farm load balancing provides the following capabilities: Connections initiated from both sides of the firewalls are load balanced. The traffic load is distributed among a set of firewalls (the firewall farm). All packets for a connection travel through the same firewall. Probes are used to detect and recover firewall failure. Firewall load balancer redundancy is provided. Proxy firewalls are supported. The Example of section on page 6-10 shows how load balancing works in FWLB. FWLB Features This section describes the following features supported in FWLB: Delayed Removal of TCP Connection Context, page 6-2 Algorithm, page 6-2 Maximum Connections, page 6-2 Probes, page 6-3 Sticky Connections, page 6-3 Delayed Removal of TCP Connection Context Because of IP packet-ordering anomalies, FWLB might see the termination of a TCP connection (a finish [FIN] or reset [RST]) followed by other packets for the connection. This problem usually occurs when there are multiple paths that the TCP connection packets can follow. To correctly redirect the packets that arrive after the connection is terminated, FWLB retains the TCP connection information, or context, for a length of time you specify using a delay timer. The length of time the context is retained after the connection is terminated is controlled by a configurable delay timer. Algorithm You configure each firewall interface IP address on each Catalyst 4840G switch for which traffic from that interface is destined. Firewall load balancing uses a Layer 3 hash algorithm for balancing traffic across the firewalls in a firewall farm. The hash algorithm uses the source and destination IP addresses of incoming traffic to select the firewall that will handle the connection request. FWLB can also optionally be configured to hash both IP addresses and on Layer 4 port number. Maximum Connections You can configure the maximum number of TCP and UDP connections that will be directed to each firewall in a farm. When the number of connections (TCP or UDP) reaches the specified maximum value for the entire farm, the FWLB feature drops any new connections. 6-2

Chapter 6 FWLB Configuration Tasks Probes FWLB supports both HTTP probes and ping probes. Probes are a simple way to verify connectivity to devices being server or firewall load-balanced, even devices on the other side of a firewall. You can configure more than one probe for each server farm, or for each firewall in a firewall farm. Server Load Balancing Probes determine the status of each real server in a server farm. All real servers associated with all virtual servers tied to that server farm are probed. If a real server fails for one probe, it is failed for all probes. After the real server recovers, all probes must acknowledge its recovery before it is restored to service. Probes detect firewall failures. All firewalls associated with the firewall farm are probed. If a firewall fails for one probe, it is failed for all probes. After the firewall recovers, all probes must acknowledge its recovery before it is restored to service. HTTP Probes Make sure you configure the HTTP probe to expect status code 401, to eliminate password problems. See the expect command for more Use the ip http server command to configure an HTTP server on the switch. See the description of the ip http server command in the Cisco IOS Configuration Fundamentals Reference for more Sticky Connections The sticky connections feature allows new connections from a client IP address to be assigned to the same firewall as previous connections from the same client address. Sticky objects are created to track client assignments. These objects remain in the FWLB database for a configurable period of time after the last stickied connection is deleted. For FWLB, sticky handles subnets as well as IP addresses. FWLB Configuration Tasks This section describes the tasks required to configure a set of firewall load balancers on your Catalyst 4840G SLB switch. The following sections describe how to configure a firewall farm. FWLB Configuration Restrictions The following guidelines apply to firewall load balancing: Limited to a single firewall farm in each load-balancing device. Limited to a single active firewall load-balancing device on each side of the firewall farm, with each firewall being Layer 2-adjacent to each device. The firewalls can be connected to individual interfaces on the device, or they can all share a VLAN and connect using a single interface. 6-3

FWLB Configuration Tasks Chapter 6 Requires Ethernet between each firewall load-balancing device and each firewall. Requires route lookup on every incoming packet. Therefore, to minimize the impact on performance, the load-balancing device on the internal (secure) side of the firewalls should not route intranet-to-intranet traffic. Limited to a single active firewall load-balancing device on each side of the firewall farm. Each firewall must have its own unique MAC address and must be Layer 2-adjacent to each device. The firewalls can be connected to individual interfaces on the device, or they can all share a VLAN and connect using a single interface. On each firewall load-balancing device, requires that each Layer 2 firewall be connected to a single Layer 3 (IP) interface. Traffic with a destination IP address on the same subnet as the configured firewall IP addresses is not load-balanced. (Such traffic could be a firewall console session or other traffic on the firewall LAN.) Redundancy on the firewall farm is optional. Does not support the following SLB functions: Active standby Network Address Translation (NAT), page 5-5 Port-Bound Servers, page 5-7 SynGuard, page 5-9 TCP Session Reassignment, page 5-9 Transparent Web Caches Balancing, page 5-10 Configuring FWLB To configure FWLB, perform this task beginning in global configuration mode: Step 1 Step 2 Step 3 Step 4 FWLB-Switch (config)# ip slb firewallfarm firewallfarm_name FWLB-Switch (config-slb-firewallfarm)# FWLB-Switch(config-slb-fw)# real ip-address FWLB-Switch(config-slb-fw-real)# probe name FWLB-Switch(config-slb-fw-real)# weight weighting-value Add a firewall to the FWLB configuration and initiate firewall farm configuration mode. Identifies a firewall as a member of a firewall farm and initiates real server configuration mode. See the real (firewall farm) command for more Associates a probe with the real server. See the real (firewall farm) command for more (Optional) Specifies the real server s workload capacity relative to other servers in the firewall farm. See the weight (firewall farm real firewall) command for more Step 5 FWLB-Switch(config-slb-fw-real)# inservice Enables the real server for use by the firewall farm and by SLB. See the inservice (firewall farm real server) command for more 6-4

Chapter 6 FWLB Configuration Tasks Step 6 Step 7 FWLB-Switch(config-slb-fw)# predictor hash address [port] FWLB-Switch(config-slb-fw)# replicate casa listening-ip remote-ip port-number [interval] [password [0 7] password [timeout]] (Optional) Specifies whether the source and destination port numbers, as well as the source and destination IP addresses, are to be used in the hash algorithm used to determine how a real server is selected. See the predictor hash address (firewall farm) command for more (Optional) Configures a stateful backup of SLB decision tables to a backup switch. See the replicate casa (firewall farm) command for more Step 8 FWLB-Switch(config-slb-fw)# tcp (Optional) Initiates TCP protocol configuration mode. See the tcp command for more Step 9 Step 10 Step 11 Step 12 FWLB-Switch(config-slb-fw-tcp)# delay duration FWLB-Switch(config-slb-fw-tcp)# idle duration FWLB-Switch(config-slb-fw-tcp)# maxconns number-conns FWLB-Switch(config-slb-fw-tcp)# sticky duration [netmask netmask] (Optional) For firewall farm TCP protocol configuration mode, specifies the amount of time SLB maintains TCP connection context after a connection has terminated. See the delay (virtual server) command for more (Optional) For firewall farm TCP protocol configuration mode, specifies the minimum amount of time SLB maintains connection context in the absence of packet activity. See the idle (firewall farm TCP protocol) command for more (Optional) For firewall farm TCP protocol configuration mode, specifies the maximum number of active connections allowed on the real server at one time. See the maxconns (firewall farm TCP protocol) command for more (Optional) For firewall farm TCP protocol configuration mode, specifies that connections from the same IP address use the same firewall if both of the following conditions are met: Any connection from that IP address exists. For a period of time, defined by duration, after the last connection is destroyed. See the sticky (firewall farm TCP protocol) command for more Step 13 FWLB-Switch(config-slb-fw)# udp (Optional) Initiates UDP protocol configuration mode. See the udp command for more Step 14 FWLB-Switch(config-slb-fw-udp)# idle duration (Optional) For firewall farm UDP protocol configuration mode, specifies the minimum amount of time SLB maintains connection context in the absence of packet activity. See the idle (firewall farm TCP protocol) command for more 6-5

FWLB Configuration Tasks Chapter 6 Step 15 Step 16 FWLB-Switch(config-slb-fw-udp)# maxconns number-conns FWLB-Switch(config-slb-fw-udp)# sticky duration [netmask netmask] (Optional) For firewall farm UDP protocol configuration mode, specifies the maximum number of active connections allowed on the real server at one time. See the maxconns (firewall farm UDP protocol) command for more (Optional) For firewall farm UDP protocol configuration mode, specifies that connections from the same IP address use the same firewall if both of the following conditions are met: Any connection from that IP address exists. For a period of time, defined by duration, after the last connection is destroyed. See the sticky (firewall farm UDP protocol) command for more Step 17 FWLB-Switch(config-slb-fw)# inservice Enables the firewall farm for use by SLB. See the inservice (firewall farm) command for more Step 18 FWLB-Switch (config-slb-fw-real)# exit Return to firewall farm configuration mode. Step 19 FWLB-Switch (config-slb-fw-real)# end Return to global configuration mode. When you configure IOS SLB firewall load balancing, the load-balancing devices use route lookup to recognize flows destined for the firewalls. To enable route lookup, you must configure each device with the IP address of each firewall that will route flows to that device. See the Example of Firewall Load Balancing section on page 6-10 for more Verifying the Firewall Farm This example shows how to display the status of the real firewalls associated with the firewall farm, FIRE1: Router# show ip slb real real farm name weight state conns -------------------------------------------------------------------- 10.1.1.2 FIRE1 8 OPERATIONAL 0 10.1.2.2 FIRE1 8 OPERATIONAL 0 This example shows how to display the configuration and status of the firewall farm, FIRE1: Router# show ip slb firewallfarm firewall farm hash state reals ------------------------------------------------ FIRE1 IPADDR INSERVICE 2 Verifying Firewall Connectivity To verify that firewall load balancing has been configured and is operating correctly, follow these steps: Step 1 From the firewall load-balancing switch, ping the external real servers (the ones outside the firewall). 6-6

Chapter 6 FWLB Configuration Tasks Step 2 Step 3 Step 4 Step 5 From the clients, ping the internal real servers (the ones inside the firewall). Enter the show ip slb stats command to display detailed information about the status of firewall load balancing: FWLB-Switch# show ip slb stats Pkts via normal switching: 0 Pkts via special switching: 0 Connections Created: 1911871 Connections Established: 1967754 Connections Destroyed: 1313251 Connections Reassigned: 0 Zombie Count: 0 Connections Reused: 59752 Connection Flowcache Purges:1776582 Failed Connection Allocs: 17945 Failed Real Assignments: 0 FWLB-Switch# Enter the show ip slb real detail command to display detailed information about the status of firewall load balancing: SLB-Switch# show ip slb real detail 10.1.1.3, FIRE1, state = OPERATIONAL, type = firewall conns = 299310, dummy_conns = 0, maxconns = 4294967295 weight = 10, weight(admin) = 10, metric = 104, remainder = 2 total conns established = 1074779, hash count = 4646 server failures = 0 interface FastEthernet1/0, MAC 0010.f68f.7020 Enter the show ip slb conns command to display detailed information about the active firewall load-balancing connections: FWLB-Switch# show ip slb conns vserver prot client real state nat ------------------------------------------------------------------------------- FirewallTCP TCP 80.80.50.187:40000 10.1.1.4 ESTAB none FirewallTCP TCP 80.80.50.187:40000 10.1.1.4 ESTAB none FirewallTCP TCP 80.80.50.187:40000 10.1.1.4 ESTAB none FirewallTCP TCP 80.80.50.187:40000 10.1.1.4 ESTAB none FirewallTCP TCP 80.80.50.187:40000 10.1.1.4 ESTAB none FWLB-Switch# Configuring a Ping Probe Ping probes verify connectivity for devices being server load-balanced, and for firewalls being firewall load-balanced. To configure a ping probe, perform this task beginning in global configuration mode: Step 1 Step 2 FWLB-Switch(config)# ip slb probe name ping FWLB-Switch(config-slb-probe)# address [ip-address] Configure the FWLB probe name and change to ping configuration submode. Configure the ping probe to receive responses from an IP address. 6-7

FWLB Configuration Tasks Chapter 6 Step 3 Step 4 FWLB-Switch(config-slb-real)# faildetect number-of-pings FWLB-Switch(config-slb-probe)# interval seconds (Optional) Specify the number of consecutive unanswered pings that constitute failure of the FWLB switch. (Optional) Configure the ping probe transmit timers. This example shows how to configure a ping probe named TREADER: FWLB-Switch(config)# ip slb probe TREADER ping FWLB-Switch(config-slb-probe)# address 13.13.13.13 FWLB-Switch(config-slb-probe)# faildetect 16 FWLB-Switch(config-slb-probe)# interval 11 FWLB-Switch(config-slb-probe)# exit FWLB-Switch(config)# ip slb firewallfarm FIRE1 FWLB-Switch(config-slb-fw)# probe TREADER FWLB-Switch(config-slb-fw)# end To verify that the ping probe is configured correctly, use the following show ip slb probe command: FWLB-Switch# show ip slb probe Server:Port Status Outages Current Cumulative ---------------------------------------------------------- 13.13.13.13:80 200 0 never 00:00:00 Configuring HTTP Probe HTTP probes verify connectivity for devices being server load-balanced, and for firewalls being firewall load-balanced. To configure an HTTP probe, perform this task beginning in global configuration mode: Step 1 Step 2 Step 3 Step 4 Step 5 Step 6 FWLB-Switch(config)# ip slb probe name http FWLB-Switch(config-slb-probe)# request method {get post head name name [url]} Router(config-slb-probe)# address [ip-address] Router(config-slb-probe)# expect [status number] [regex regular-expression] FWLB-Switch(config-slb-probe)# interval seconds FWLB-Switch(config-slb-probe)# header {name field-name [field-value]} Configure the HTTP probe name and changes to HTTP configuration submode. (Optional) Configure the method used to perform the request to the server. See the request method, request url command for more (Optional) Configures the HTTP probe to receive responses from an IP address. See the address (HTTP probe) command for more (Optional) Configures the expected HTTP status code or regular expression. See the expect command for more Configure the HTTP probe transmit timers. See the interval (HTTP probe) command for more (Optional) Configure authentication values for the HTTP probe. See the header command for more 6-8

Chapter 6 FWLB Configuration Tasks Step 7 FWLB-Switch(config-slb-probe)# credentials {username [password]} (Optional) Configure authentication values for the HTTP probe. See the credentials command for more Step 8 FWLB-Switch(config-slb-real)# exit Returns to firewall farm configuration mode. Step 9 Step 10 FWLB-Switch(config)# ip slb firewallfarm serverfarm-name FWLB-Switch(config-slb-sfarm)# probe probe-name (Optional) Change to firewall farm configuration mode. Specify an HTTP probe on the firewall farm. This example shows how to configure an HTTP probe named DOGULA: FWLB-Switch(config)# ip slb probe DOGULA http FWLB-Switch(config-slb-probe)# request method post url /probe.cgi?all FWLB-Switch(config-slb-probe)# header Cookie FWLB-Switch(config-slb-probe)# credentials Semisweet chips FWLB-Switch(config-slb-probe)# exit FWLB-Switch(config)# ip slb serverfarm PUBLIC FWLB-Switch(config-slb-firewallfarm)# probe DOGULA FWLB-Switch(config-slb-firewallfarm)# end The preceding example configures the following HTTP probe parameters: Configures an HTTP probe named DOGULA and change the CLI to SLB probe configuration mode. Configures the request method as POST and set the URL as /probe.cgi.?all. Configures the header authentication as Cookie. Configures the basic authentications username and password. Exits to global configuration mode. Enters SLB server farm configuration mode for server farm PUBLIC. Configures the HTTP probe on the server farm. To verify that the HTTP probe is configured correctly, use the following show ip slb probe commands: FWLB-Switch# show ip slb probe DOGULA (http) 3 reals FWLB-Switch# show ip slb probe detail Server:Port Status Outages Current Cumulative ---------------------------------------------------------- 10.1.1.1:80 200 0 never 00:00:00 10.1.1.2:80 200 0 never 00:00:00 10.1.1.3:80 200 0 never 00:00:00 6-9

Monitoring and Maintaining FWLB Chapter 6 Monitoring and Maintaining FWLB You can use the following commands to display runtime information about FWLB. Enter the commands from EXEC mode. show ip slb conns [client ip_address] [detail] show ip slb probe [name probe_name] [detail] show ip slb real [detail] show ip slb firewallfarm [name firewallfarm_name] [detail] show ip slb stats Display the connections handled by FWLB. Display information about FWLB HTTP probes configured on real firewalls. Display information about the real firewalls. Display information about the firewall farm. Display statistics that include the firewall farm. Example of Figure 6-1 shows a sample SLB firewall load-balancing network with the following components: Two firewalls with IP addresses as shown An internal firewall load-balancing device on the secure side of the firewalls An external firewall load-balancing device on the Internet side of the firewalls One firewall farm named FIRE1, containing both firewalls 6-10

Chapter 6 Example of Figure 6-1 SLB with Layer 3 Firewalls in Different Subnets Internal network 10.1.4.1 10.1.4.2 Internal firewall load-balancing device 10.1.3.2 10.1.3.1 Firewall farm 10.1.1.2 10.1.2.2 10.1.1.1 10.1.2.1 External firewall load-balancing device Internet 45194 When you configure SLB firewall load balancing, the load-balancing devices use route lookup to recognize flows destined for the firewalls. To enable route lookup, you must configure each device with the IP address of each firewall that will route flows to that device. In the farm configuration examples in the following sections: The internal (secure side) firewall load-balancing device is configured with firewall IP addresses 10.1.3.1 and 10.1.4.1. The external (Internet side) firewall load-balancing device is configured with firewall IP addresses 10.1.1.2 and 10.1.2.2. 6-11

Example of Chapter 6 Internal Device The following commands configure ping probe PROBE1, HTTP probe PROBE2, and firewall farm FIRE1, and associate the two real servers for the load-balancing device on the internal (secure) side of the firewall: router(config)# ip slb probe PROBE1 ping router(config-slb-probe)# address 10.1.1.1 router(config-slb-probe)# faildetect 4 router(config-slb-probe)# ip slb probe PROBE2 http router(config-slb-probe)# address 10.1.2.1 router(config-slb-probe)# expect status 401 router(config-slb-probe)# ip slb firewallfarm FIRE1 router(config-slb-fw)# real 10.1.4.1 router(config-slb-fw-real)# probe PROBE1 router(config-slb-fw-real)# inservice router(config-slb-fw-real)# real 10.1.3.1 router(config-slb-fw-real)# probe PROBE2 router(config-slb-fw-real)# inservice router(config-slb-fw-real)# exit router(config-slb-fw)# inservice ; Ping probe ; IP address of other load balancing device ; HTTP probe ; IP address of other load balancing device ; Firewall farm FIRE1 ; First firewall ; Enable first firewall ; Second firewall ; Enable second firewall ; Turn on firewall load balancing device External Device The following commands configure ping probe PROBE1, HTTP probe PROBE2, and firewall farm FIRE1, and associate the two real servers for the load-balancing device on the external (Internet) side of the firewall: router(config)# ip slb probe PROBE1 ping router(config-slb-probe)# address 10.1.4.2 router(config-slb-probe)# faildetect 4 router(config-slb-probe)# ip slb probe PROBE2 http router(config-slb-probe)# address 10.1.3.2 router(config-slb-probe)# expect status 401 router(config-slb-probe)# ip slb firewallfarm FIRE1 router(config-slb-fw)# real 10.1.1.2 router(config-slb-fw-real)# probe PROBE1 router(config-slb-fw-real)# inservice router(config-slb-fw-real)# real 10.1.2.2 router(config-slb-fw-real)# probe PROBE2 router(config-slb-fw-real)# inservice router(config-slb-fw-real)# exit router(config-slb-fw)# inservice ; Ping probe ; IP address of other load balancing device ; HTTP probe ; IP address of other load balancing device ; Firewall farm FIRE1 ; First firewall ; Enable first firewall ; Second firewall ; Enable second firewall ; Turn on firewall load balancing device 6-12