Displaying 1 result from an estimated 1 matches for "cidr1".
Did you mean:
cidr
2003 Apr 08
0
Using iproute2 to bond two Internet lines for a webserver.
....400 with gateway 6.7.8.9 and 1.2.3.4 with gateway 6.7.8.9. (We
are allocated two IPs from the same subnet.) So far I have:
...
# setup our routes to our gateways
ip route add $GW1 src $IP1 dev $IF1
ip route add $GW2 src $IP2 dev $IF2
# setup interface specific routing tables
ip route add $NET1/$CIDR1 dev $IF1 table 200
ip route add default via $GW1 dev $IF1 table $TABLE1
ip route add $NET2/$CIDR2 dev $IF2 table 100
ip route add default via $GW2 dev $IF2 table $TABLE2
# create a default route with a multipath route
ip route add default scope global nexthop via $GW1 \...