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: Joseph Mack <mack.joseph@xxxxxxx>
Date: Fri, 01 Nov 2002 07:32:33 -0500
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

-- 
Joseph Mack PhD, Senior Systems Engineer, SAIC contractor 
to the National Environmental Supercomputer Center, 
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA


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