LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

my connection are going to the wrong machine

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: my connection are going to the wrong machine
From: Jeremy Hansen <jeremy@xxxxxxxxxxxx>
Date: Wed, 13 Sep 2000 19:31:35 -0400 (EDT)
I'm using fwmark

My vip is 10.2.9.5

real servers 10.2.9.10,11

ifconfig lo:0 on the real servers is pointing to 10.2.9.5, lo:0 is also
pointing to 10.2.9.5 on the lvs machine.

Current lvs table:

ld1: root:~ 1209>ipvsadm -L -n
IP Virtual Server version 0.9.15 (size=8192)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port          Forward Weight ActiveConn InActConn
FWM  1 rr
  -> 10.2.9.11:0                 Route   1      0          0         

but when I connect, say ftp:

jeremy:~$ ftp 10.2.9.5
Connected to 10.2.9.5.
220 webtest1.sv.lab FTP server (Version wu-2.6.0(1) Fri Jun 23 09:17:44
EDT 2000) ready.
Name (10.2.9.5:jeremy): 

it's going to webtest1.sv.lab which is 10.2.9.10

so I tried this for fun, took the real server out completely:

ld1: root:~ 1211>ipvsadm 
IP Virtual Server version 0.9.15 (size=8192)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port          Forward Weight ActiveConn InActConn
FWM  1 rr


it still allows connections to webtest1, 10.2.9.10

What could be causing this.  I've seen beahavior like this before with
other methods, not only in fwmark mode.

Sounds like it could be something weird on router that I'm passing through
perhaps.  Is there a way to track down what's causing this?

Thanks
-jeremy



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