lvs rr问题

DR server:192.168.32.20

ifconfig eth0:0 192.168.32.30 netmask 255.255.255.255 up
route add -host 192.168.32.30 dev eth0:0
echo "1" >/proc/sys/net/ipv4/conf/all/send_redirects
echo "1" >/proc/sys/net/ipv4/conf/default/send_redirects
echo "1" >/proc/sys/net/ipv4/conf/eth0/send_redirects
ipvsadm -C
ipvsadm -Z
ipvsadm -A -t 192.168.32.30:80 -s rr
ipvsadm -a -t 192.168.32.30:80 -r 192.168.32.10:80 -g
ipvsadm -a -t 192.168.32.30:80 -r 192.168.32.129:80 -g

REAL Server
192.168.32.10
192.168.32.129

ifconfig lo:0 192.168.32.30 netmask 255.255.255.255 up
route add -host 192.168.32.30 dev lo:0
echo "1" >/proc/sys/net/ipv4/conf/lo/arp_ignore
echo "2" >/proc/sys/net/ipv4/conf/lo/arp_announce
echo "1" >/proc/sys/net/ipv4/conf/all/arp_ignore
echo "2" >/proc/sys/net/ipv4/conf/all/arp_announce

现在有个问题想请教下高手
我现在访问http://192.168.32.30 为什么总是访问的是 32.10 ???
我把32.10的http服务停掉,等一会http://192.168.32.30也能访问32.129.
不是轮询的吗?为什么总是访问一台机器????

Forums:

randomness