LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Two box lvs with UltrMonkey LO problem

To: "'LinuxVirtualServer.org users mailing list.'" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Two box lvs with UltrMonkey LO problem
From: "Cyrus" <cyrus@xxxxxxxxxxxxxxxx>
Date: Tue, 30 Mar 2010 14:11:39 +0100
Hello Leon,

That works perfectly. Thank you very much for this.
I still have trouble configuring the loadbalancing but I shall play around with 
it until it works.

Kind regards,

Cyrus

-----Original Message-----
From: lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx 
[mailto:lvs-users-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of L.S. Keijser
Sent: 29 March 2010 06:31
To: LinuxVirtualServer.org users mailing list.
Subject: Re: [lvs-users] Two box lvs with UltrMonkey LO problem

On Sun, 2010-03-28 at 14:28 +0100, Cyrus wrote:
> That's what I try and do.
> I edit the /etc/sysconfig/network-scripts/ifcfg-lo:0 file and add the VIP
> (174.121.60.28) as the IP address.
> 
> DEVICE=lo:0
> IPADDR=174.121.60.28
> NETMASK=255.255.255.248
> ONBOOT=yes
> NAME=loopback

If you configure the loopback adapter like this. RedHat's network
scripts will always send an arp broadcast first, which is exactly what
you don't want. Instead, put something like this in your /etc/rc.local
file:

# solve the ARP problem
echo 1 > /proc/sys/net/ipv4/conf/lo/arp_ignore
echo 1 > /proc/sys/net/ipv4/conf/eth0/arp_ignore
echo 2 > /proc/sys/net/ipv4/conf/lo/arp_announce
echo 2 > /proc/sys/net/ipv4/conf/eth0/arp_announce

# Bring up loopback interface
ifconfig lo:0 174.121.60.28 broadcast 174.121.60.28 netmask 0xffffffff
up

# Make sure traffic destined for the VIP gets handled by the loopback
adapter
route add -host 174.121.60.28 device lo:0



-- 
L�on


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>