LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] LVS

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [lvs-users] LVS
From: Zeineb Ben Makhlouf <benmakhlouf.zeineb@xxxxxxxxx>
Date: Mon, 17 Oct 2011 15:22:11 +0100
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

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