Direct Access To Servers In Router Mode - Cisco catalyst 6500 series Configuration Note

Content switching module
Hide thumbs Also See for catalyst 6500 series:
Table of Contents

Advertisement

Direct Access to Servers in Router Mode

Cat6k-2# show mod csm 5 sticky
group
----------------------------------------------------------------
20
10
Direct Access to Servers in Router Mode
This example shows how to configure a virtual server to give direct access to the backend servers when
you are using router mode:
In router mode, any connection that does not hit a virtual server is dropped.
Note
module ContentSwitchingModule 5
vlan 220 server
ip address 10.20.220.2 255.255.255.0
alias 10.20.220.1 255.255.255.0
!
vlan 221 client
ip address 10.20.221.5 255.255.255.0
gateway 10.20.221.1
alias 10.20.221.2 255.255.255.0
# The alias IP is only required in redundant configurations
# This is the IP address that the upstream router (the MSFC
# in this case) will use as next-hop to reach the
# backend servers
# See below for the static route added for this purpose.
#
!
serverfarm ROUTE
no nat server
no nat client
predictor forward
#
# This serverfarm is not load balancing, but is simply
# routing the traffic according to the CSM routing tables
# The CSM routing table in this example is very simple,
# there is just a default gateway and 2 directly attached
# subnets.
#
# The "no nat server" is very important, since you do not
# want to rewrite the destination IP address when
# forwarding the traffic.
!
serverfarm WEBFARM
nat server
no nat client
real 10.20.220.10
inservice
real 10.20.220.20
inservice
!
vserver DIRECT-ACCESS
virtual 10.20.220.0 255.255.255.0 tcp 0
Catalyst 6500 Series Content Switching Module Configuration Note
A-10
sticky-data
cookie 4C656B72:861F0395 10.20.220.20
ip 10.20.1.100
real
timeout
1584
10.20.220.10
778
Appendix A
Configuration Examples
OL-4612-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6000 series

Table of Contents