[lvs-users] LVS
Zeineb Ben Makhlouf
benmakhlouf.zeineb at gmail.com
Mon Oct 17 15:22:11 BST 2011
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 at 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 at 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 at 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*
More information about the lvs-users
mailing list