Hi
Is it possible to add a feature, where IP pools can be enabled for IPoe?
Thanks
Sean
Description
Description
Details
Details
- Version
- -
- Is it a breaking change?
- Unspecified (possibly destroys the router)
- Issue type
- Feature (new functionality)
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | FEATURE REQUEST | a.apostoliuk | T4085 Rewrite L2TP/PPTP/SSTP/PPPoE services to get_config_dict | ||
Resolved | FEATURE REQUEST | Viacheslav | T2580 Support for ip pools for ippoe |
Event Timeline
Comment Actions
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.
Comment Actions
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.
Comment Actions
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
Comment Actions
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