Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Real server to Virtual server communication

Hello,

Please how can i get a real server to communicate with another virtual IP on the same CSM.i.e. according to the below, i want real servers in server farm-1 talk to any of the servers in vserver farm-2

serverfarm farm-1

real 10.10.10.1

real 10.10.10.2

vserver farm-1

virtual 10.10.20.100 tcp 0

serverfarm farm-1

serverfarm farm-2

10.10.10.3

10.10.10.4

vserver farm-2

virtual 10.10.20.200 tcp 0

serverfarm farm-2

5 REPLIES
New Member

Re: Real server to Virtual server communication

I have never had one serverfarm's servers need access to another serverfarm's servers only the same through the VIP but I believe the same principles apply. Basicaly you need to do client NAT as follows. You have to configure 2 different vservers, for farm 2 one for your regular client traffic and than another specifically for anything coming from the server vlan. Natting the client forces the reply back through the CSM instead of directly, which it would normally do because it is on the same IP segment.

vlan 10 client

ip address 10.10.20.10 255.255.255.0

!

vlan 20 server

ip address 10.10.10.10 255.255.255.0

natpool serverfarm1 10.10.10.111 10.10.10.111 netmask 255.255.255.0

serverfarm farm-1

real 10.10.10.1

real 10.10.10.2

vserver farm-1

virtual 10.10.20.100 tcp 0

serverfarm farm-1

serverfarm farm-2

10.10.10.3

10.10.10.4

serverfarm farm-2a

nat client serverfarm1

10.10.10.3

10.10.10.4

vserver farm-2

virtual 10.10.20.200 tcp 0

serverfarm farm-2

vserver farm-2a

virtual 10.10.20.200 tcp 0

vlan 20

serverfarm farm-2a

New Member

Re: Real server to Virtual server communication

Thanks for this.

However, I got a work around by creating different vlans for the serverfarms.used the cisco documentation for "server to server loadbalancing"

Re: Real server to Virtual server communication

can u post the link please!

New Member

Re: Real server to Virtual server communication

Hi,

I can't get the link to the document but i have attached the document. Refer to configuration examples and then

server to server load balancing

cheers

Re: Real server to Virtual server communication

thanks :)

691
Views
3
Helpful
5
Replies
CreatePlease to create content