Displaying 1 result from an estimated 1 matches for "publicgw2".
Did you mean:
publicgw1
2005 Feb 01
0
multiple uplinks example script
...e problem is, when connection 1. use different uplink then connection 2.
Those icq related rules below corrected the problem.
My script:
IF0=eth2
IF1=eth1
IF2=eth3
IF3=eth0
P0_NET=192.168.1.0/24
P1_NET=public1
P2_NET=public2
IP0=192.168.1.254
IP1=publicip1
IP2=publicip1
#gateway
P1=publicgw1
P2=publicgw2
#table
T1=211
T2=212
T3=222
IP=/sbin/ip
# Delete everything
#$IP route flush cache
$IP route flush all
$IP route flush all table $T1
$IP route flush all table $T2
$IP route flush all table $T3
#icq rules
$IP rule delete prio 48 to 205.188.0.0/16 table $T1
$IP rule delete prio 49 to 64.12.161.15...