Page MenuHomeVyOS Platform

Add an option to assign static IP address to IPoE server users
Closed, ResolvedPublicFEATURE 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

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Revisions and Commits

rVYOSONEX vyos-1x

Event Timeline

SrividyaA triaged this task as Normal priority.
dmbaturin removed a project: Restricted Project.Oct 14 2024, 8:57 AM
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
dmbaturin changed Issue type from Unspecified (please specify) to improvement.
natali-rs1985 changed the task status from Open to In progress.Dec 3 2024, 1:44 PM
natali-rs1985 claimed this task.
natali-rs1985 changed Issue type from improvement to Unspecified (please specify).
dmbaturin changed Issue type from Unspecified (please specify) to Feature (new functionality).
Restricted Repository Identity added a commit: Restricted Diffusion Commit.
dmbaturin renamed this task from IPoE server : Add option to assign static IP address to end users to Add an option to assign static IP address to IPoE server users.Wed, Mar 12, 6:07 PM