[lvs-users] netmask for vip?

Aaron West aaron at loadbalancer.org
Sun Jun 18 09:30:22 BST 2017

Hi Linbo,

I assume you mean on the loopback adapter? If so then use a
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 persistence
will work per source address so and would get
stuck to different servers. If you set then they would both
hit the same server as persistence would work by subnet so the whole subnet would be stuck to the first server.

Hope that's relevant to your question and makes sense...

Aaron West

www.loadbalancer.org <https://www.loadbalancer.org/?gclid=ES2017>

+1 888 867 9504 / +44 (0)330 380 1064
aaron at loadbalancer.org

<http://collector.reviews.io/loadbalancer-org-inc-/new-review> | DEPLOYMENT
 | BLOG <https://www.loadbalancer.org/?category=blog&?gclid=ES2017>

On 18 June 2017 at 01:16, linbo liao <llbgurs at gmail.com> wrote:

> If vip from subnet, and no netmask support in
> configuration, the default netmask is I test default
> netmask, looks everything works fine.
> So what's the proper netmask for vip, or
> Thanks,
> Linbo
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
> LinuxVirtualServer.org mailing list - lvs-users at LinuxVirtualServer.org
> Send requests to lvs-users-request at LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users

More information about the lvs-users mailing list