LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

LVS-DR with kernel 2.6 realserver

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: LVS-DR with kernel 2.6 realserver
From: Ric Searle <ric@xxxxxxxxxxxxxx>
Date: Tue, 16 Mar 2004 09:34:47 +0000
Hi,

I have a simple LVS setup, where my directors and realservers are all running Slackware 9.1 with kernel 2.6.4.

I have assigned the virtual IP to the realservers' lo:0 interface, and I have set the arp_ignore flag on this interface:

    lo:0      Link encap:Local Loopback
              inet addr:82.115.225.254  Mask:255.255.255.255
              UP LOOPBACK RUNNING  MTU:16436  Metric:1

I need to add a static route, so that the realservers answer requests to the VIP locally. Normally i would use:

    route add -host 82.115.225.254 dev lo:0

But I get:

    SIOCADDRT: Invalid argument

(if I replace lo:0 with lo, it works fine)

Any help would be appreciated!

Ric Searle
--
Dialogue Communications Ltd
http://www.dialogue.co.uk

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