cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
683
Views
0
Helpful
1
Replies

Udp Serverfarm in ACE

syakshanulla
Level 1
Level 1

Hi,

Can anybody advice is it a good practice not to specify ports in UDP serverfarm. I meant inside serverfarm ,associating with real servers.

E.g

serverfarm host SFARM-DNS-UDP53

  description ** dns-VIP **

  failaction purge

  probe PROBE-UDP-53

  probe PROBE-ICMP

  rserver REAL-DNS-1       53

    inservice

  rserver REAL-DNS2         53

    inservice

Or

serverfarm host SFARM-DNS-UDP53

  description ** dns-VIP **

  failaction purge

  probe PROBE-UDP-53

  probe PROBE-ICMP

  rserver REAL-DNS-1 

    inservice

  rserver REAL-DNS2    

    inservice

Which one is Good and what are all pros and cons in both?

1 Reply 1

jsirstin
Level 1
Level 1

Syakshanulla,

The only time you really need to specify the port under the serverfarm/rserver is if the port the client hits the vip on is different  from what the application on the server is using.

For example if the class-map was for udp port 53, but the server was listening on port 54 you would need to specify the port number.

If for example your class-map was like this

class-map match-any vips

  match virtual address 1.1.1.1 udp any

Since this vip is listening for any udp port you would not want to use the port under serverfarm/rserver. Whatever destination port the client sends to the vip by default will be passed on to the backend server. Putting the port on the rserver forces the ACE to change the destination port to whatever you specify.

Hope this helps.

Regards

Jim

Review Cisco Networking for a $25 gift card