Jacob,

Could you use the following instead:

# iptables -t nat -A PREROUTING -i eth3 -d 1.1.1.1/24 -j DNAT \
> --to-destination ip.ad.dr.es

It circumvents the problem you are trying to avoid, I think.

-Martin

 : I want to  do something like this:
 : 
 : ip addr add 1.1.1.1/24 brd + dev eth3 scope link  table my_table
 : 
 : so that
 : 1. Direct route  1.1.1.1/24 should go to table my_table.
 : 2. Address 1.1.1.1 should be recognizes as a local only for packets received on dev 
 :eth3.
 : 
 : Any suggestions ?
 : Thanks
 : - Jacob
 : 
 : 
 : 
 : 
 : 
 : _______________________________________________
 : LARTC mailing list / [EMAIL PROTECTED]
 : http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
 : 

-- 
Martin A. Brown --- SecurePipe, Inc. --- [EMAIL PROTECTED]



_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to