Cisco Cisco Content Switching Module Manual Técnica

Descargar
Página de 11
!−−− CSM upstream gateway (the MSFC).
!
 vlan 4 server
  ip address 192.168.1.1 255.255.255.0
!−−− This is the CSM IP address on the SCA server farm VLAN.
!−−− SCAs use this IP address as the default gateway.
!
 vlan 10 server
  ip address 192.168.2.1 255.255.255.0
!−−− This is the CSM IP address on the web server farm VLAN.
!−−− The web servers use this IP address as the default gateway.
!
 static drop
  real 192.168.2.0 255.255.255.0
!−−− This drops every new connection that the web servers originate,
!−−− unless the connection matches a VIP.
!
 serverfarm SCA443
  nat server
!−−− When connections are directed to this server farm,
!−−− the IP address of the SCA selection replaces
!−−− the destination IP address.
  no nat client
  real 192.168.1.250 443
   inservice
  real 192.168.1.251 443
   inservice
!−−− The configurations of both SCAs are such that,
!−−− with the send of a connection to this server farm, the destination port
!−−− translates to 443. In this example, there is no translation, as
!−−− the VIP listens to port 443.
!−−− This is different in the following server farm, SCA444.
!
 serverfarm SCA444
  nat server
  no nat client
  real 192.168.1.250 444
   inservice
  real 192.168.1.251 444
   inservice
!−−− With the selection of this server farm, there is a
!−−− modification of connections that go to either SCA.
!−−− The destination IP changes to match the IP of one of the SCAs
!−−− (NAT server), and the destination port becomes 444.
!
 serverfarm WEBFARM
  nat server
  no nat client
  real 192.168.2.10 80
   inservice
  real 192.168.2.11 80