Date: Thu, 21 Sep 2000 01:43:17 +0400 From: "Michael Kuzmin" <kuzmin@laser.ru> To: <freebsd-net@freebsd.org> Subject: Dying multi-link PPP Message-ID: <003801c0234c$1f7c4b60$1e0657c2@w9g8j7>
next in thread | raw e-mail | index | archive | help
Our configuration is fairly standard, user-ppp with two modems and MP
enabled at both sides of the channel (see ppp.conf below), the only
pecularity is frequent redials due to telco (30 min call limit). It always
works OK after reload and initial connects, but subsequent modem redials
amont to accumulation of problems and performance degradation with
unavoidable death in several hours.
The usual final (dead) state of the channel is an infinite series of short
connects each with LCP RecvTerminateReq in 15 sec after successful
authorization and lcp -> open. The origin of this dead state could be
tentitavely traced to simultaneous redial of both modem links, at that
moment old ppp master at answering side exits and all new ppp processes born
after that seems to unable to continue...
This picture appeared to be rather generic: we tried dialing from both
sides, -ddial and -auto modes, answering directly by ppp and through
mgetty, many other options - nothing helped... One-link variant (MP
disabled) always works without problems arbitrary long. Any ideas as to
possible reason of our problems are greately welcome.
We already installed mpd and are going to get it a try shortly.
Can anybody advise me which one (user-ppp or mpd) is a better choise in our
case?
Thanks,
Sincerely yours,
Michael Kuzmin,
LASERnet
________________________
ppp.conf's at both sides of the channel are almost identical, below is
config from answering side, it is started from mgetty by
ppp -direct mpd
Dialing ppp is started by
ppp -auto mp
Its config differs in minor details: different authname (ata), phone
numbers, and no add default.
________________________
default:
accept dns
accept lqr
enable lqr
enable pap
set log Command Connect Chat ID0 Phase TUN LCP IPCP CCP
set speed 115200
# Dial-out to ata over cuaa1, dummy entry
_cuaa1_:
set device /dev/cuaa1
set dial "ABORT RING ABORT BUSY TIMEOUT 4 \"\" ATZ2 OK ATM1L2E0 OK ATS7=90
OK \\dATDP\\T TIMEOUT 85 CONNECT"
set phone 8,,,09732190
# Dial-out to ata over cuaa2, dummy entry
_cuaa2_:
set device /dev/cuaa2
set dial "ABORT NO\\sDIAL\\sTONE ABORT BUSY TIMEOUT 4 \"\" ATZ OK
AT&F1M1L1E0*M34=-50#Line=1 OK AT*MSF+128 OK ATS7=90 OK \\dATDP\\T TIMEOUT 85
CONNECT"
set phone 8W09732191
# Multi-link (direct mode)
mpd:
disable vjcomp
enable keep-session
set authname atd
set authkey ********
set server +3000 *******
set timeout 600
set urgent none
set mrru 1500
set mru 1504
# Multi-link (dial-out)
mp:
set ifaddr 195.209.192.1 195.209.192.2
set login "TIMEOUT 30 ogin:--ogin: atd"
set reconnect 1 60
set redial 3.1 60
add default HISADDR
load mpd
clone 1,2
link deflink remove
link * set mode auto
link 1 load _cuaa2_
link 2 load _cuaa1_
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003801c0234c$1f7c4b60$1e0657c2>
