i first select the wrr(build)algorithm
and compile.rebuild the corel.
second i reboot,
and run follow commands.
echo 1 > /proc/sys/net/ipv4/ip_forward.
ipchains -A forward -j MASQ -s 200.200.200.0/24 -d 0.0.0.0/0
ipvsadm -A -t 200.200.200.54:80 -s wrr
ipvsadm -a -t 200.200.200.54:80 -R 200.200.200.101:80 -m -w
1
ipvsadm -a -t 200.200.200.54:80 -R 200.200.200.88:80 -m -w
2
but when i in 200.200.200.1,telnet 200.200.200.54 80,it
respond none.i run the testvs and show_traffics.sh in the
200.200.200.54
but show_traffics eth0.
show 0/sec
show_traffics lo
show 11223/sec.
why this condition occured?
|