i started nat :

[root@router /root]# ip route add nat 193.172.72.201 via 192.9.200.108 
table local
[root@router /root]# ip rule add from 192.9.200.108 nat 193.172.72.201 
table main

Now i want to see this nat in ip rule/route (so i can delete unused ones)

now :
[root@router /root]# ip rule
0:      from all lookup local 
32765:  from 192.9.200.108 lookup main map-to 193.172.72.201 
32766:  from all lookup main 
32767:  from all lookup 253 
gives nice the rule that i can erase

but ip route gives nothing from this nat (only default routes)
is there some way i can see them ?
(or a way to erase all nat's ?)


-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to