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

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

 



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.


(*) The reason it does not display an error is deeper design problem
in iptables. Reason being that it cannot tell beforehand if ROUTE is
a chain or an actual target, and as such, failure to load a target
extension is considered normal until the tables are actually going to
be committed.
--
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