Page MenuHomeVyOS Platform

PPPoE server: Preallocate NAS-Port-Id
Closed, ResolvedPublicFEATURE REQUEST

Description

Some billing systems require RADIUS attribute NAS-Port-Id in Access-Request, will be helpful to provide possibility configure this.

[ppp]
unit-preallocate=0|1
By default is unit-preallocate=0, ppp unit (interface) will allocate after authorization.

Specified will accel-ppp allocate ppp unit (interface) before authorization, so Nas-Port and Nas-Port-Id would be defined in Access-Request phase.

I propose to add this feature to the RADIUS CLI path

set service pppoe-server authentication radius preallocate-vif

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)

Event Timeline

Unknown Object (User) created this task.Sep 23 2020, 9:57 AM
Unknown Object (User) closed this task as Resolved.Sep 29 2020, 6:07 PM
Unknown Object (User) added a project: Restricted Project.

Works properly on VyOS 1.3-rolling-202009290117.
When command set service pppoe-server authentication radius preallocate-vif committed, pppoe-server send the next attributes in Access-Request packet on a client authorization:

NAS-Port = 0
NAS-Port-Id = "ppp0"
NAS-Port-Type = Virtual
erkin set Issue type to Feature (new functionality).Aug 29 2021, 12:59 PM
erkin removed a subscriber: Active contributors.