[Gllug] routing via a second external IP

John Winters john at sinodun.org.uk
Wed Aug 13 07:03:00 UTC 2008


Alistair Mann wrote:
> John Winters wrote:
>  > Paul Cupis wrote:
> 
>  >>
>  >> # ip route add x.x.x.x/x via y.y.y.y
>  >
>  > Remembering of course to tell your select customers to use the right
>  > IP
>  > address for the new ADSL line - otherwise only half the traffic
>  > (outbound from you) will go down the new line, and if you have NAT
>  > then
>  > it won't work at all.
> 
> NAT works fine with multiple routes, even multiple default routes: I 
> support just such a box being used 'in anger'.
> 
> I suspect you meant that NAT and multiple routes won't work with a mere 
> "ip route add".

No, I meant what I said - that if your traffic is coming in down one
link and going out down another, and one of them is NATed then it won't
work.

John
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list