Community discussions

MikroTik App
 
AlainMG
just joined
Topic Author
Posts: 6
Joined: Fri Aug 25, 2023 4:52 pm

PPPoE accounted value of upload/download higher than sent

Fri Aug 25, 2023 5:25 pm

Hi everybody,

I have configured on same mikrotik router (CCR1016) a pppoe server and radius server.
The issue that I have encounter is, the packet size accounted in radius is higher than sent.
Thus, I would like to get correct value of upload/download for my clients.

Topologie:
PC1 (client) -> Router mikrotik (pppoe client)-> Router (pppoe server + user manager radius)-> PC2 (server)
Eg: using iperf3, I send 1Mo from PC1 to PC2, then I got 1,9Mo on accounting.

Below is the configuration on NAS:

/ip dhcp-server add disabled=no interface=sfp1 name=dhcp-1 use-radius=yes
/ip pool add name=pool1 ranges=10.20.30.2-10.20.30.5
/ppp profile set *0 local-address=10.20.30.1
/tool user-manager customer set admin access=own-routers,own-users,own-profiles,own-limits,config-payment-gw
/tool user-manager profile add name=Silver-1M name-for-users=user1 override-shared-users=off owner=admin price=0 starts-at=logon validity=0s
/tool user-manager profile limitation add address-list="" download-limit=0B group-name="" ip-pool=pool1 ip-pool6="" name=1M owner=admin rate-limit-min-rx=1024B rate-limit-min-tx=1024B rate-limit-rx=2097152B rate-limit-tx=\ 2097152B transfer-limit=0B upload-limit=0B uptime-limit=0s add address-list="" download-limit=0B group-name="" ip-pool=pool1 ip-pool6="" name=limit1 owner=admin rate-limit-min-rx=1024B rate-limit-min-tx=1024B rate-limit-rx=1024B rate-limit-tx=\ 1024B transfer-limit=0B upload-limit=0B uptime-limit=0s add address-list="" download-limit=0B group-name="" ip-pool=pool1 ip-pool6="" name="Full access" owner=admin transfer-limit=0B upload-limit=0B uptime-limit=0s add address-list="" download-limit=0B group-name=Gp-silver ip-pool=pool1 ip-pool6="" name=Burst-test owner=admin rate-limit-min-rx=131072B rate-limit-min-tx=524288B rate-limit-priority=1 \ rate-limit-rx=131072B rate-limit-tx=524288B transfer-limit=0B upload-limit=0B uptime-limit=0s
/interface pppoe-server server add disabled=no interface=vlan50
/ip address add address=192.168.1.184/24 interface=sfp1 network=192.168.1.0 add address=40.40.40.2/24 interface=sfp2 network=40.40.40.0 add address=10.10.10.2/30 interface=sfp3 network=10.10.10.0
/ppp aaa set use-radius=yes
/radius add address=40.40.40.2 secret=radius23 service=ppp
/radius incoming set accept=yes
/tool user-manager database set db-path=user-manager
/tool user-manager profile profile-limitation add from-time=0s limitation=Burst-test profile=Silver-1M till-time=23h59m59s weekdays=sunday,monday,tuesday,wednesday,thursday,friday,saturday
/tool user-manager router add coa-port=3799 customer=admin disabled=no ip-address=40.40.40.2 log=auth-fail name=Router-1 shared-secret=radius23 use-coa=yes
/tool user-manager user add customer=admin disabled=no ipv6-dns=:: password=user1 shared-users=1 username=user1 wireless-enc-algo=none wireless-enc-key="" wireless-psk=""
/user aaa set use-radius=yes

Thank you for help.
 
AlainMG
just joined
Topic Author
Posts: 6
Joined: Fri Aug 25, 2023 4:52 pm

Re: PPPoE accounted value of upload/download higher than sent

Tue Aug 29, 2023 8:16 am

Any help please?

Who is online

Users browsing this forum: Seekport [Bot] and 3 guests