Page MenuHomeVyOS Platform

Support for ip pools for ippoe
Closed, ResolvedPublicFEATURE REQUEST

Description

Hi
Is it possible to add a feature, where IP pools can be enabled for IPoe?
Thanks
Sean

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) added a subscriber: Unknown Object (User).Jun 10 2020, 8:09 PM
Unknown Object (User) added a comment.Jun 10 2020, 8:19 PM

ipoe daemon allows us to use this possibility. We need to add CLI commands.
Proposed commands:

set service ipoe-server client-ip-pool name POOL1 subnet 100.64.0.0/24

Radius attribute Framed-Pool.

erkin renamed this task from be able to setup ip pools for ippoe to Support for ip pools for ippoe.Aug 30 2021, 5:35 AM
erkin set Issue type to Feature (new functionality).
erkin removed a subscriber: Active contributors.

there is another possible to achieve the desired result , it's using this radius-option:

https://networkradius.com/doc/current/raddb/mods-available/ippool.html

and accel-pppd , this parameter must be defined with its network associate :

gw-ip-address=x.x.x.x/mask By default is not defined.

Viacheslav changed the task status from Open to In progress.Apr 4 2022, 7:18 AM
Viacheslav claimed this task.

PR https://github.com/vyos/vyos-1x/pull/1267

set service ipoe-server authentication mode 'noauth'
set service ipoe-server client-ip-pool name POOL1 gateway-address '192.0.2.2'
set service ipoe-server client-ip-pool name POOL1 subnet '192.0.2.0/24'
set service ipoe-server interface eth2
Viacheslav changed the task status from In progress to Needs testing.Apr 4 2022, 1:05 PM

@Viacheslav

I've been testing , the feature works as expected . IPOE assigns different ip by dhcp using ip-pool :

vyos@ipoe:~$ show ipoe-server sessions
ifname     | username |    calling-sid    |     ip     | rate-limit | type | comp | state  |  uptime
---------------+----------+-------------------+------------+------------+------+------+--------+----------
 eth3.1000.140 |          | aa:bb:cc:00:60:00 | 10.10.10.0 |            | ipoe |      | active | 00:03:44
 eth3.1000.130 |          | aa:bb:cc:00:50:00 | 10.10.10.2 |            | ipoe |      | active | 00:

we can close this task

thanks