Shaper IPv6 upload not work
Posted: 04 Mar 2016, 14:55
Hi,
I'm doing some tests with IPv6 and found that the download is controlling the speed but not the upload.
Below a test Speedtest mini:
https://youtu.be/dO9VO5N1nkc
[root@accel01srv accel-ppp]# accel-cmd show sessions
ifname | username | calling-sid | ip | rate-limit | type | comp | state | uptime
--------+----------------+------------------------+---------------+-------------+-------+------+--------+----------
ppp0 | hercilia201254 | eth1:d4:ca:6d:62:2f:e2 | 138.xxx.155.1 | 10240/10240 | pppoe | | active | 00:09:12
my conf:
[modules]
log_file
pppoe
auth_mschap_v2
auth_mschap_v1
auth_chap_md5
auth_pap
radius
#chap-secrets
ippool
#pppd_compat
shaper
ipv6_nd
ipv6_dhcp
ipv6pool
[core]
log-error=/var/log/accel-ppp/core.log
thread-count=8
[common]
#single-session=replace
#sid-case=upper
#sid-source=seq
[ppp]
verbose=1
min-mtu=1280
mtu=1400
mru=1400
ipv4=require
ipv6=allow
[pppoe]
interface=eth1
ifname-in-sid=both
ip-pool=pppoe
verbose=1
[dns]
dns1=8.8.8.8
#dns2=8.8.8.8
[client-ip-range]
192.168.255.0/24
[ipv6-dns]
2804:XXXX:dead:b1ba::165
[ip-pool]
gw-ip-address=172.16.1.1
138.XXX.155.1-254,name=pppoe
[ipv6-pool]
2804:XXXX:DEAD:7000::/52,64
[ipv6-dhcp]
verbose=1
pref-lifetime=604800
valid-lifetime=2592000
route-via-gw=1
[log]
log-emerg=/var/log/accel-ppp/emerg.log
log-file=/var/log/accel-ppp/accel-ppp.log
copy=1
level=4
[radius]
dictionary=/usr/local/share/accel-ppp/radius/dictionary
nas-identifier=accel-ppp
nas-ip-address=192.168.255.8
gw-ip-address=172.16.1.1
server=191.xxx.xxx.162,XXXXX,auth-port=1812,acct-port=1813,req-limit=50,fail-timeout=0,max-fail=10,weight=1
dae-server=127.0.0.1:3799,testing123
verbose=1
[shaper]
up-limiter=police
down-limiter=tbf
verbose=1
[cli]
verbose=1
telnet=127.0.0.1:2000
tcp=127.0.0.1:2001
#password=test123
I'm doing some tests with IPv6 and found that the download is controlling the speed but not the upload.
Below a test Speedtest mini:
https://youtu.be/dO9VO5N1nkc
[root@accel01srv accel-ppp]# accel-cmd show sessions
ifname | username | calling-sid | ip | rate-limit | type | comp | state | uptime
--------+----------------+------------------------+---------------+-------------+-------+------+--------+----------
ppp0 | hercilia201254 | eth1:d4:ca:6d:62:2f:e2 | 138.xxx.155.1 | 10240/10240 | pppoe | | active | 00:09:12
my conf:
[modules]
log_file
pppoe
auth_mschap_v2
auth_mschap_v1
auth_chap_md5
auth_pap
radius
#chap-secrets
ippool
#pppd_compat
shaper
ipv6_nd
ipv6_dhcp
ipv6pool
[core]
log-error=/var/log/accel-ppp/core.log
thread-count=8
[common]
#single-session=replace
#sid-case=upper
#sid-source=seq
[ppp]
verbose=1
min-mtu=1280
mtu=1400
mru=1400
ipv4=require
ipv6=allow
[pppoe]
interface=eth1
ifname-in-sid=both
ip-pool=pppoe
verbose=1
[dns]
dns1=8.8.8.8
#dns2=8.8.8.8
[client-ip-range]
192.168.255.0/24
[ipv6-dns]
2804:XXXX:dead:b1ba::165
[ip-pool]
gw-ip-address=172.16.1.1
138.XXX.155.1-254,name=pppoe
[ipv6-pool]
2804:XXXX:DEAD:7000::/52,64
[ipv6-dhcp]
verbose=1
pref-lifetime=604800
valid-lifetime=2592000
route-via-gw=1
[log]
log-emerg=/var/log/accel-ppp/emerg.log
log-file=/var/log/accel-ppp/accel-ppp.log
copy=1
level=4
[radius]
dictionary=/usr/local/share/accel-ppp/radius/dictionary
nas-identifier=accel-ppp
nas-ip-address=192.168.255.8
gw-ip-address=172.16.1.1
server=191.xxx.xxx.162,XXXXX,auth-port=1812,acct-port=1813,req-limit=50,fail-timeout=0,max-fail=10,weight=1
dae-server=127.0.0.1:3799,testing123
verbose=1
[shaper]
up-limiter=police
down-limiter=tbf
verbose=1
[cli]
verbose=1
telnet=127.0.0.1:2000
tcp=127.0.0.1:2001
#password=test123