|
Anyone else tried this since?
I've been trying to get this to work and am getting the same results as y3n: with LVS-NAT and LVS-DR the masqueraded or re-MACed packets never make it to the real server. With LVS-Tun the packets do make it to the real server, but then the response packets seem (which should go direct to the client, like with LVS-DR) are just disappearing.
I was hopeful that LVS-DR, since it's just done at the link layer rather than the IP layer, might get through the linode networking stack ok, but it still seems to be being filtered somewhere. This tcpdump shows the mac addresses getting rewritten (correctly), while the ip details stay the same:
$ tcpdump -nn -e -i eth0 tcp port 443 listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes 01:02:00.124061 84:78:ac:5a:0b:41 > f2:3c:91:33:32:14, ethertype IPv4 (0x0800), length 74: 203.206.211.85.54024 > 45.56.71.79.443: Flags [S], seq 3934105594, win 14600, options [mss 1452,sackOK,TS val 531657264 ecr 0,nop,wscale 7], length 0 01:02:00.124092 f2:3c:91:33:32:14 > f2:3c:91:33:70:45, ethertype IPv4 (0x0800), length 74: 203.206.211.85.54024 > 45.56.71.79.443: Flags [S], seq 3934105594, win 14600, options [mss 1452,sackOK,TS val 531657264 ecr 0,nop,wscale 7], length 0
y3n didn't mention it above, but I've also tried using linodes IP Failover facility to add the VIP (45.56.71.79 above) to the real servers, but to no effect.
I'll keep digging, but if anyone has any bright ideas, I'd love to hear them.
Cheers!
|