LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: ipvsadm output VS ifconfig output

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: ipvsadm output VS ifconfig output
From: Jonathan Lundberg <lundbej@xxxxxx>
Date: Mon, 23 Oct 2006 10:32:19 +0100
Joseph Mack NA3T wrote:
On Fri, 20 Oct 2006, Jonathan Lundberg wrote:

We have discovered that the problematic VIP's appear in ipvsadm -l output, but the corresponding interface does not appear in ifconfig output on the LVS server/director.

ifconfig doesn't see IPs configured with iproute2 tools. You should forget ifconfig for anything but leaf machines

BTW piranha is a RedHat product, not part of the LVS project

Joe

Hi,

I'm afraid I'm not a linux kernel ip/routing expert by any stretch of the imagination, I'm just
an LVS end user.

Under normal circumstances, when I start pulse, any VIP->Real mapping that I see in ipvsadm -l output also seems to have a corresponding device listed in ifconfig output.

The difficulty I am having now, is that when I start pulse, I can see the full list of VIP->Real mappings in ipvsadm -l output, as if they are functioning correctly. However, I am not able to connect to some random VIP's even though they are listed, I get a connection refused or no route to host error. I discovered that when I run ifconfig, the ones that DO work and that I CAN connect to, are listed as eth0:X devices in ifconfig output, but the VIP's that I cannot connect to are NOT listed. If I run "ifconfig eth0:X w.x.y.z netmask a.b.c.d" on the
command line, THEN I am able to connect to the VIP's and they function fine.

I don't want to have to resort to writing a script that runs ifconfig commands for every VIP when I restart pulse just to get it working. Has anybody seen this behaviour before? You say ifconfig doesn't see IP's configured with iproute2 tools, but all I know is that when I start pulse in CentOS, I _DO_ see ifconfig
device entries for every VIP (or at least, the ones that work!)

Thanks,

Jonathan.
***********************************************************
The information in this e-mail is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this e-mail by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful.
Please note that emails to, from and within RTÉ may be subject to the Freedom
of Information Act 1997 and may be liable to disclosure.
************************************************************

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