OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Aaron Freeman (afreemanemprise.net)
Date: Fri Feb 16 2001 - 04:23:47 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    Heya all:

    I'm using a P-166 for dial-up/FW/routing duty to my home LAN with four
    analog modems in a multi-link configuration. At the moment, I have ppp.conf
    set with (among other things):

    <snip>
    .
    clone 1,2,3,4 # create multiple links
    .
    link 1,2,3,4 set mode auto # set all links to autodial on activity
    set autoload 5 1 300 # timer settings: <min%> <max%> <period>
    .
    link deflink remove # any ideas what this line does?
    .
    <etc.>

    Its all working beautifully, except that I would like the system to bring
    all four modems up immediately when any activity occurs, and then leave them
    all up for 30 minutes after the last activity.

    Unfortunately, since PPP's 'set autoload' setting seems to use the *same*
    timer period to both create new links and kill existing links, I'm not sure
    how I can achieve this using ppp.conf settings.

    The settings I'm using at the moment only bring up each sucessive line after
    5 minutes of activity, only to kill it after 5 minutes (300 seconds) of
    inactivity. This would be great for ISDN, but is really frustrating for an
    all-analog setup.

    So, any ideas on how to separate the time-to-connect from the
    time-to-stay-connected?

    PPP throws an error if more than 3 numbers are set in the autoload line...

    Also, what is the 'link deflink remove' line for? The man page mentions it
    in passing and in a config sample, but never explains its purpose or whether
    it is necessary. Confusingly, my system seems to work fine either with or
    without this line.

    Thanks,

    Aaron

    (For those not wishing to consult the PPP man page right this minute, the
    relevant portions is listed below.)

    """
    set autoload (min-percent) (max-percent) (period)

    ...When more than one demand-dial (also known as -auto) mode link is
    available, only the first link is made active when ppp first reads data from
    the tun device. The next demand-dial link will be opened only when the
    current bundle throughput is at least max-percent percent of the total
    bundle bandwidth for period seconds. When the current bundle throughput
    decreases to min-percent percent or less of the total bundle bandwidth for
    period seconds, a demand-dial link will be brought down as long as it's not
    the last active link...
    """