Itry to configure LVS-Tun mode, I apologize. Thanks for help. ---------- Forwarded message ---------- From: Zeineb Ben Makhlouf <benmakhlouf.zei...@gmail.com> Date: 2011/10/17 Subject: Re: [lvs-users] LVS To: "LinuxVirtualServer.org users mailing list." < lvs-users@linuxvirtualserver.org>
I try to configure LVS-NAT mode. 2011/10/17 Graeme Fowler <gra...@graemef.net> > Zeineb Ben Makhlouf <benmakhlouf.zei...@gmail.com> 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@LinuxVirtualServer.org > >Send requests to lvs-users-requ...@linuxvirtualserver.org > >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@LinuxVirtualServer.org > Send requests to lvs-users-requ...@linuxvirtualserver.org > or go to http://lists.graemef.net/mailman/listinfo/lvs-users > _______________________________________________ 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-requ...@linuxvirtualserver.org or go to http://lists.graemef.net/mailman/listinfo/lvs-users