Looking for Simple Instructions
Roberto Nibali
ratz at drugphish.ch
Mon Nov 13 10:26:17 GMT 2006
>>> On Director:
>>> net.ipv4.conf.default.rp_filter = 1
>>
>> You should disable rp_filter.
>
> Done. I set the above line to 0 and re-ran "sysctl -p"
All rp_filter settings must be 0, setting the default to 0 has no impact
on the running system. You must also set it to 0 for eth1 and/or all:
for i in /proc/sys/net/ipv4/conf/*/rp_filter; do
echo "Setting 0 to $i";
echo 0 > $i
done
Or I guess you add the relevant lines into your /etc/sysctl.conf.
>> Also check your kernel messages, e.g. the dropped packets from the
>> reverse path filtering go there if log_martians is enabled.
>
> I enabled log_martians and I ran "tail -f /var/log/messages" and
> "tail -f /var/log/dmesg" on all 3 machines while attempting another
> telnet and nothing appeared in any of the 6 logs.
You've mentioned that ip_forward is 1 on the director, however I've just
seen that in your output it's set to 0. So what's the case now? From
what I remember though, it does not matter in kernels past 2.4. In 2.2
and earlier days ip_forward had to be 1.
>> Ok, so packets are dropped at the director.
>
> Any ideas on why they are being dropped and not forwarded onto the
> RS's?
I suspect rp_filter so far.
HTH,
Roberto Nibali, ratz
--
echo
'[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc
Search lvs-users Archives
More information about the lvs-users
mailing list