LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: lvs_dr default gateway problem

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>, ratz@xxxxxx
Subject: Re: lvs_dr default gateway problem
From: Joseph Mack <mack.joseph@xxxxxxx>
Date: Wed, 12 Nov 2003 14:53:27 -0500
Roberto Nibali wrote:
> 


> Well, in which table does it exist? I looks like the 3-Tier_rules is in the
> filter table and thus cannot be jumped at. Test on my local system:
> 
> ld00:~# iptables --version
> iptables v1.2.9
> ld00:~# iptables -t mangle -N 3-Tier_rules


> Works like a charm. Could you check if the script always specifies the table
> with '-t' or if the author just assumed that if you don't specify it that it
> will be the correct table?

G'dai Ratz,

        I'm the author. I got it to work without the "-t mangle" in the line 
above
and didn't know that it was needed. Are you saying it has to be there or only
needs to be there if you're unlucky, like Jan was (in which case I'll add it).
 
> <bitching ahead>
> IMHO this is one of the most braindead features of the iptables command line
> parser, which is to allow the user to drop the '-t filter' if you handle the
> filter table. It's so extremely anti-structured-programming-like that it hurts
> my head every time I have to write a shell script for iptables ;).
> </bitching ahead>

hey, iproute2 is just the same :-)

Joe
-- 
Joseph Mack PhD, High Performance Computing & Scientific Visualization
SAIC, Supporting the EPA Research Triangle Park, NC 919-541-0007
Federal Contact - John B. Smith 919-541-1087 - smith.johnb@xxxxxxx
<Prev in Thread] Current Thread [Next in Thread>