LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] LVS

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [lvs-users] LVS
From: Graeme Fowler <graeme@xxxxxxxxxxx>
Date: Mon, 17 Oct 2011 20:02:41 +0100
Zeineb Ben Makhlouf <benmakhlouf.zeineb@xxxxxxxxx> wrote:

>Hello,
>
>I am a beginner. I try to install linux virtual server.
>In fact, I use three virtual machines Ubuntu on the same PC. I aim to
>install LVS on one machine and the 2 other will be considered as real
>servers.
> The virtual machines have the same IP address 10.0.2.15.
>
>The IP address of my PC is 192.168.1.65.
>
>I configured the addresses as mentioned below, but I encountered the
>following problems:
>
>   - I can not access the internet from the virtual machines.
>
>
>   - LVS does not recognize the real servers.
>
>Thanks for help.
>
>Address configuration is:
>
>*root@loadb1:~#gedit /etc/network/interfaces*
>
>*auto lo*
>
>*iface lo inet loopback*
>
>*                                         *
>
>*auto eth0*
>
>*iface eth0 inet static*
>
>*address 192.168.1.65*
>
>*netmask 255.255.255.0*
>
>*gateway 192.168.1.254*
>
>* *
>
>*auto eth0:0*
>
>*iface eth1 inet static*
>
>*address 192.168.1.1*
>
>*netmask 255.255.255.0        *
>
>*root@real1:~# gedit /etc/network/interfaces*
>
>*auto lo*
>
>*iface lo inet loopback*
>
>* *
>
>*auto eth0*
>
>*iface eth0 inet static*
>
>*address 192.168.1.10*
>
>*netmask 255.255.255.0*
>
>*gateway 192.168.1.1*
>
>*root@real2:~#gedit /etc/network/interfaces*
>
>*auto lo*
>
>*iface lo inet loopback*
>
>* *
>
>*auto eth0*
>
>*iface eth0 inet static*
>
>*address 192.168.1.20*
>
>*netmask 255.255.255.0*
>
>*gateway 192.168.1.1*
>_______________________________________________
>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

Hi

Your realservers *cannot* have the same IP address. They must be unique. They 
can however all be configured with the same VIP but this depends on which mode 
you're using.

Until you make each realserver have a unique IP address we'll be unable to help.

Graeme.

_______________________________________________
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>