Community discussions

MikroTik App
 
waver
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 53
Joined: Thu May 02, 2013 2:19 pm

Fixed IP on PPPoE server with pool

Fri Oct 30, 2020 11:28 am

Dear all,

We are working to power on new PPPoE Server. The first test show problem to fix IP for client:

- The scenario is the next:
The users validation are with Radius and works fine. The IP is assigned from pool and all clients receive ok.
If client request fixed IP we configure the secret on local Mikrotik and works fine but this fixed IP dont show on /ip/pool/used addresses and the system deliver this IP to other client (same IP on 2 clients...)


Anyone know how can i fix this problem? if we deliver IP from secret directly the pool don't know this....

Fixed IP is on pool.




Thanks,
 
tdw
Forum Guru
Forum Guru
Posts: 2118
Joined: Sat May 05, 2018 11:55 am

Re: Fixed IP on PPPoE server with pool

Fri Oct 30, 2020 1:54 pm

Reduce the pool size to leave some non-overlapping addresses available for static allocation.

Also, you can assign the IP address with the Framed-IP-Address RADIUS attribute, which overrides remote-address in the PPP profile, instead of creating local secrets.
 
waver
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 53
Joined: Thu May 02, 2013 2:19 pm

Re: Fixed IP on PPPoE server with pool

Fri Oct 30, 2020 2:36 pm

Reduce the pool size to leave some non-overlapping addresses available for static allocation.

Also, you can assign the IP address with the Framed-IP-Address RADIUS attribute, which overrides remote-address in the PPP profile, instead of creating local secrets.

Yes, if i reduce de pool and reserve address out of the pool for static allocation all works fine but this is a "ugly" solution.

If i try to configure "Framed-IP-Address" on RADIUS works fine but with the same problem like a configure a local secret, the address is assigned but on /ip/poll/used addresses this IP is not registered and this static assignation will be assigned again on other clients...

I want configure to assign fixed IP from pool and this IP are be registered on "Used adresses"





Thanks,
 
mistry7
Forum Guru
Forum Guru
Posts: 1480
Joined: Tue Oct 13, 2009 11:57 am
Location: Germany

Re: Fixed IP on PPPoE server with pool

Fri Oct 30, 2020 11:30 pm

Does your radius supports pool for dynamic addresses?
 
waver
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 53
Joined: Thu May 02, 2013 2:19 pm

Re: Fixed IP on PPPoE server with pool

Mon Nov 02, 2020 2:56 pm

Does your radius supports pool for dynamic addresses?

Works with "Daloradius" but the problem is Mikrotik router, if isn't device who assign the IP don't mark as used....