Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux Virtual Server: Users

[lvs-users] MAC based forwarding ... backends calling each other ...

 

 

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded


lars.segerlund at gmail

Oct 31, 2011, 8:03 AM

Post #1 of 1 (241 views)
Permalink
[lvs-users] MAC based forwarding ... backends calling each other ...

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 [at] LinuxVirtualServer
Send requests to lvs-users-request [at] LinuxVirtualServer
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.