Hi all
First i have to say that i am a newbie in this Network area .
So every suggestions will be usefull f rme :)
Now i try to set LVS to work as webserver.
I using RedHat7.1 right now and i notice that it already patch with ipvs.
So i just load ip_vs module by using following command
lsmod ip_vs and lsmod ip_vs_wrr
then i set ip_forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
ipchains -A forward -j MASQ -s 0/0 -d 0/0
then i installed ipvsadm from RedHat Powertool CD
when i run ipvsadm it work out ok .
Next i type following lines
ipvsadm -A -t 192.168.0.100:80 -s wrr
ipvsadm -A -t 192.168.0.100:80 -r 192.168.0.2 -m
ipvsadm -A -t 192.168.0.100:80 -r 192.168.0.3 -m
(VIP=192.168.0.100 ,DIP=192.168.0.1, RIP1=192.168.0.2,RIP2=192.168.0.3 and
Gateway ip is 192.168.0.254)
and i already set alias ip eth0:0 on director to 192.168.0.100
but when i try to connect LVS from 192.168.0.254 (my gateway) Ô by using
LYNX , it's didn't work out.!!!
what should i do ?
Do i have to get a fresh kernel and patch with ipvs myself?
Thank you in advance
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
|