Hi,
I'm trying to get LVS/IPVS to work for my desired configuration, but facing
a weird problem, most likely due to a simple mistake somewhere.
For now, I've created one load balancer VM (running Ubuntu 18.04 with LVS
director 1.28-3) and one real server VM (running Ubuntu 18.04).
Both the VMs are in different data-centres (different networks), so I'm
trying to make the load balancer and real server work over IP tunneling
mode based on this guide:
https://medium.com/@ppan.brian/ipvs-using-ipip-tunnel-ca180c7f4fd8
I've got it working to the point where if a client sends a request to load
balancer VIP, then it forwards the request to the real server, which is
running a simple HTTP web server 'python3 -m http.server 8000' (has a
'Hello World' index page), but the real server never responds back, and the
request times-out.
Using tcpdump, I can see the request hitting the director, and then hitting
the real server, and the real server responding back to the client IP with
a zero length response (ack?), that goes on for 4-5 times until timeout.
Tunneling seems to be working but the web server doesn't intercept and
respond to the request. Requesting the real server IP directly works fine
though.
I'll appreciate if someone can share some tips or suggestions to resolve
this issue.
Cheers,
Nick
_______________________________________________
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
|