diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-04-04 10:12:08 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-04-04 10:19:08 +0000 |
commit | dbd922397dcfe6df3f0e766787d9aee69410dd58 (patch) | |
tree | 59ac69ea276caf7d8142f3aaebe756e0e2763223 /interface-definitions/service_ipoe-server.xml.in | |
parent | 601ab19fd8c81a998b3c966cc83b85ed60ac5ae0 (diff) | |
download | vyos-1x-dbd922397dcfe6df3f0e766787d9aee69410dd58.tar.gz vyos-1x-dbd922397dcfe6df3f0e766787d9aee69410dd58.zip |
ipoe: T2580: Add pools and gateway options
Add new feature to allow to use named pools
Can be used also with Radius attribute 'Framed-Pool'
set service ipoe-server client-ip-pool name POOL1 gateway-address '192.0.2.1'
set service ipoe-server client-ip-pool name POOL1 subnet '192.0.2.0/24'
Diffstat (limited to 'interface-definitions/service_ipoe-server.xml.in')
-rw-r--r-- | interface-definitions/service_ipoe-server.xml.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/interface-definitions/service_ipoe-server.xml.in b/interface-definitions/service_ipoe-server.xml.in index b19acab56..1325ba10d 100644 --- a/interface-definitions/service_ipoe-server.xml.in +++ b/interface-definitions/service_ipoe-server.xml.in @@ -112,6 +112,22 @@ </children> </tagNode> #include <include/name-server-ipv4-ipv6.xml.i> + <node name="client-ip-pool"> + <properties> + <help>Client IP pools and gateway setting</help> + </properties> + <children> + <tagNode name="name"> + <properties> + <help>Pool name</help> + </properties> + <children> + #include <include/accel-ppp/gateway-address.xml.i> + #include <include/accel-ppp/client-ip-pool-subnet-single.xml.i> + </children> + </tagNode> + </children> + </node> #include <include/accel-ppp/client-ipv6-pool.xml.i> <node name="authentication"> <properties> |