Displaying 1 result from an estimated 1 matches for "external_gateway_ip_2".
2007 Sep 01
13
2 ISP connection sharing problem
...nnection is utilized at a time. Not both working. ratio
of consuming bandwisth between then is around 1:30.
both connections are from dhcp that is dynamic. configuration from 1 ISP
remains same and from 1 changes.
EXTERNAL_IP_2="201.81.219.95"
EXTERNAL_NETWORK_2="201.81.219.0"
EXTERNAL_GATEWAY_IP_2="201.81.219.1"
echo 200 T1 >> /etc/iproute2/rt_tables
echo 201 T2 >> /etc/iproute2/rt_tables
ip route add 192.168.1.0 dev eth1 src 192.168.1.2 table T1
ip route add default via 192.168.1.1 table T1
ip route add $EXTERNAL_NETWORK_2 dev eth2 src $EXTERNAL_IP_2 table T2...