Johan Isacsson wrote:
>
> I'm trying to figure this out. I'm reading in the Howto
> (http://www.linuxvirtualserver.org/Joseph.Mack/HOWTO/LVS-HOWTO_1.0-12.html#s
> s12.2) about the TP (or Horm's) method.
>
> Will this work with 2.4 kernels or not?
yes
> In the howto is says:
> "Horms' method requires all real-servers to be Linux 2.2.x machines with IP
> masquerading, transparent proxing and IP firewalls turned on. In 2.4.x, TP
> is part of the kernel build, there is no TP option."
>
> This isn't clear to me :P
yes, I agree, the TP section is terrible, I'm rewriting it as we speak
> If it means what i think it means, that you don't need to activate those
> options for the 2.4 kernel since they are already in,
yes, I've already fixed it.
then replace ", there
> is no TP option" with ", so TP will work without any modifications to the
> kernel" or something like that maybe?
> It might be just me that's a bit slow here, but it would be less confusing.
no, the problem is with the HOWTO. There's not much about 2.4 in the HOWTO yet
and in many places I just talk about the kernel without giving version numbers.
This just means I haven't written a 2.4 section yet and the info refers to the
2.2
kernels.
> Further down in the instructions for the rc.horms script:
> "#2. Real-servers: Must be running 2.2.x kernel."
> Well, this is clear, but is it right?
that's the script for the 2.2.x kernels (I've made that clearer too).
I haven't done transparent proxy for 2.4.x kernels yet, but I believe
the command will be something like
iptables -t nat -A PREROUTING -p tcp -d $VIP --dport $service --sport $service
-j REDIRECT
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
|