LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Bug in ipvsadm-0.9.1-2.2.12/ipvsadm-1.4?

To: linux-virtualserver@xxxxxxxxxxxx
Subject: Bug in ipvsadm-0.9.1-2.2.12/ipvsadm-1.4?
From: jacob.rief@xxxxxx
Date: Mon, 11 Oct 1999 19:13:02 +0200
Hello Wensong,
I think I found a bug in ipvsadm:
$ ipvsadm -h
ipvsadm  v1.4 1999/10/5
(...snip...)
$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:10:5A:4B:2C:7A
          inet addr:195.96.23.227  Bcast:195.96.23.255
Mask:255.255.255.192
(...snip...)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
(...snip...)

$ ipchains -L
Chain input (policy ACCEPT):
Chain forward (policy ACCEPT):
Chain output (policy ACCEPT):
$ ipvsadm -C
$ ipvsadm -A -t 195.96.23.227:88
$ ipvsadm -a -t 195.96.23.227:88 -r 127.0.0.1:85
$ ipvsadm -L -n
IP Virtual Server version 0.9.1 (size=65536)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port          Forward Weight ActiveConn InActConn
TCP  195.96.23.227:88 wlc
  -> 127.0.0.1:88                Local   1      0          3

should'nt the last line say 127.0.0.1:85? With non-local
services this works.

Now, if I try to transfer the webservice to port 88,
I get poor to no performance at all. The webserver itself
is listening only on 127.0.0.1:88 but not on 195.96.23.227:88.
It should be possible to redirect a virtual service onto a local
service, shouldn't it?

Regards, Jacob



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