hi all,
i wann to create my linux router as a load balancing divice mean i have two isp and i wann both on a singal linux router and masqurade them with my local network, i have three lan card two for wan and one for lan, i have create some rules but it's not working i am showing this all rules below

IF0=eth0
IF1=eth1
IF2=eth2
IP1=192.168.1.2
IP2=61.246.243.86
P1=192.168.1.1
P2=61.246.243.81
P1_NET=192.168.1.0/24
P2_NET=61.246.243.0/28
P0_NET=10.10.0.0/16

p route add $P1_NET dev $IF1 src $IP1 table T1
ip route add default via $P1 table T1
ip route add $P2_NET dev $IF2 src $IP2 table T2
ip route add default via $P2 table T2

ip route add $P1_NET dev $IF1 src $IP1
ip route add $P2_NET dev $IF2 src $IP2

ip route add default via $P1

ip rule add from $IP1 table T1
ip rule add from $IP2 table T2

ip route add $P0_NET dev $IF0 table T1
ip route add $P2_NET dev $IF2 table T1
ip route add 127.0.0.0/8 dev lo table T1
ip route add $P0_NET dev $IF0 table T2
ip route add $P1_NET dev $IF1 table T2
ip route add 127.0.0.0/8 dev lo table T2

ip route add default scope global nexthop via $P1 dev $IF1 weight 1 nexthop via $P2 dev $IF2 weight 1

echo 1 > /proc/sys/net/ipv4/ip_forward

######################## Flust all chains ##################################
/sbin/iptables -F FORWARD
/sbin/iptables -F OUTPUT
/sbin/iptables -F INPUT
/sbin/iptables -F -t nat
/sbin/iptables -F -t mangle

####################### Set the default policy #############################

/sbin/iptables -P INPUT ACCEPT
/sbin/iptables -P OUTPUT ACCEPT
/sbin/iptables -P FORWARD ACCEPT


/sbin/iptables -t nat -A POSTROUTING -j MASQUERADE

when i apply this rules it's only work on gatway one (i.e. 192.168.1.1 on eth1) and i wann to work on both isp on same time with my local network so plz help me out.