Hi Linbo, I assume you mean on the loopback adapter? If so then use a 255.255.255.255 or /32 for safety, not all OS's may need it as there can be many ways to make it not respond to ARP, however, this also helps as you are telling the OS it's a single address.
Or do you mean the "netmask" in the ldirectord config which affects persistence? When this is at the default of 255.255.255.255 persistence will work per source address so 192.168.0.10 and 192.168.0.11 would get stuck to different servers. If you set 255.255.255.0 then they would both hit the same server as persistence would work by subnet so the whole 192.168.0.0/24 subnet would be stuck to the first server. Hope that's relevant to your question and makes sense... Aaron West Loadbalancer.org www.loadbalancer.org <https://www.loadbalancer.org/?gclid=ES2017> <https://plus.google.com/+LoadbalancerOrg> <https://twitter.com/loadbalancerorg> <http://www.linkedin.com/company/3191352?trk=prof-exp-company-name> <https://www.loadbalancer.org/?category=company&post-name=overview&?gclid=ES2017> <https://www.loadbalancer.org/?gclid=ES2017> +1 888 867 9504 / +44 (0)330 380 1064 aa...@loadbalancer.org LEAVE A REVIEW <http://collector.reviews.io/loadbalancer-org-inc-/new-review> | DEPLOYMENT GUIDES <https://www.loadbalancer.org/?category=resources&post-name=deployment-guides&?gclid=ES2017> | BLOG <https://www.loadbalancer.org/?category=blog&?gclid=ES2017> On 18 June 2017 at 01:16, linbo liao <llbg...@gmail.com> wrote: > If vip 192.168.0.111 from subnet 192.168.0.0/24, and no netmask support in > configuration, the default netmask is 255.255.255.255. I test default > netmask, looks everything works fine. > > So what's the proper netmask for vip, 255.255.255.255 or 255.255.255.0? > > Thanks, > Linbo > _______________________________________________ > Please read the documentation before posting - it's available at: > http://www.linuxvirtualserver.org/ > > LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org > Send requests to lvs-users-requ...@linuxvirtualserver.org > or go to http://lists.graemef.net/mailman/listinfo/lvs-users > _______________________________________________ Please read the documentation before posting - it's available at: http://www.linuxvirtualserver.org/ LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org Send requests to lvs-users-requ...@linuxvirtualserver.org or go to http://lists.graemef.net/mailman/listinfo/lvs-users