LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] dr mode public ip

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [lvs-users] dr mode public ip
From: "L.S. Keijser" <leon@xxxxxxxx>
Date: Fri, 03 Jun 2011 20:46:24 +0200
On Fri, 2011-06-03 at 11:17 +0000, Sharif Uddin wrote:
> how do i go around  so that all the traffic from public ip get sent to 
> vip? i have tried many different iptables rules, which i appleid on lb1 
> none of which worked :s

Why don't you make the VIP your public IP? Then, change all the
realserver's loopback device's IP (the one you created) to the VIP. You
don't need iptables rules for LVS-DR.


> I am a newbie.

Then make sure you read the HOWTO. Especially this part:

http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.LVS-DR.html

and:

http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.arp_problem.html


regards,

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
<Prev in Thread] Current Thread [Next in Thread>