[Gllug] routing via a second external IP
Paul Cupis
paul at cupis.co.uk
Wed Aug 13 07:57:22 UTC 2008
John Winters wrote:
> 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.
No, but if you have two DSL connections (seperate, each with their own
IP(s), and you route specific traffic (by IP or port) down the second
one (the first being default route), then that traffic will return via
the same connection and thus NAT will work just fine.
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list