Re: Unable to forward packets

To: " users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Unable to forward packets
From: "Bill Omer" <bill.omer@xxxxxxxxx>
Date: Fri, 24 Feb 2006 13:14:51 -0800
On 2/23/06, Joseph Mack NA3T <jmack@xxxxxxxx> wrote:
> On Wed, 22 Feb 2006, Bill Omer wrote:
> > 'Connection timed out', I'm right back to 'No route to host'
> how about you run the lvs-dr script from the mini-HOWTO

Thanks Joe for helping me out with this.  I finnaly got it working
now, and here is all that I needed to do.

On the director:

ifconfig eth0:0 lvs-vip netmask broadcast lvs-vip up
ipvsadm -A -t lvs-vip:0 -s wlc -p
ipvsadm -a -t lvs-vip:0 -r app-101 -g -w 50
ipvsadm -a -t lvs-vip:0 -r app-102 -g -w 50
ipvsadm -a -t lvs-vip:0 -r app-103 -g -w 50
ipvsadm -a -t lvs-vip:0 -r app-104 -g -w 50
ipvsadm -a -t lvs-vip:0 -r app-105 -g -w 50

On the real servers:
iptables -t nat -A PREROUTING -d lvs-vip -p tcp --dport 0:65535  -j REDIRECT
echo 1 > /proc/sys/net/ipv4/ip_forward

Now all services are being load balanced with persistence between all
of our real servers.  I'm going to start testing remote X desktop
environments next.

Thanks again for all the help, it was very much appreciated.

Bill Omer

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