05-14-2011 08:10 AM - edited 03-04-2019 12:23 PM
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?
05-14-2011 08:30 AM
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.
05-14-2011 08:43 AM
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
05-14-2011 05:55 PM
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
05-14-2011 09:26 PM
Hi Martin,
HTH,
Toshi
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide