Hello Willy!

Willy Tarreau ha scritto:

Please simplify the test first. Disable health checks on the server. That
way we'll know that health checks are not seeing the server as down. Next
step is to ensure that you're sending the request from a machine that must
be routed back via the haproxy server, so it must not be on the same local
net as your web server. If you still don't see any progress, please take a
tcpdump capture on both sides (haproxy server and web server).

Regards,
Willy

I do like you advice to me, disabling health checks.
So, this is the new situation (lan is 192.168.1.0)

HAPROXY
eth0 (connected to my lan switch)
ip: 192.168.1.20
eth1 (connected to webserver)
ip: 192.168.0.1

WEBSERVER
eth0 (connected to haproxy)
ip: 192.168.0.2
gw: 192.168.0.1

So, I made 2 different test in HAPROXY (connection opened from my pc 192.168.1.2).

NORMAL MODE
> netstat -ctnup | grep 192.168.0.2:80
tcp 0 0 192.168.0.1:51652 192.168.0.2:80 ESTABLISHED 1014/haproxy

TRANSPARENT MODE
> netstat -ctnup | grep 192.168.0.2:80
tcp 0 1 192.168.1.2:54575 192.168.0.2:80 SYN_SENT 993/haproxy

So, there is something that don't permit to communicate in transparent mode..
Where is the barrier? mmm..

Thanks in advance!   Daniele


Reply via email to