Routing from a box behind two NAT''ing routers

Leonardo Balliache
2002-05-22T11:52:13Z

Hi,

iproute2 has a command that perhaps could help you.

ip route add default scope global equalize nexthop dev ppp0 \
nexthop dev ppp1

(actually if you know peer addresses of ppp* use it instead).

I''ve never tried with it but it´s a possibility.

You have to have two NIC in your web server; replace ppp0 and ppp1 with
eth0 and eth1. Also have a look to Alexey iproute2 because he says that
this command equalize load through the 2 NIC. Connect each NIC to each
incoming line using 2 different address space.

Give a feedback telling us your experiences.

Best regards,

Leonardo Balliache