LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: DIP and default gateway share the same IP

To: "'LinuxVirtualServer.org users mailing list.'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: DIP and default gateway share the same IP
From: "Martijn Stam" <martijn@xxxxxxxxxx>
Date: Fri, 8 Jul 2005 10:55:55 -0400

>-----Original Message-----
>From: lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx
[mailto:lvs-users->bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Joseph Mack
NA3T
>Sent: Friday, July 08, 2005 10:49 AM
>To: LinuxVirtualServer.org users mailing list.
>Subject: Re: DIP and default gateway share the same IP

>On Fri, 8 Jul 2005, Martijn Stam wrote:

>>> From what I understood the DIP will be automatically transferred to the
>> backup LVS if the master fails. Does it also transfer the default
gateway?

>there was a lot of detail in the first part of the post whose relevance
>wasn't obvious. So I may not have got what you're interested in, but
>here goes.

>>From this last para, I assume that the realservers are pointing to
>an IP which is the DIP (and you've forward_shared patched the director).
>The whole point of the DIP is to have it move on director failover.
>The DIP isn't neccessarily the primary IP of the NIC.

If it isn't the primary IP of the NIC means that in case of a failover the
default gateway for the real servers will change as well.
Gateway AND DIP for the real servers is 66.77.170.1.

>> Of course I can't configure 66.77.170.1 on both LVS routers.

>but you can move it on failover.

>Joe


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