LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] VIP Loopback on CentOS-5

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] VIP Loopback on CentOS-5
From: "Oliver Rojo" <oliver.rojo@xxxxxxxxx>
Date: Fri, 20 Jun 2008 05:55:59 +0800
Hi!

I'm trying to setup Coyote LB on top of two real servers running CentOS-5,
therefore I need to configure VIP loopback on both.

I have put in below lines on /etc/sysctl.conf

net.ipv4.conf.eth0.arp_ignore = 1
net.ipv4.conf.eth0.arp_announce = 2
net.ipv4.conf.all.arp_ignore = 1
net.ipv4.conf.all.arp_announce = 2
net.ipv4.ip_forward = 1

On primary server, I configured my VIP loopback on eth0:0 as:

DEVICE=eth0:0
IPADDR=192.168.200.205
NETMASK=255.255.255.0
NETWORK=192.168.200.0
BROADCAST=192.168.200.255
ONBOOT=yes

On my secondary server, I configured my VIP loopback on lo:0 as

DEVICE=lo:0
IPADDR=192.168.200.205
NETMASK=255.255.255.0
NETWORK=192.168.200.0
BROADCAST=192.168.200.255
ONBOOT=yes
NAME=loopback

But whenever I reload network services, my secondary server recognizes
existing VIP loopback 192.168.200.205 on master server.

Any hints on what I missed?

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