LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Real server linux 2.4

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Real server linux 2.4
Cc: jwolff@xxxxxxxxx
From: Joseph Mack <mack.joseph@xxxxxxx>
Date: Wed, 07 Mar 2001 12:30:00 -0500
jwolff wrote:
> 
> Hi, all
> 
> the 2.4.2 compile fine with the patch,
> but my server answer to ARP, too.

If you are accepting packets on VIP on the real-servers by 
transparent proxy, then there is no ethernet device on the
real-servers with the VIP and there is no arp problem to 
be solved. You do not need to hide the ethernet devices on the
real-server and you don't need to patch the 2.4.x kernel
on the real-servers

> I try:
>         echo 1 >/proc/sys/net/ipv4/conf/default/hidden
>         echo 1 >/proc/sys/net/ipv4/conf/all/hidden
>         echo 1 >/proc/sys/net/ipv4/conf/eth1/hidden
> with no errors.
> 
> But the ARP reply is send every time.
> 
> Have anybody run an real-server with DR and 2.4.x ???

Yes, I have setup a 2 real-server LVS forwarding telnet by VS-DR, 
both real-servers 2.4.1.

The commands on the real-servers to set up TP

echo "1" >/proc/sys/net/ipv4/ip_forward

iptables -t nat -A PREROUTING -d $VIP -p tcp --dport telnet -j REDIRECT

 
> We use 20 web and 15 mysql server with 2.2.x and ipchains
> transparent-proxying, and LVS works fine. Now we like to test the 2.4.x
> ... but what's the way ?

Joe

-- 
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
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>