OK nima,
(assuming you are using redhat and have all connections established)
first - go to the console and do the following :
check all interfaces : ifconfig -a
you should see you have 2 ppp connection : ppp0 and ppp1
check the route your machine has : netstat -rn
you should see something like this :
Code:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
since i dont have dial interface (ppp) the we assume eth0=ppp0 and eth1=ppp1.
you see that we only have 1 default route via dev eth1
adding another default route :
Code:
route add default gw 192.168.1.1 dev eth0
then we will have :
Code:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
this way - your linux box will automatically load balance passing traffic to the internet. you can check that using ifconfig again - see the TX and RX value - you should see they will both change.
HTH.