hi,Sir:
I'm a beginner,I just download the lvs ,and install the lvs patch on my
red hat 6.2(kernel 2.2.14-5.0 on i386),recomplie the kernel and reboot with
the new kernel successful.
so i want to test the lvs-dr of lvs,my configuration is the following:
Host IP
client CIP=192.168.100.2
director DIP=192.168.100.11
virtual IP (VIP) VIP=192.168.100.211
realserver1 RIP1=192.168.1.80, VIP=192.168.100.211
(windows2000)
realserver2 RIP1=192.168.1.81, VIP=192.168.100.211(windows
2000)
the I use the /sbin/ipvsadm config the director:
ifconfig eth0 192.168.100.11 netmask 255.255.255.0 broadcast 192.168.100.255
up
route add -net 192.168.100.0 netmask 255.255.255.0 dev eth0
ifconfig eth0:0 192.168.100.211 netmask 255.255.255.255 broadcast
192.168.100.211 up
route add -host 192.168.100.211 dev eth0:0
echo 1 > /proc/sys/net/ipv4/ip_forward
ipvsadm -A -t 192.168.100.211:23 -s wlc
ipvsadm -a -t 192.168.100.211:23 -r 192.168.100.80 -g ( i want to test only
one realserver at first)
there are no problem .
but when i plan to setup the realserver,i don't know how can i setup the
VIP.
i just bind the ip 192.168.100.211 with realserver1,then realserver2 too
(one nic,two ip address),but they report the conflict of the same ip to me,
so i can't complete the test.
will you tell me how can i setup the VIP on windows2000 server? thank you
very much. wait for your reply.
Regards,
XiaoLin Lee
R&D, Ctrip.com
(8621)53850200 x 403(Office)
(8621)53850923(Fax)
Email: xlli@xxxxxxxxx
|