Community discussions

MikroTik App
 
User avatar
rahulmkhj
Member Candidate
Member Candidate
Topic Author
Posts: 135
Joined: Wed Mar 09, 2011 10:54 am

PPPoE and Dynamic IPs

Tue Feb 13, 2018 7:45 am

Good day folks,

I've been using Mikrotik as PPPoE server for quite some time now with Public IP "Pools" as remote address in the profile. Everything works fine. One thing I'm unable to figure out is how do I make mikrotik to assign a new IP each time a user logs in. i.e. if say, a user is logged in with IP 172.16.0.223. If the user logs out on user request or otherwise, when they login again in couple of seconds they get the same IP (0.223) assigned. But I don't want that. I want mikrotik to assign any IP but 0.223.

Is there any possibility to accomplish this? Or any other info on how IP assignment for PPPoE works in general with RouterOS will be helpful.

Note: I'm using radius server for AAA. But don't pass any IP/Pool related attributes except for some users whom I'd like to assign static IPs/routes.

Thank you,
Rahul.
 
User avatar
acruhl
Member
Member
Posts: 371
Joined: Fri Jul 03, 2015 7:22 pm

Re: PPPoE and Dynamic IPs

Tue Feb 13, 2018 2:19 pm

So this doesn't have anything to do with PoE unless I'm missing something.

Have you tried playing with lease-time in /ip dhcp-server lease?

I'm using the ISC DHCP server because that's what I had before I was using MikroTik. They have a "max-lease-time" option.

It's also possible for a client to use another subnet if you really want to force it to change.
 
User avatar
rahulmkhj
Member Candidate
Member Candidate
Topic Author
Posts: 135
Joined: Wed Mar 09, 2011 10:54 am

Re: PPPoE and Dynamic IPs

Tue Feb 13, 2018 2:48 pm

So this doesn't have anything to do with PoE unless I'm missing something.

Have you tried playing with lease-time in /ip dhcp-server lease?

I'm using the ISC DHCP server because that's what I had before I was using MikroTik. They have a "max-lease-time" option.

It's also possible for a client to use another subnet if you really want to force it to change.
Its not about DHCP man, I don't even use DHCP. I'm talking about PPPoE only here. Want to change IP of the PPPoE user on every new session.
 
User avatar
acruhl
Member
Member
Posts: 371
Joined: Fri Jul 03, 2015 7:22 pm

Re: PPPoE and Dynamic IPs

Tue Feb 13, 2018 5:05 pm

Apologies, I read it wrong. Ignore what I said. It was early...

Who is online

Users browsing this forum: Bing [Bot], GoogleOther [Bot], Partial and 39 guests