Problem with virtual server on (vmware) virtual machines

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Problem with virtual server on (vmware) virtual machines
From: Evald Ibrahimi <evald80@xxxxxxxxxxx>
Date: Fri, 16 Feb 2007 20:27:40 +0100
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 on eth0, the second is the real server
with IP on eth0.

i want to test a web service running on a VIP
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 up
ifconfig eth0:0 up
ipvsadm -A -t
ipvsadm -a -t -r -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 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 ??


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