LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Problems with LVS-DR, one director, one realserver...

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Problems with LVS-DR, one director, one realserver...
From: Christian Joelly <christian.joelly@xxxxxxxxx>
Date: Fri, 16 Nov 2001 14:06:21 +0100
Hello!

im new to LVS and run into problems... ;-)

kernel 2.4.10 with the lvs patch v0.9.6, no hidden patch

first here is my setup:

VIP:    10.17.160.30
DIP:    10.17.160.1 (192.168.100.1)
RIP:    10.17.160.3 (192.168.100.2)

director:

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

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

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

------------
real server:

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

eth1:0    Link encap:Ethernet  HWaddr 00:04:76:8F:14:58  
          inet addr:10.17.160.30  Bcast:10.17.160.160 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
10.17.160.30    0.0.0.0         255.255.255.255 UH    0      0        0 eth1
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 have setup a virtual service for my vip and tcp:80, wlc on the
director.

when i make a telnet connection to port 80 on my VIP or let my browser
point to that address, the request times out ...

i can see the arp requests on my private 192.168.100.x lan, but the
apache running on the real server doesnt get the request.
apache bound to the vip with BindAdress, one VirtualHost configured with
NameVirtualHost. The apache serves the page correct when i use lynx/links
on the real server...

maybe someone can point me to the right direction ...

thanks, 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

Attachment: pgpSCK1YrwEs0.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>