CSS Multiple VIP addresses pointing to same services.

Answered Question
May 30th, 2007
User Badges:

Is it possible to have two VIP addresses pointing to the same services? I have two public IP address that need to be pointed to the same two web servers internally. Would the config look like such...


owner web


content ssl-rule

protocol tcp

port 443

vip address xxx.xxx.xxx.201

vip address xxx.xxx.xxx.202

add service A

add service B

active


content web-rule

protocol tcp

port 80

vip address xxx.xxx.xxx.201

vip address xxx.xxx.xxx.202

add service A

add service B

active



Or would the configurations look like this?


owner web


content ssl-rule

protocol tcp

port 443

vip address xxx.xxx.xxx.201

add service A

add service B

active


content web-rule

protocol tcp

port 80

vip address xxx.xxx.xxx.201

add service A

add service B

active


owner web2


content ssl-rule2

protocol tcp

port 443

vip address xxx.xxx.xxx.202

add service A

add service B

active


content web-rule2

protocol tcp

port 80

vip address xxx.xxx.xxx.202

add service A

add service B

active



Thanks for the help?





Correct Answer by Gilles Dufour about 10 years 1 day ago

the 2nd option is the correct one.

You can only have 1 vip per content rule.

You can indeed reuse a service in as many content rules as you want.


Gilles.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
Gilles Dufour Wed, 05/30/2007 - 06:54
User Badges:
  • Cisco Employee,

the 2nd option is the correct one.

You can only have 1 vip per content rule.

You can indeed reuse a service in as many content rules as you want.


Gilles.

sr2623235 Mon, 10/20/2008 - 21:46
User Badges:

Hi Gilles,


can i use the above configuration for two different web service..for example



circuit VLAN1


description "OUTSIDE"




ip address 192.168.206.30 255.255.255.0


ip virtual-router 1 priority 101 preempt


ip redundant-interface 1 192.168.206.32


ip redundant-vip 1 192.168.206.33

ip redundant-vip 2 192.168.206.34




circuit VLAN2


description "WEB SERVERS"


ip address 192.168.208.4 255.255.255.0


ip virtual-router 1 priority 101 preempt


ip redundant-interface 1 192.168.208.6



service WEB1


ip address 192.168.208.10


string WEB1



keepalive port 9999


keepalive type tcp


keepalive tcp-close fin


keepalive frequency 60


active




service WEB11


ip address 192.168.208.11


string WEB11


keepalive port 9999


keepalive type tcp


keepalive tcp-close fin


keepalive frequency 60


active



service WEB2

ip add 192.168.208.15

keepalive port 80

keepalive type tcp

keepalive frequency 60

active


owner ABC



content ABC


vip address 192.168.206.33


protocol tcp


port 9999


add service WEB1


primarySorryServer WEB11


active


owner XYZ

content XYZ

vip 192.168.206.34

protocol tcp

port 80

add service WEB2

active


here both the services are entilrely different url, one is abc.com and other is xyz.com


is this correct..if not please correct me..


Actions

This Discussion