diro Sat, 06/30/2007 - 10:17
User Badges:
  • Bronze, 100 points or more

Normally you can with the range option on the ip address but must be in a continues range i thought you could also use it on ports:


owner virtual_sites


content virtual_rule


vip address 200.200.200.1 range 50


port 80


protocol tcp


add service web1


add service web2


active

RODRGUTI Sat, 06/30/2007 - 19:22
User Badges:

No, in fact we cannot use the range command for ports. We cannot specify a port range under the content rule.


We have 2 options:


1- Configure the content rule without a specific port, like this:


content virtual_rule


vip address 200.200.200.1

protocol tcp

add service web1

add service web2

active


This content rule will match all the traffic that is comming into the CSS with vip address 200.200.200.1 with any port.


2- Configure a multiple content rules with the same vip address but each one with a specific port like:


content virtual_rule_80


vip address 200.200.200.1


port 80


protocol tcp


add service web1


add service web2


active


-------------


content virtual_rule_8080


vip address 200.200.200.1


port 8080


protocol tcp


add service web1


add service web2


active


and so on...


I will suggest you to configure a content rule per port, because if you open a TAC case or you need to do some troubleshooting this will help a lot since we have a more complete and strong configuration.


Both options works, but I would say that option 2 is the best option.


Hope this help.


-Rodrigo.

Actions

This Discussion