LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: Problem with virtual server on (vmware) virtual machines

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: Problem with virtual server on (vmware) virtual machines
From: "Alparslan OZTURK" <aozturk@xxxxxxxxxxx>
Date: Tue, 20 Feb 2007 13:42:31 +0200
I think you don't need these commands. Because vmware can emulate MAC
adress.

echo 1 > /proc/sys/net/ipv4/conf/eth0/arp_ignore
echo 2 > /proc/sys/net/ipv4/conf/eth0/arp_announce
echo 1 > /proc/sys/net/ipv4/conf/all/arp_ignore
echo 2 > /proc/sys/net/ipv4/conf/all/arp_announce


 

-----Original Message-----
From: lvs-users-bounces+aozturk=e-tugra.com@xxxxxxxxxxxxxxxxxxxxxx
[mailto:lvs-users-bounces+aozturk=e-tugra.com@xxxxxxxxxxxxxxxxxxxxxx] On
Behalf Of Evald Ibrahimi
Sent: Friday, February 16, 2007 9:28 PM
To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Problem with virtual server on (vmware) virtual machines

Hi Everybody !
need some help here,
I'm trying to test a simple virtual server. This is the topology of my
net:

I have 2 virtual machines(both are ubuntu 6.10) running on vmware.
the first is the director with IP 192.168.1.7 on eth0, the second is the
real server with IP 192.168.1.9 on eth0.

i want to test a web service running on a VIP 192.168.1.15.
All the nic of the machines are on the same subnet so i have to use the
"Direct routing" and also to resolve the problem of arp when all the
machines are on the same subnet.
here are the command that i have used:

on the director:
---------------

ifconfig eth0 192.168.1.7 up
ifconfig eth0:0 192.168.1.15 up
ipvsadm -A -t 192.168.1.15:80
ipvsadm -a -t 192.168.1.15:80 -r 192.168.1.9 -g echo 1 >
/proc/sys/net/ipv4/ip_forward

on the real server:
------------------

echo 1 > /proc/sys/net/ipv4/conf/eth0/arp_ignore
echo 2 > /proc/sys/net/ipv4/conf/eth0/arp_announce
echo 1 > /proc/sys/net/ipv4/conf/all/arp_ignore
echo 2 > /proc/sys/net/ipv4/conf/all/arp_announce

ifconfig lo:0 192.168.1.15 up

the conclusion is that it is not working, i have used ethereal to
understand what is going on the network and i have understood that the
director is working fine but the problem is on the real server because
it recieve the request for the home page but doesnt reply.
somebody could help me to understand why it's not working ??

Regards,
Evald


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