LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] ipchains REDIRECT approach to get around the arp problem

To: Doug Bagley <doug@xxxxxxxx>
Subject: Re: [lvs-users] ipchains REDIRECT approach to get around the arp problem
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Wensong Zhang <wensong@xxxxxxxxxxxx>
Date: Mon, 14 Feb 2000 01:05:57 +0800
Doug Bagley wrote:
> 
> From:
>   http://www.linux-vs.org/arp.html
> 
> It doesn't mention that you need to have forwarding turned on for the
> REDIRECT to work, (at least I had to turn it on to get it to work for
> me).
> 
> on the real server I had to do this:
> 
>   ipchains -A input -j REDIRECT -d <VIP> -p tcp
>   echo 1 > /proc/sys/net/ipv4/conf/eth0/forwarding
> 

Well, I remeber that the ip_forward is setup in the examples of
LVS/TUN or LVS/TUN web pages. Once that 'echo 1 >
/proc/sys/net/ipv4/ip_forwarding' is set,
/proc/sys/net/ipv4/conf/eth0/forwarding is set up too.

Thanks anyway,

Wensong

> It might help if that page mentions that.
> 
> Cheers,
> Doug
> 
> ----------------------------------------------------------------------
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe, e-mail: lvs-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
> For additional commands, e-mail: lvs-users-help@xxxxxxxxxxxxxxxxxxxxxx

----------------------------------------------------------------------
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
To unsubscribe, e-mail: lvs-users-unsubscribe@xxxxxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: lvs-users-help@xxxxxxxxxxxxxxxxxxxxxx

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