Hello All,
im new to LVS and need your help to build up an
LVS-NAT.
ive 3 server and 1 switch.
Director has 2 network card (192.168.1.1 connected to
the router for internet over PPPoA, and the other card
its duplex : 192.168.10.1 as VIP and 192.168.5.1
local)
the real server one has 2 network card first
192.168.5.2 the oher not configured
the second real server has 2 network card 192.168.5.5
im using fedora core 3 on all servers.
and i want load balancing the webserver apache on two
realserver with php installed and working.
on director i did
ipvsadm -A -t 192.168.10.1:80 -s rr
ipvsadm -a -t 192.168.10.1:80 -r 192.168.5.2 -m
ipvsadm -a -t 192.168.10.1:80 -r 192.168.5.5 -m
and enabled packet routing with
echo 1 > /proc/sys/net/ipv4/ip_forward
i tried to ping the director from the realserver (and
vicerversa) and it works both
i tried to ping the realserver from the client and it
works.
when i try to request a php webpage from client on
192.168.10.1 i get only timeout and no webpage is
showed
the --stats shows i dont have any outgoing packet
just
active connection and all other stats.
whats wrong ?
thank you for your help
|