[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-virtual-server
Subject: [lvs-users] MAC based forwarding ... backends calling each other ...
From: Lars Segerlund <lars.segerlund () gmail ! com>
Date: 2011-10-31 15:03:17
Message-ID: CAF-VNapeCe1BJam31XMK3f5pUSYn-eW189ee8CwwWkHAU811zw () mail ! gmail ! com
[Download RAW message or body]
Hi ,
I got direct routing setup , and I use iptables with the cluster
adress to make the machine accept incoming trafic.
iptables -t nat -A PREROUTING -d <cluster adress> -j REDIRECT
If I put the adress on the loopback , the server can't call the load
balancer/ cluster address ... since all traffic goes to loopback .
It works like a charm, however in my app, the backend servers can
call each other , ( via cluster adress ), this also works like a
charm, except for the case where a server is calling a service on
itself via the cluster adress.
It seems the return trafic gets lost, and I have been hard at it
trying to find a solution ....
I guess I have something similar as DNAT on the same network ....
Does anybody have any ideas ?
The only thing I have thought of is changing the ip of a packet
incoming to the machine ... based on mac ... to the IP of the machine,
this in not however easily done .
I'm going off to try to log dropped packets since tcpdump & wireshark
doesn't give me anything funky.
Best regards, Lars Segerlund.
_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/
LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic