[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-virtual-server
Subject:    Re: [lvs-users] netmask for vip?
From:       linbo liao <llbgurs () gmail ! com>
Date:       2017-06-26 13:41:47
Message-ID: CAPLOXuWiBcB+xqeceet76sg5PR9RmjhUj=-163XE6WoSPCE6oQ () mail ! gmail ! com
[Download RAW message or body]

Thanks Julian.

2017-06-25 1:30 GMT+08:00 Julian Anastasov <ja@ssi.bg>:

>
>         Hello,
>
> On Sat, 24 Jun 2017, linbo liao wrote:
>
> > I search the net, all VIP will be removed if primary IP deleted when
> > promote_secondaries is 0.
>
>         Yes - if we add VIP/24 on eth0. Not - if VIP is added as /32.
>
> > Why VIP should not be promoted as primary IP if DIP removed? I try to
> > search in google, but no luck.
>
>         Nobody should need such games in IPVS setups...
> I just wanted to note all considerations when deciding
> where to add VIP.
>
> > > add DIP/24 on eth0 before configuring VIP. Such DIP is
> > > mandatory for TUN mode because we originate IPIP packets
> > > from DIP.
>
>         If VIP becomes the primary source address when sending
> to TUN real server, the real server can drop the IPIP packet
> with saddr=VIP,daddr=RIP because VIP can be added as local
> address on "lo". Also, there is no guarantee that such
> packet can be routed to the RIP in all cases, sometimes
> saddr=VIP can be allowed to use only the incoming ISP link.
> So, as you see, it depends on many things.
>
> Regards
>
> --
> Julian Anastasov <ja@ssi.bg>
>
_______________________________________________
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-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic