Hello all
I have 3 dsl lines, and use iproute and iptables to manage traffic. Yesterday, i formatted the computer because i had problem with one program: asterisk. Until yesterday, iproute and iptables work wonderfull...
All web traffic on the internal network was redirected to the proxy server with "iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 3128" and all web traffic from the server to internet was marked with "4" with "iptables -t mangle -A OUTPUT -p tcp --dport 80 -j MARK --set-mark 4".
With iproute i caught the mark ("4") with "ip rule add prio 4 fwmark 4 table balance" and the table route balance was: "default nexthop dev ppp1 weight 1 nexthop dev ppp2 weight 1".
Everything worked perfect...
Linux reinstalled (ubuntu jaunty 64 bits and debian lenny 64 bits)... kernel recompiled with ALL network stuff and applied Julias patches.
When i use one route as default in each table all traffic work perfectly, but when i put 2 default routes in one table with "ip route add default table ... nexthop dev ppp1 nexthop dev ppp2" it just stop working... ICMP packets incoming and outgoing work well but all other traffic just dont work neither from server neither from nat network.
ex:
ping to 200.72.1.5 works from server and nat
ping to
www.google.com doesn't work because DNS packet to resolv google.com don't work.
ex:
table main: default route with 1 dsl only
everything work well (server and nat connections)
table main: default route with 2 dsl lines
dont work nothing except ping to xxx.xxx.xxx.xxx
can someone help me?