Hello!
now i have drawn my setup for easier understanding, i hope someone can
view "png" on his system :o)
director: kernel 2.4.10 with ip_vs-0.9.6 patch
ifconfig:
eth0 Link encap:Ethernet HWaddr 00:04:76:32:EB:A5
inet addr:10.17.160.1 Bcast:10.255.255.255 Mask:255.255.0.0
eth0:0 Link encap:Ethernet HWaddr 00:04:76:32:EB:A5
inet addr:10.17.160.30 Bcast:10.17.160.30 Mask:255.255.255.255
eth1 Link encap:Ethernet HWaddr 00:04:76:90:98:50
inet addr:192.168.100.1 Bcast:192.168.100.255 Mask:255.255.255.0
route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
10.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 10.17.130.2 0.0.0.0 UG 0 0 0 eth0
ipvsadm:
IP Virtual Server version 0.9.6 (size=4096)
Prot LocalAddress:Port Scheduler Flags
-> RemoteAddress:Port Forward Weight ActiveConn InActConn
TCP edvlvs1.knapp.intern:www wlc
-> 192.168.100.2:www Route 1 0 1
##
realserver: kernel 2.4.4 with hidden-2.4.4-1 patch
at the time im using one realserver.
ifconfig:
eth0 Link encap:Ethernet HWaddr 00:01:02:EB:FC:C4
inet addr:10.17.160.3 Bcast:10.17.255.255 Mask:255.255.0.0
eth1 Link encap:Ethernet HWaddr 00:04:76:8F:14:58
inet addr:192.168.100.2 Bcast:192.168.100.255 Mask:255.255.255.0
lo:0 Link encap:Local Loopback
inet addr:10.17.160.30 Mask:255.255.255.255
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
10.17.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 10.17.130.2 0.0.0.0 UG 0 0 0 eth0
i think my problem is not the arp problem, because the realservers
doesnt reply to the arp requrest when the client wants to figure out the
mac address on the VIP device. i have read the examples that comes with
configure-lvs.pl, and there the client uses 2 NICs. in an real production
environment, does the client have to be changed to an router connecting
the 2 networks together?
also: is it important when the
echo "1" > /proc/sys/net/ipv4/conf/all/hidden
echo "1" > /proc/sys/net/ipv4/conf/lo/hidden
statements have to be executed? befor the devices are set up or is it ok when
i start it befor i make the first connection to the VIP?
thx a lot,
Chris
--
KNAPP Logistics Automation http://www.knapp.com
Ing. Christian Jölly Tel/FAX: (++43) 316 / 495 1926 / 495 394
Günter-Knapp-Straße 5-7 A-8075 Hart bei Graz
myLVS-DR.png
Description: PNG image
pgpy7ZCFUT4Qi.pgp
Description: PGP signature
|