Multiple Local IP POOL

How can I create multiple ip pool like mikrotik IP Pool but not dhcp pool

What do you mean? It is not clear

Mikrotik can create IP pool two different place.

  1. DHCP pool
  2. local IP Pool
    I also want to setup local IP pool in vyos.

Let’s suppose for a moment that you can create pool in vyos.
What do you wan to do with it? Where you will use it?
If you have a interesting usage, you can create a feature request at https://vyos.dev/

Yes, I want to use multiple IP pool for PPPoE server with External Radius

Why not use named pool?

Please, Let me know config for that.

set service pppoe-server client-ip-pool name POOL1 gateway-address '192.0.2.1'
set service pppoe-server client-ip-pool name POOL1 subnet '192.0.2.0/24'

In the rolling releases after 20230209

I test vyos with external radius ( DMA softlab). And create pppoe-server client-pool with name. But radius cannot detect with name. But in mikrotik, radius auto-detect IP Pool name.

As I remember, named pools use RADIUS attribute “Framed-Pool”
This attribute, found only in Access-Accept packets, indicates the name of the address pool that should be used to give an address to the authenticating user.

So if you won’t use this option, delete the named pool and use

set service pppoe-server client-ip-pool subnet x.x.x.x/x

Please let me know “framed-pool” attribute command in vyos.

Please Let me know this config with pool name is work with external radius ( DMA softlab)

If you want “framed-pool” then use client-ip-pool name POOL1 otherwise client-ip-pool subnet
POOL1 will be as value for RADIUS field "framed-pool”, i.e “framed-pool=POOL1” in this case

image

I configured like this. But the first create subnet (100.64.1.0/24) assign to client. Not assign second IP subnet (100.64.2.0/24)

You have to use either just subnet or named pool xxx subnet but not both
named pool xxx used with option “framed-pool”

image
If I use only name pool, no IP assign to client.

Delete please gateway address and use it wrom pool

delete service pppoe-server gateway-address
set service pppoe-server client-ip-pool name POOL_1 subnet 100.64.1.0/24
set service pppoe-server client-ip-pool name POOL_1 gateway-address 100.64.1.1
set service pppoe-server client-ip-pool name POOL_2 subnet 100.64.2.0/24
set service pppoe-server client-ip-pool name POOL_2 gateway-address 100.64.2.1


image
I configured like that but nothing.

Debug the RADIUS server


image
radius log and config.