cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
963
Views
0
Helpful
4
Replies

SLB configuration

martinlxmartin
Level 1
Level 1

Switch in my company had following configuration:

........

ip slb vserver NM-VS

virtual 10.10.10.30 tcp 0 service ftp

........

question one: what does port number 0 means?

question two: Did load balancing work if the packets that were destinated to 10.10.10.30 and were not ftp traffic?

4 Replies 4

Florin Barhala
Level 6
Level 6

question one: what does port number 0 means?

0 either means it will accept connections on any port, or is a typo;

question two: Did load balancing work if the packets that were destinated to 10.10.10.30 and were not ftp traffic?

If packets arrive at the virtual IP on other than TCP/21 port, it will still be load balanced on real FTP servers.

Hi Guys,

     I would split those commands as follows:

"virtual 10.10.10.30 tcp 0"   This means that a virtual server(10.10.10.30) accepts flows destined for all ports.

"service ftp"  This means that all related FTP connections from the same client use the same real server.

HTH,

Toshi

Thanks Guys for your kindly reply

I am still confused by the command

SLB-Switch(config-slb-vserver)# virtual ip-address {tcp | udp} port-number

[service service-name]

if the configuration is "virtual 10.10.10.30 tcp 21", which one will happen?

1. Virtual server only accept flow destined for 21, other packets will be droped

2. Virtual server  accepts all flows , but load balancing only work well with flow that destinated for 21

3. Virtual server  accepts all flows, and load balancing work well with all flows

Thanks

Martin

Hi Martin,

"virtual 10.10.10.30 tcp 21"  This means that a virtual server only accept flow destined for 21, other packets will be droped. 10.10.10.30:21 is waiting for the connections comming in with destined for tcp/21. Other ports will be droped and cannot be traslated and foewarded to real servers.

HTH,

Toshi

Review Cisco Networking for a $25 gift card