Hi all,
Im building a LVS system with 3 server, 1 for Load Balance Server and the others for Real Web server.
LB Server: 192.168.1.111
eal Server1: 192.168.1.112
Real Server2: 192.168.1.113
# echo "1" > /proc/sys/net/ipv4/ip_forward
# ipvsadm -L -n
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP 192.168.1.111:80 rr
-> 192.168.1.112:80 Masq 1 0 0
-> 192.168.1.113:80 Masq 1 0 0
At Real Server1:
iptables –t nat –A PREROUTING –d 192.168.1.111 –p tcp –dport 80 –j REDIRECT –to-ports 80
At Real Server2
iptables –t nat –A PREROUTING –d 192.168.1.111 –p tcp –dport 80 –j REDIRECT –to-ports 80
But I can't connect to
http://192.168.1.111.
Could you please let me know what i should do now?
Thank you so much!