I personally would recommend using the dummy interface instead of loopback. I
always had trouble with lo.
Michael
-----Original Message-----
From: Oliver Rojo [mailto:oliver.rojo@xxxxxxxxx]
Sent: Thursday, June 19, 2008 3:56 PM
To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] VIP Loopback on CentOS-5
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?
|