LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] netmask for vip?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] netmask for vip?
From: linbo liao <llbgurs@xxxxxxxxx>
Date: Wed, 21 Jun 2017 21:37:36 +0800
Sorry I miss the detailed information.

I mean the netmask of VIP in LVS director. LVS use keepalived to do HA.
Will vip netmask in LVS director affect the persistence ?

2017-06-18 16:30 GMT+08:00 Aaron West <aaron@xxxxxxxxxxxxxxxx>:

> 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
> aaron@xxxxxxxxxxxxxxxx
>
> 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 <llbgurs@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxx
> > Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> > 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@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>