Re: Have a problem setting LVS on RedHat7.1

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Have a problem setting LVS on RedHat7.1
Cc: yraksri116@xxxxxxxxxxx
From: Gonzalo Servat <gonzalo@xxxxxxxxxxxx>
Date: Thu, 29 Nov 2001 23:17:38 +1100
Hi  Yarnvith!

++ 29/11/01 09:20 +0000 - yarnvith raksri:

> 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

You want to try 'modprobe ip_vs' and 'modprobe ip_vs_wrr' , not lsmod.
lsmod simply lists loaded modules.

> then i set  ip_forwarding
> echo 1 > /proc/sys/net/ipv4/ip_forward
> ipchains -A forward -j MASQ -s 0/0 -d 0/0

You should probably use a line like:

ipchains -A forward -j MASQ -s -d 0/0

... for example.

> then i installed ipvsadm from  RedHat Powertool  CD
> when i run ipvsadm it work out ok .
> Next  i type following lines
> ipvsadm -A -t -s wrr
> ipvsadm -A -t -r -m
> ipvsadm -A -t -r -m

The first line is ok, the second and third should read:

ipvsadm -a -t -r -m
ipvsadm -a -t -r -m

(notice the lowercase -a)

> (VIP= ,DIP=, RIP1=,RIP2= and 
> Gateway ip is
> and i already set  alias ip eth0:0 on director to
> but when i try to connect LVS from (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?

Try the above changes and see how you go.

Hope this helps!

> Thank you in advance
> _________________________________________________________________
> Get your FREE download of MSN Explorer at
> _______________________________________________
> mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to

  Gonzalo Servat <gonzalo@xxxxxxxxxxxx>

  .. "Think positively, act positively, and never leave fingerprints." -- 
Robert Sneddon

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