Re: iptables -j ROUTE --gw xxxx not working?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Jan Engelhardt" <jengelh@xxxxxxxxxxxxxxx> wrote in message 
news:alpine.LNX.1.10.0804082104350.2229@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> 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



--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux