Здравствуйте. Столкнулись с такой же проблемой - не ограничивается исходящая от абонента скорость. Обновиться тоже не можем, последняя рабочая версия - 1.10.1, на 1.10.2 возникает ошибка error: ipoeXXX: can't determine router address:
![](data:image/gif;base64,R0lGODlhCQAJAMQfAIqZyoGSxv3+/trl84CQxYCRxn6PxMXQ7efq9H+Pwtnk8oKTxoCQxKy44QAAANvl9rvG6fD5/o2by4GRxvb8//v9//7+/ubw+v39/ouayoKSxoOTx/7+/wwMDP///////yH5BAEAAB8ALAAAAAAJAAkAAAU84AdoGkNmX4Z4HldRirSxXMdF1zK7nXU9mk2t4+h0BIlNhWPpYTCBDQXXwRwggczgJ8BAGhLRZGIoEFAhADs=)
Спойлер
Code: Select all
[2016-04-14 12:38:56]: error: ipoe0: can't determine router address
[2016-04-14 12:38:56]: info: ipoe0: ipoe: session finished
[2016-04-14 12:38:56]: info: ipoe3: recv [RADIUS(1) Access-Accept id=1 <Acct-Interim-Interval 300> <Filter-Id "40000/40000"> <Filter-Id "1,100000/100000"> <Filter-Id "3,0/0"> <Filter-Id "2,40000/40000"> <L4-Redirect-ipset "active">]
[2016-04-14 12:38:56]: info: ipoe3: 172.16.132.34: authentication succeeded
[2016-04-14 12:38:56]: info: ipoe62: create interface ipoe62 parent bond0.3521[2016-04-14 12:38:56]: info: ipoe62: send [RADIUS(1) Access-Request id=1 <User-Name "172.16.132.80"> <NAS-Identifier "edinos"> <NAS-IP-Address 127.0.0.1> <NAS-Port 76647> <NAS-Port-Id "ipoe62"> <NAS-Port-Type Ethernet> <Calling-Station-Id "9c:4e:20:f0:79:42"> <Called-Station-Id "bond0.3521"> <Framed-IP-Address 172.16.132.80> <User-Password >]
[2016-04-14 12:38:56]: error: ipoe3: can't determine router address
[2016-04-14 12:38:56]: error: ipoe1: can't determine router address
[2016-04-14 12:38:56]: info: ipoe3: ipoe: session finished
[2016-04-14 12:38:56]: info: ipoe1: ipoe: session finished
[2016-04-14 12:38:56]: info: ipoe9: recv [RADIUS(1) Access-Accept id=1 <Acct-Interim-Interval 300> <Filter-Id "20000/20000"> <Filter-Id "1,20000/20000"> <Filter-Id "3,0/0"> <Filter-Id "2,20000/20000"> <L4-Redirect-ipset "active">]
[2016-04-14 12:38:56]: info: ipoe9: 172.16.132.56: authentication succeeded
[2016-04-14 12:38:56]: error: ipoe9: can't determine router address
[2016-04-14 12:38:56]: info: ipoe9: ipoe: session finished
[2016-04-14 12:38:56]: info: ipoe8: recv [RADIUS(1) Access-Accept id=1 <Acct-Interim-Interval 300> <Filter-Id "10000/10000"> <L4-Redirect-ipset "active">]
[2016-04-14 12:38:56]: info: ipoe8: 172.16.128.179: authentication succeeded
[2016-04-14 12:38:56]: error: ipoe8: can't determine router address
[2016-04-14 12:38:56]: info: ipoe8: ipoe: session finished
Ошибка " can't determine router address" возникает в ветке кода для обработки dhcpv4, как я понимаю (не программист), но у нас другой тип авторизации (IPoE, mode=up, абонент за маршрутизатором).
Вот рабочий конфиг. Работает на 1.10.1
![](data:image/gif;base64,R0lGODlhCQAJAMQfAIqZyoGSxv3+/trl84CQxYCRxn6PxMXQ7efq9H+Pwtnk8oKTxoCQxKy44QAAANvl9rvG6fD5/o2by4GRxvb8//v9//7+/ubw+v39/ouayoKSxoOTx/7+/wwMDP///////yH5BAEAAB8ALAAAAAAJAAkAAAU84AdoGkNmX4Z4HldRirSxXMdF1zK7nXU9mk2t4+h0BIlNhWPpYTCBDQXXwRwggczgJ8BAGhLRZGIoEFAhADs=)
Спойлер
Code: Select all
[modules]
log_file
ipoe
radius
sigchld
shaper
[core]
log-error=/var/log/accel-ppp/core.log
thread-count=4
[common]
#single-session=replace
#sid-case=upper
#sid-source=seq
[ppp]
verbose=1
min-mtu=1280
mtu=1472
mru=1472
ipv4=require
ipv6=deny
lcp-echo-interval=10
lcp-echo-failure=3
lcp-echo-timeout=45
#unit-cache=1
[auth]
[pptp]
#verbose=1
#echo-interval=30
[pppoe]
verbose=3
ac-name=edinos
service-name=edinos
##pado-delay=0
##pado-delay=0,100:100,200:200,-1:500
#called-sid=mac
##tr101=1
##padi-limit=0
##ip-pool=pppoe
##interface=eth1,padi-limit=1000
##sid-uppercase=0
interface=eth2.3233
interface=eth3
[ipoe]
verbose=4
lease-time=600
max-lease-time=3600
l4-redirect-on-reject=300
l4-redirect-table=10
proto=100
shared=1
ifcfg=0
mode=L3
start=up
local-net=172.16.128.0/22
local-net=172.16.132.0/22
local-net=172.16.136.0/22
local-net=172.16.21.0/24
local-net=172.16.222.0/24
idle-timeout=3600
session-timeout=86400
interface=bond0.3472
interface=bond0.3471
interface=bond0.3521
interface=bond0.3337
interface=bond0.3233
[dns]
dns1=5.129.188.1
dns2=8.8.8.8
[wins]
[radius]
dictionary=/usr/local/share/accel-ppp/radius/dictionary
nas-identifier=edinos
nas-ip-address=127.0.0.1
gw-ip-address=10.1.1.1
server=127.0.0.1,SECRET,auth-port=1812,acct-port=1813,req-limit=0,fail-time=0
dae-server=127.0.0.1:37990,SECRET
verbose=3
timeout=2
max-try=2
acct-timeout=120
acct-delay-time=0
acct-on=0
#attr-tunnel-type=My-Tunnel-Type
[client-ip-range]
#0.0.0.0/0
[ip-pool]
gw-ip-address=10.1.1.1
##vendor=Cisco
##attr=Cisco-AVPair
#attr=Framed-Pool
#192.168.0.2-255
#192.168.1.1-255,name=pool1
#192.168.2.1-255,name=pool2
#192.168.3.1-255,name=pool3
#192.168.4.0/24
[log]
log-file=/var/log/accel-ppp/accel-ppp.log
log-emerg=/var/log/accel-ppp/emerg.log
log-fail-file=/var/log/accel-ppp/auth-fail.log
#log-debug=/dev/stdout
#syslog=accel-pppd,daemon
#log-tcp=127.0.0.1:3000
copy=1
#color=1
#per-user-dir=per_user
#per-session-dir=per_session
#per-session=1
level=4
[log-pgsql]
conninfo=user=log
log-table=log
[pppd-compat]
#ip-pre-up=/etc/ppp/ip-pre-up
#ip-up=/etc/ppp/ip-up
#ip-down=/etc/ppp/ip-down
#ip-change=/etc/ppp/ip-change
radattr-prefix=/var/run/radattr
verbose=1
[chap-secrets]
gw-ip-address=10.1.1.1
chap-secrets=/etc/ppp/chap-secrets
encrypted=0
#username-hash=md5
[shaper]
attr=Filter-Id
#down-burst-factor=0.1
#up-burst-factor=1.0
#latency=50
#mpu=0
#mtu=0
r2q=10
quantum=1500
cburst=1375000
ifb=ifb0
up-limiter=htb
down-limiter=htb
verbose=0
time-range=1,1:00-06:59
time-range=2,7:00-00:59
[cli]
verbose=1
telnet=127.0.0.1:2000
tcp=127.0.0.1:2001
#password=123
[snmp]
master=0
agent-name=accel-ppp
[connlimit]
limit=10/min
burst=3
timeout=60
[ipv6-pool]
#fc00:0:1::/48,64
#delegate=fc00:1::/36,48
[ipv6-dns]
#fc00:1::1
#fc00:1::2
#fc00:1::3
#dnssl=suffix1.local.net
#dnssl=suffix2.local.net.
[ipv6-dhcp]
#verbose=1
#pref-lifetime=604800
#valid-lifetime=2592000
#route-via-gw=1
Подскажите, пожалуйста, как поступить?