[LARTC] 2 gateways - routing based in source address

Marek Kierdelewicz marek at piasta.pl
Mon May 28 17:11:32 CEST 2007


>Hello,
 

>I don't have IP on this ranges in my linux box. There is another router
>under my linux box in my topology. But this customers arrives in my
>eth2 interface. I make SNAT fort his networks in my linux box.
>...
 
What you need is simple source address based policy routing as
described here:
http://lartc.org/howto/lartc.rpdb.html

Example on lartc howto is pretty straightforward. Many inpolite
people would even say "RTFM".

pozdrawiam,
Marek Kierdelewicz
KoBa ISP


More information about the LARTC mailing list