Page MenuHomeVyOS Platform

IPoE server : Add option to assign static IP address to end users
Open, NormalPublicFEATURE REQUEST

Description

We do not have an option to configure a static ip address for end users when configured in local authentication method.

Tested in the lab by manually changing the ipoe.chap-secrets which seems to work:

vyos@testing# sudo cat /run/accel-pppd/ipoe.chap-secrets
# username  server  password  acceptable local IP addresses   shaper
eth1        * 50:0b:00:08:00:00     10.1.1.200

Configuration:

set service ipoe-server authentication interface eth1 mac 50:0b:00:08:00:00
set service ipoe-server authentication mode 'local'
set service ipoe-server client-ip-pool ipoe-pool range '10.1.1.100-10.1.1.200'
set service ipoe-server default-pool 'ipoe-pool'
set service ipoe-server gateway-address '10.1.1.1/24'
set service ipoe-server interface eth1 mode 'l2'
set service ipoe-server interface eth1 network 'shared'

Verification:

vyos@testing# run sh ipoe-server sessions
ifname | username |    calling-sid    |     ip     | ip6 | ip6-dp | rate-limit | type | comp | state  |  uptime
--------+----------+-------------------+------------+-----+--------+------------+------+------+--------+----------
 ipoe0  | eth1     | 50:0b:00:08:00:00 | 10.1.1.200 |     |        |            | ipoe |      | active | 00:26:58

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
Unspecified (please specify)