Re: lvs-nat configure issue

To: " users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: lvs-nat configure issue
From: Joseph Mack NA3T <jmack@xxxxxxxx>
Date: Thu, 26 Apr 2007 06:38:00 -0700 (PDT)
On Thu, 26 Apr 2007, ram prakash wrote:

I have followed following steps to configure lvs.
net.ipv4.ip_forward = 1
ifconfig eth0:1 netmask up
ipvsadm -A -t -s rr
ipvsadm -a -t -r -m -w
ipvsadm -a -t -r -m -w
ifconfig tunl0 netmask

why do you have x.x.x.2 configured on both eth0:1 and tunl0?

Now I tried to open from the other
machine in 192.168.1.x network. Now I am able to get
only response from local machine that is,

Are the packets going through the director?

I am not getting the response from  my
other real server that is

do you have the default gw set correctly for the realservers?

When I execute ipvsadm -L -n I am getting below
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
 -> RemoteAddress:Port           Forward Weight
ActiveConn InActConn
TCP rr
 ->             Local   3      0
 ->             Masq    3      0

Here it is showing that, It is sending request to both
real servers.

no. This shows that the ipvsadm table is set up to send to two realservers. The "0" entries show that no connections
are open.


Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at
Homepage It's GNU/Linux!

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