Scott Dudley wrote:
> 
> Dave,
> 
> Have you or someone else already done so (ip-up mod to auto-bond two
> channels)?  If not, I'll do so this weekend.

Hmmm lemme see. These are from an old linux-router release:

In ip-up
#EQL
eql_enslave eql $1 $3
route add default dev eql

ip-down:
# If there is a default route listed, and no actual route present
# it screws-up everything. This is a safty check when running
# EQL. We don't want to remove the route when another pppd is active
# and using it. We do if there is no other pppd.... 
# Router does not have wc. Changed to length. NOT TESTED!

N=`ls /var/run/ppp* 2>/dev/null| length`
if [ $N = 0 ]; then
        route del default dev eql
fi

It gets a little more complex for multiple out/inbounds to different places.
Also make sure ppp does not add the defaultroute.

-- 
http://www.linkscape.net/       Linkscape Internet Services   732-541-4214
http://www.linuxrouter.org/     Linux Router Project

"If you're going to be stupid, don't be half-ass stupid, be all the way
stupid."

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to