[PPPoE Server] How to provide a different IP on each connect

Hi,

i’ve successfully set up a pppoe-server and everything works fine, except the ip distibution. Everytime I connect to the server i get the same ip from the defined pool (10.1.1.1-10.1.1.200). My special wish is now, that i get a different ip each time i connect to the server. For example: My Cisco-Router with DHCP-Server runs through the whole pool from the beginning to the end and if he is done he begins at the start and fills up the spaces. With this technique you get another ip address on each connect. How can i manage that on an RouterBoard 1000 with RouterOS 3.22?
I searched the documentation, but don’t find anything helpful.

I think you need to check IP Pool leas time, set it to shorter time not llong time because the DHCP will give you the same IP if nobody took it for that time you were offline.

ok, that was my first guess too. But unfortunately, there is no “lease time”-option for ip pools and ppp servers. I do not use DHCP…
The IP pools manual says the following on Page 2: “Whenever possible, the same ip address is given out to each client (OWNER/INFO pair).”

It would be nice to disable this ‘feature’. The question is now - how?

push up

Is there someone new who knows something about this “wish”?
The problem is, if I can’t fix it, we have to migrate to other hardware…

and you know software/hardware that will forcibly change ip address of client for each connection attempt?

one other option is to divide pool in smaller pools, because when /ip pool gives out address it will chech if it has free address, if it has, it will give out, then when all free addresses are used up, it will go through and give out addresses that where assigned previously but now are free, it will jump to next pool when all addresses from first pool if used up, or return error in logs, if no next pool is assigned.

If it’s that important to you, why don’t you set up a radius server. FreeRadius allows for a pool management script. You can allow freeradius to manage the pool and alter the script to ensure it gives a different IP to a user. I don’t see why something so simple as giving the same IP would cause you to want to migrate to another platform. That’s very nearly the silliest thing I’ve heard all week.

Interesting idea. I didn’t knew that it is possible to put the pool management on a radius-server.
I’ve heard that setting up a Radius-Server is not that easy, but let’s see whether i can get it to work :wink: