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

Direct Server Return on CSM

i have an CSS11506 where i use the Direct Server return mode

circuit VLAN19

description "LOL"

ip address 192.168.158.39 255.255.255.240

no redirects

service WEB_LOL_36

ip address 192.168.158.36

keepalive type tcp

keepalive port 80

protocol tcp

port 80

type nci-direct-return

active

service WEB_LOL_37

ip address 192.168.158.37

keepalive type tcp

keepalive port 80

protocol tcp

port 80

type nci-direct-return

active

owner LOL

content WEB_LOL

vip address 192.168.158.38

add service WEB_LOL_36

add service WEB_LOL_37

protocol tcp

port 80

active

group WEB_LOL

add destination service WEB_LOL_36

add destination service WEB_LOL_37

vip address 192.168.158.38

active

I use this config because the ip addresses 192.168.158.37 and 192.168.158.36 are NAT in Router and the default Gw in this router is not the CSS.

but i cannot find any information about how implement Direct Server mode on CSM

how configure vserver, serverfarm natpool,etc.

_If you could help me, i appreciate

Thanks

3 REPLIES

Re: Direct Server Return on CSM

Community Member

Re: Direct Server Return on CSM

this is a test config that i tried to use on CSM

vlan 916 server

ip address 192.168.175.93 255.255.255.248

alias 192.168.175.94 255.255.255.248

natpool LOL 192.168.175.91 192.168.175.91 netmask 255.255.255.248

real LOL_NAT_01

address 192.168.175.89

inservice

real LOL_NAT_02

address 192.168.175.90

inservice

serverfarm LOL_WEB_01

nat server

no nat client

real name LOL_NAT_01

inservice

real name LOL_NAT_02

inservice

serverfarm LOLOUT

no nat server

nat client LOL

predictor forward

vserver LOL_WEB_01

virtual 192.168.175.91 any

unidirectional

serverfarm LOL_WEB_01

persistent rebalance

inservice

vserver LOL-SALIDA

virtual 0.0.0.0 0.0.0.0 any

vlan 916

serverfarm LOLOUT

persistent rebalance

inservice

Cisco Employee

Re: Direct Server Return on CSM

do your servers have a loopback address with ip 192.168.175.91 ???

In this case, DSR can work, but you have to disable server nating.

Simpyl do a 'no nat server' under the serverfarm.

If your servers do not have a loopback I don't see how this can work.

The client will send a query to the vip and receive a response from a server ip.

Can't work.

Gilles.

342
Views
0
Helpful
3
Replies
CreatePlease to create content