George Vieira was once rumoured to have said:

> IPROUTE can change the source address and supports route depending
> on source but I have problems when using the default route. I've
> been following the instructions from the Sys Admin magazine about a
> year or so old now and explained alot about it but their examples
> were a 3-4 way network and neither routed to the internet with a
> different source.  BUT, they did route to other internal network
> with a different source address so it appears it's capable of it.

Yes, because iproute is for policy routing, its not a fixall for
source NAT.
 
> I've even done it for our router which the linux box and router are both on
> a 192.168.10.1 and .2 address and the linux box responds as 203.x.x.x which
> worked when I tracerouted it from home because it appeared in the traceroute
> as 192.168.10.1 which I didn't like..

Yet again, use iptables NAT.

Netfilter's NAT system was rewritten from the grounds up and is vastly
superior to the older IP Masq system.

C.
-- 
--==============================================--
  Crossfire      | This email was brought to you
  [EMAIL PROTECTED] | on 100% Recycled Electrons
--==============================================--

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to