/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting!
/* ALSO: Don't quote this header. It makes you look lame :-) */
Ingmar Hartl wrote:
> Hi,
> I sucessfully set up a NAT adress translation with iproute2.
> I used the commands:
>
> ip route add nat a.b.c.d via e.f.g.h
> ip rule add prio 320 from e.f.g.h nat a.b.c.d
>
> My problem: Is there any tool, which allows me to test the existance
> of this NAT translation? I need this for a script.
> According to the manual
>
> ip route get a.b.c.d from e.f.g.h
> should work, but I get the error message
> RTNETLINK answers: Invalid argument
>
> What do I wrong? Is there any other tool to check the existance of a NAT
> translation? The only way to check it for now is the ip rule show command,
> but this gives me only the rule list and not the routing.
>
> Thanks for your help!
>
> Ingmar.
ip route show
raf
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ --
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]
PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.