From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric B." Subject: Re: iptables -j ROUTE --gw xxxx not working? Date: Tue, 8 Apr 2008 15:20:52 -0400 Message-ID: References: Return-path: Sender: netfilter-owner@vger.kernel.org List-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: netfilter@vger.kernel.org "Jan Engelhardt" wrote in message news:alpine.LNX.1.10.0804082104350.2229@fbirervta.pbzchgretzou.qr... > > On Tuesday 2008-04-08 20:38, Eric B. wrote: >>Hi, >> >>I'm running RHEL4.2 with iptables iptables v1.2.11 from pkg >>iptables-1.2.11-3.1.RHEL4. >> >>I've tried the following command but been told that --gw argument is >>unknown: >> >># iptables -t mangle -I POSTROUTING -j ROUTE --gw 192.168.104.251 >>iptables v1.2.11: Unknown arg `--gw' > > Then you don't have(*) ROUTE. I would not even bother with this > ancient method of policy routing. Nowadays, MARK is used together > with iproute2 to select output routes. I would be more than happy to avoid this ancient method of policy routing. Indeed, I was trying to get MARK to work together with iproute2 to select my output routes and wasn't working, hence I figured I would try something different (see my msg titled Need help understanding how to debug packet traversal) and see if my logic was at least right. I seem to be having a lot of difficulty "seeing" what my packet is doing via iptables/iproute2. Sure enough, I did a quick search for a *.ROUTE.so module and couldn't find anything on my system. Okay - back to the drawing board then.... Thanks for the clarification, Eric