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
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 ??