Hello,
i have 2 Internet Connections:
1. SDSL - 2,3 MBit static IP (eth0)
IP: 63.29.166.1 GW: 63.29.148.50
2. ADSL - 768/128 KBit dynamic IP (ppp0)
IP: 213.23.45.204 P-t-P:145.253.1.196
I want everything that comes in over eth0 (http/smtp) go out over eth0, and
erverything that comes from ppp0 go out over ppp0. Is it possible to do
this?
I have tried it with:
# Setup source IP routing rules for SDSL (eth0)
ip rule add from 63.29.166.1 lookup 1
ip route add 0/0 via 63.29.148.50 table 1
# Setup source IP routing rules for ADSL (ppp0)
ip rule add from 213.23.45.204 lookup 2
ip route add 0/0 via 145.253.1.196 table 2
But it doesnt work.
Can i do load balancing with the 2 Internet connections ?
How can i do this? I have read the Linux Advanced routing howto but can`t
get it to work...