Dear i tried but i didn't get the response from my both modem only single modem data is in use for net surfing.
my configration file is:-
IF1: eth1 (192.168.7.2)
IF2: eth2 (192.168.8.2)
IP1: 192.168.7.2
IP2: 192.168.8.2
P1: 192.168.7.1 (Gatways of 1st Provider Means Modem IP)
P2: 192.168.8.1 (Gatwats if 2bd Provider Means Modem IP)
P1_Net: 192.168.7.2
P2_Net: 192.168.8.2
ip 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
i write all of these lines in /etc/iproute2/rt_tables. i dont know its ok or Not but its not working with this ways.
kindly tell me what i do know...
Aamir
Quote:
Originally Posted by acid_kewpie
Well that lartc chapter gives you the right information. we aren't just going to recite it all. Where did you come unstuck? What worked, what didn't? you need to learn to help yourself if you want us to help you aswell.
|