LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Problems with first time LVS use

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Problems with first time LVS use
From: Omar Al-Tabari <otabari@xxxxxxxxxx>
Date: Sun, 10 Jun 2007 10:08:37 +0300
Hi,

Still having a bit of trouble with the correct routing from my real 
servers back to my client through the load balancer, trying to update 
the windows routing table to make it send all replies through the LB, 
here is what it looks on one of the real servers (its the same on the 
other):
LB IP is: 172.16.5.126

C:\Documents and Settings\Administrator>route print

IPv4 Route Table
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x10003 ...00 0c 29 dc ca 1f ...... VMware Accelerated AMD PCNet Adapter
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0    255.255.255.0     172.16.5.126     172.16.5.215      1
        127.0.0.0        255.0.0.0        127.0.0.1        127.0.0.1      1
       172.16.5.0    255.255.255.0     172.16.5.215     172.16.5.215     10
     172.16.5.215  255.255.255.255        127.0.0.1        127.0.0.1     10
   172.16.255.255  255.255.255.255     172.16.5.215     172.16.5.215     10
        224.0.0.0        240.0.0.0     172.16.5.215     172.16.5.215     10
  255.255.255.255  255.255.255.255     172.16.5.215     172.16.5.215      1
Default Gateway:      172.16.5.126
===========================================================================
Persistent Routes:
  Network Address          Netmask  Gateway Address  Metric
          0.0.0.0    255.255.255.0     172.16.5.126       1

I have tried to run the command:
route change 172.16.5.0 mask 255.255.255.0 172.16.5.126 metric 1
but what I get is:
The route specified was not found.

What I got on my LB is as follows (my IP being 172.16.5.17):
04:03:05.579863 IP 172.16.5.17.49645 > 172.16.5.126.http: S 
2504529028:2504529028(0) win 65535 <mss 1260,nop,nop,sackOK>
04:03:05.580060 IP 172.16.5.17.49645 > 172.16.5.215.http: S 
2504529028:2504529028(0) win 65535 <mss 1260,nop,nop,sackOK>
04:03:05.601396 IP 172.16.5.215.http > 172.16.5.17.49645: S 
2847499617:2847499617(0) ack 2504529029 win 16384 <mss 1460,nop,nop,sackOK>
04:03:08.396389 IP 172.16.5.215.http > 172.16.5.17.49645: S 
2847499617:2847499617(0) ack 2504529029 win 16384 <mss 1460,nop,nop,sackOK>
04:03:08.912329 IP 172.16.5.17.49645 > 172.16.5.126.http: S 
2504529028:2504529028(0) win 65535 <mss 1260,nop,nop,sackOK>
04:03:08.912368 IP 172.16.5.17.49645 > 172.16.5.215.http: S 
2504529028:2504529028(0) win 65535 <mss 1260,nop,nop,sackOK>
04:03:16.482863 IP 172.16.5.17.49645 > 172.16.5.126.http: S 
2504529028:2504529028(0) win 65535 <mss 1260,nop,nop,sackOK>
04:03:16.482921 IP 172.16.5.17.49645 > 172.16.5.215.http: S 
2504529028:2504529028(0) win 65535 <mss 1260,nop,nop,sackOK>
04:03:16.678007 IP 172.16.5.215.http > 172.16.5.17.49645: S 
2847499617:2847499617(0) ack 2504529029 win 16384 <mss 1460,nop,nop,sackOK>

This is all because I need them all on the same network and you have 
already kindly explained to me that this is happening cause the real 
server has access to directly respond to my client via the same network, 
but it seems I can not change that for some odd reason >.<

Any ideas?

Thanks


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