求助 lvs-nat 无法访问real-server 问题
lvs01:
eth0:10.78.60.6
eth1:10.78.104.2
web01:
eth0:10.78.60.1
gw : 10.78.60.6
iptables和selinux已关闭
# cat /proc/sys/net/ipv4/ip_forward
1
#ipvsadm -ln
-> RemoteAddressort Forward Weight ActiveConn InActConn
TCP 10.78.104.2:80 rr
-> 10.78.60.1:80 Route 1 0 0
# ipvsadm -lnc
IPVS connection entries
pro expire state source virtual destination
TCP 00:09 SYN_RECV 10.78.104.3:37018 10.78.104.2:80 10.78.60.1:80
# wget http://10.78.104.2/index.html
--2013-05-13 14:09:42-- http://10.78.104.2/index.html
Connecting to 10.78.104.2:80... failed: Connection refused.
#tcpdump eth1
15:29:09.142659 IP cl01.44365 > 221.228.255.1.domain: 38822+ AAAA? mirror.bit.edu.cn. (35)
15:29:09.412887 IP 10.78.104.3.45564 > 228.0.0.4.45564: UDP, length 69
15:29:09.914868 IP 10.78.104.3.45564 > 228.0.0.4.45564: UDP, length 69
15:29:10.416855 IP 10.78.104.3.45564 > 228.0.0.4.45564: UDP, length 69
15:29:10.918845 IP 10.78.104.3.45564 > 228.0.0.4.45564: UDP, length 69
15:29:11.420837 IP 10.78.104.3.45564 > 228.0.0.4.45564: UDP, length 69
15:29:11.922835 IP 10.78.104.3.45564 > 228.0.0.4.45564: UDP, length 69
15:29:12.424811 IP 10.78.104.3.45564 > 228.0.0.4.45564: UDP, length 69
15:29:12.926799 IP 10.78.104.3.45564 > 228.0.0.4.45564: UDP, length 69
15:29:13.428797 IP 10.78.104.3.45564 > 228.0.0.4.45564: UDP, length 69
15:29:13.659401 IP 10.78.105.253 > 224.0.0.1: igmp query v2
10.78.104.3 是lvs02的eth1 ,lvs01和lvs02的ha都关闭了