LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Unable to forward packets

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Unable to forward packets
From: "Bill Omer" <bill.omer@xxxxxxxxx>
Date: Sat, 25 Feb 2006 10:11:13 -0500
> > Thanks Joe for helping me out with this.  I finnaly got it working
> > now, and here is all that I needed to do.
>
> what were you doing that was wrong?
>
> Joe

Well turns out the problem wasn't with the config on the director, but
the real servers.  Since they were getting packets sent to the VIP and
didn't know what to do with them, they would just drop them.  So once
I created the nat rule with iptables and enabled port forwarding it
was able to redirect the traffic to its self and aswer (and respond)
to the requests correctly.

I suppose doing policy routing would have fixed my problem as well. 
But most of the docs said to use aliased interfaces, which in the 2.4
world is apparently wrong.  By the simplest solution was to use the
iptables magic on the real servers.  Once I did that, everything
started to work.

-B

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