Vserver with single TCP port redirect to reals with different ports

Answered Question
Jan 22nd, 2009
User Badges:

Hi,


Can anyone help me out with this one or point me in the right direction.


I'm looking to implement a single VIP & TCP port load balanced against backend real servers that don't listen on that same port.


eg

vip 10.1.1.1 www


real


192.168.1.1 1000

192.168.1.1 1001


etc


Is this possible ? Have been looking at redirect`s and port translations.


Any clues much appreciated.


Correct Answer by Gilles Dufour about 8 years 4 months ago

Same idea for CSM. I confirm.


Gilles.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
jomize Thu, 01/22/2009 - 15:15
User Badges:

I assume you're referring to ACE?...


You pretty much have it in your original post. A config snippet might look like:


serverfarm host ServerFarm

rserver Server192.168.1.1 1000

inservice

rserver Server192.168.1.1 1001

inservice


The ACE will answer on whatever port you've configured (in your case, port 80), and then, since you specified the port in the serverfarm config, the ACE will forward the request on the port you specified instead of inheriting it from the VIP configuration.

achrich Fri, 01/23/2009 - 01:16
User Badges:

Great - I was hoping it would be something simple like that.


This is for a CSM not a ACE but I assume the concept / config is almost identical ?


Cheers


Correct Answer
Gilles Dufour Fri, 01/23/2009 - 02:27
User Badges:
  • Cisco Employee,

Same idea for CSM. I confirm.


Gilles.

Actions

This Discussion