cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
625
Views
4
Helpful
3
Replies

Direct Server Return configuration

AaronKwok
Level 1
Level 1

Hi,

Have been trying to configure Direct Server Return on CSM but without much success.

Attached is the config, Hopefully somebody can enlighten me.

In addition, on my server end (MS Win 2003), I have configure loopback adapter with the same address with my VIP.

This is done according to Cisco documentation however I haven't been able to remove the static route created by this adapter as instructed by the document.

Is there any other additional things need to be configure on the server ? (e.g Ip forwarding)

Pls advise. Thanks a million.

3 Replies 3

Gilles Dufour
Cisco Employee
Cisco Employee

the config looks good.

What is not working ?

Is the server responding ?

Where is the server forwarding the response ?

Is the server responding with the loopback address ?

Capture a sniffer trace on the server and see what is going on.

Regards,

Gilles.

Hi Gilles,

Sorry about the config as there is some error.

The additional serverfarm that I would like to loadbalance using direct server return is as below.

vlan 12 server

ip address 192.168.198.6 255.255.255.0

alias 192.168.198.7 255.255.255.0

!

vlan 204 client

ip address 204.127.198.6 255.255.255.0

gateway 204.127.198.4

alias 204.127.198.7 255.255.255.0

vserver TEST1

virtual 204.127.198.11 udp dns

unidirectional

serverfarm TEST1

advertise active

idle 4

replicate csrp connection

no persistent rebalance

inservice

!

serverfarm TEST1

no nat server

no nat client

real name LZNSUN01

inservice

real name LZNSUN02

inservice

real name LZNSUN03

inservice

probe DNS

probe TESTVIP11

!

real W2K3Stream01

address 192.168.199.101

inservice

real W2K3Stream02

address 192.168.199.102

inservice

real W2K3Stream03

address 192.168.199.103

inservice

As you can see I did not an additional Vlan on the CSM for the newly created serverfarm.

I have capture a sniffer trace and I have realise that client packet are not forwarded from the CSM to the real server even though the probe have verify that the real servers are operational.

As such the real servers is not forwarding the packets back to my client.

Pls advise. Thanks

for direct server return, the servers need to be L2 adjacent to the CSM becasuse the CSM is not going to nat the destination ip and just change the mac addresses.

Create a vlan for subnet 192.168.199.0/24 and everything should work.

Gilles.