LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: arp problem with fwmark or router with 2 NIC

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: arp problem with fwmark or router with 2 NIC
From: Leonard Soetedjo <Leonard@xxxxxxxxxx>
Date: Tue, 5 Nov 2002 15:38:11 +0800
On Friday 01 November 2002 20:32, Joseph Mack wrote:
> Leonard Soetedjo wrote:
> > Hi,
> >
> > >From the HOWTO chapter 4, one of the method is to use fwmark to solve
> > > the arp
> >
> > problem.  But in that chapter and the fwmark chapter (8), I can't find on
> > how to do that.
> >
> > I also found this statement:
> > "Alternately if the router has several NICs, use one for the director and
> > another for the realservers. Route the VIP to the director."
> >
> > Does this mean that I just run "ip route add VIP dev eth0" where eth0 is
> > connected to the director, and eth1 is connected to the hub to the
> > realservers?
>
> yes
>
> > I would have no problem if it's as above, rather than patching all the
> > realservers...  But is there any downside to using this method?
>
> no.
>
> what you need to accomplish is to make sure that when the router says "who
> has VIP, tell router", that the router doesn't get any packets back from
> the realservers.
>
> Joe

But since the realservers are not hiding the VIP, then they will discover that 
their peers are having the same IP address?


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