Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Is possible for access different port but same server

I have 2 server (Svr1 & Svr2) and Load balncer (CSS-11503).

My question, is possible for load balance by port. I think this can work. But from client will access the server with different port let say port 1111 and 2222 (this just example). For 1111, client need directed to server, but for 2222 client access the vip in load balancer. So, is possible from client access to server directly and from client access to load balancer ?

Because on the server have 2 application interface, but 1 ethernet.

When access port 1111 no need load balanced but when access 2222 need load balanced. Is possible ?

4 REPLIES
Bronze

Re: Is possible for access different port but same server

Yes you can just specify 2 different content rules:

content loadbalance

vip address 172.16.4.123

add service server1

add service server2

protocol tcp

port 2222

active

content direct1

vip address 172.16.4.123

add service server1

protocol tcp

port 1111

active

content direct2

vip address 172.16.4.123

add service server2

protocol tcp

port 3333

active

Community Member

Re: Is possible for access different port but same server

hi diro,

thanks before.

But i want add information.

The condition like this :

1. Client must access to ServiceGuard Virtual IP. (This virtual ip from server side; svr1 and svr2).

2. Client must access to virtual ip on load balancer.

For Condition :

1. Client access (this sample) IP https://192.16.0.100:1111 > Client access ServiceGuard VIP.

2. Client access (this sample) IP https://10.16.0.200:2222 > Client access VIP Load Balancer. (10.16.0.200 map to 192.16.0.200)

From scenario on the above client access 2 IP,one in load baancer, one in server side (Service Guard VIP).

Is possible ? Client access to 2 different port but same server and different virtual ip.

How fo make configuration when client access to vip load balancer (this no problem), but client need access direct to server side.

Like the connection from client through CSS, and bypass by CSS.

I need configure 2 VIP on load balancer, for 1 VIP map to ServiceGuard VIP,or ???

Bronze

Re: Is possible for access different port but same server

This is what your looking for:

placing the loadbalancing in router mode.

the direct in derct server return that's why you need to turn of server nat.

content loadbalance

vip address 10.16.0.200

add service server1

add service server2

protocol tcp

port 2222

active

content direct1

no nat server

vip address 192.16.0.100

add service server1

protocol tcp

port 1111

active

content direct2

no nat server

vip address 192.16.0.200

add service server2

protocol tcp

port 3333

active

Community Member

Re: Is possible for access different port but same server

how for https, i think your configurations for http or can work with https.

how for configure :

from client should be access https://10.16.0.200:1111 to server

how configuration in load balancer, and in CSS not use SSL Module. Can this works. ?

can i get your email diro ?

174
Views
0
Helpful
4
Replies
CreatePlease to create content