LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: LVS-DR with kernel 2.6 realserver

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: LVS-DR with kernel 2.6 realserver
From: kwijibo@xxxxxxxxxx
Date: Fri, 19 Mar 2004 10:12:17 -0700
Hello,

I seem to be having somewhat of a similiar problem with this as
well.  I set a real IP on the loopback interface like so:

/sbin/ip addr add xxx.xxx.xxx.xxx/32 dev lo brd + scope host

then set the following

echo '2' > /proc/sys/net/ipv4/conf/lo/arp_announce
echo '1' > /proc/sys/net/ipv4/conf/lo/arp_ignore

However I still get ARPs for this IP.  Is there something I am missing
here?  I am trying to accomplish this on a Debian distro on a sparc64
with 2.6.4 kernel.

Btw, I was previously trying this with lo:0 as well :). Thanks for the heads
up that this is deprecated.

Steve


Joseph Mack wrote:

Ric Searle wrote:
Hi,

I have assigned the virtual IP to the realservers' lo:0 interface,

aliases (eg lo:0) have been deprecated since 2.4. There has been compatibility
maintained in 2.4, but I would not be surprised if it has been dropped in
2.6. I would expect that you should use
# ip addr add 82.115.225.254 brd 82.115.225.254 dev lo

    route add -host 82.115.225.254 dev lo:0

But I get:

    SIOCADDRT: Invalid argument

route/iptables etc doesn't know anything about lo:0

Joe


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