Здравствуйте. У меня такая проблема. У всех, кто подключен по pppoe идут потери в инет до 20 %, pptp до 5 %, а вот если подключиться через L2 всё работает нормально.
radius.log
Fri Nov 9 08:59:27 2012 : Info: rlm_sql (sql): There are no DB handles to use! skipped 0, tried to connect 0
Fri Nov 9 08:59:27 2012 : Info: rlm_sql (sql): There are no DB handles to use! skipped 0, tried to connect 0
Fri Nov 9 08:59:27 2012 : Info: rlm_sql (sql): There are no DB handles to use! skipped 0, tried to connect 0
uname -a
FreeBSD hulk.kit.dn.ua 8.3-RELEASE-p4 FreeBSD 8.3-RELEASE-p4 #5: Thu Oct 25 12:43:16 EEST 2012 semant@hulk.kit.dn.ua:/usr/obj/usr/src/sys/HULK amd64
mpd.conf
startup:
set user admin passwd_mpd
set console self 127.0.0.1 5005
set console open
set web self 0.0.0.0 5006
set web open
default:
load pptp_server
load pppoe_server
pptp_server:
create bundle template C
set iface enable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
set ipcp yes vjcomp
set ipcp ranges 92.242.103.172/32 127.0.0.2/32
set ipcp dns 10.13.0.1 195.184.192.12
set bundle enable compression
set ccp yes mppc
set mppc yes e40
set mppc yes e128
set mppc yes stateless
create link template C1 pptp
set link action bundle C
set link enable multilink
set link yes acfcomp protocomp
set link no pap chap
set link enable chap pap
load radius
set link keep-alive 10 60
set link mtu 1460
set link enable incoming
pppoe_server:
create bundle template B
set ipcp ranges 92.242.103.172/32 127.0.0.2/32
set ipcp dns 10.13.0.1 195.184.192.12
set iface idle 0
set iface enable proxy-arp
set iface enable tcpmssfix
set ccp yes mppc
set mppc yes e40
set mppc yes e56
set mppc yes e128
set mppc yes stateless
set mppc yes compress
set ecp disable dese-bis dese-old
log *
create link template common pppoe
set link enable multilink
set link action bundle B
set link disable chap pap eap
set link enable pap
set link mtu 1460
set link mru 1460
load radius
set pppoe service "*"
create link template em0 common
set link max-children 1000
set pppoe iface em0
set auth max-logins 1
set auth timeout 60
set link enable peer-as-calling
set link enable incoming
radius:
set radius server localhost passwd_radius 1812 1813
set radius retries 1
set radius timeout 3
set radius me 127.0.0.1
set auth acct-update 45
set auth enable radius-auth
set auth enable radius-acct
set radius enable message-authentic