LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] ipvsadm is not forwarding connections

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [lvs-users] ipvsadm is not forwarding connections
From: Stephen Carville <c1d62208@xxxxxxxxx>
Date: Thu, 19 Jun 2014 09:09:10 -0700
Firewall was the first thing I thought of :)

$ iptables-save

*nat
:PREROUTING ACCEPT [42817:7374591]
:POSTROUTING ACCEPT [1290:88312]
:OUTPUT ACCEPT [704:51857]
COMMIT
*filter
:INPUT ACCEPT [141174:20581389]
:FORWARD ACCEPT [72032:53381828]
:OUTPUT ACCEPT [27693:3275147]
COMMIT

Anyways, I set the default route on the backend servers to point back to
the lvs interface.  I also had to change the forwarding to masquerade.
It seems to work now.

Thank you.

On 06/19/2014 05:11 AM, Malcolm Turnbull [Masked] wrote:
>
> Stephen,
> 
> Make sure that your real servers (backend servers) have the default gateway
> set as the load balancer.
> Do a quick couple of tests from a client on the external network (not the
> internal one).
> Then quickly do an :
> ipvsadm -Lnc
> To see if LVS is processing the connections.
> Check you don't have anything firewalled etc.

-- 
Stephen


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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