Hi, What should i do if some user get disconnected but don't get their ip again. I've set up allocation 1 ip to that user, but when get disconnected did not get the correct ip, in fact the user get another ip. It seems that the ip still active on radippool table, i have set up lease time for 300 second. Is there any clue how to fixed up this ? I give log from this issue. Thanky you in advanced. Mikrotik as NAS Log : Apr 19 15:19:17 DR2.SMG <pppoe-pxxx@gmedia.co.id>: terminating... - disconnected Apr 19 15:19:17 DR2.SMG pxxx@gmedia.co.id logged out, 141693 245159396 1882849781 2858800 2537848 Apr 19 15:19:17 DR2.SMG <pppoe-pxxx@gmedia.co.id>: disconnected Apr 19 15:20:23 DR2.SMG pxxx@gmedia.co.id logged in, 0.0.0.0 Apr 19 15:20:23 DR2.SMG <pppoe-pxxx@gmedia.co.id>: could not determine remote address, using 10.112.218.170 Radius Log : Sun Apr 19 15:19:17 2015 : Info: Released IP 103.247.123.79 (did PPPoE.Service.Vlan344 cli 00:0C:42:E6:62:F1 user pxxx@gmedia.co.id) Sun Apr 19 15:19:19 2015 : Auth: Login OK: [pxxx@gmedia.co.id/<via Auth-Type = MSCHAP>] (from client ZIGY port 15948795 cli 00:0C:42:E6:62:F1) Sun Apr 19 15:19:32 2015 : Auth: Login OK: [pxxx@gmedia.co.id/<via Auth-Type = MSCHAP>] (from client ZIGY port 15948800 cli 00:0C:42:E6:62:F1) Sun Apr 19 15:19:45 2015 : Auth: Login OK: [pxxx@gmedia.co.id/<via Auth-Type = MSCHAP>] (from client ZIGY port 15948805 cli 00:0C:42:E6:62:F1) Sun Apr 19 15:19:58 2015 : Auth: Login OK: [pxxx@gmedia.co.id/<via Auth-Type = MSCHAP>] (from client ZIGY port 15948810 cli 00:0C:42:E6:62:F1) Sun Apr 19 15:20:11 2015 : Auth: Invalid user: [pxxx@gmedia.co.id/<via Auth-Type = MSCHAP>] (from client ZIGY port 15948815 cli 00:0C:42:E6:62:F1) Sun Apr 19 15:20:13 2015 : Info: IP Allocation FAILED from 108 (did PPPoE.Service.Vlan344 cli 00:0C:42:E6:62:F1 port 15948800 user pxxx@gmedia.co.id) Sun Apr 19 15:20:14 2015 : Info: IP Allocation FAILED from 108 (did PPPoE.Service.Vlan344 cli 00:0C:42:E6:62:F1 port 15948805 user pxxx@gmedia.co.id) Sun Apr 19 15:20:14 2015 : Info: IP Allocation FAILED from 108 (did PPPoE.Service.Vlan344 cli 00:0C:42:E6:62:F1 port 15948810 user pxxx@gmedia.co.id) Sun Apr 19 15:20:23 2015 : Auth: Login OK: [pxxx@gmedia.co.id/<via Auth-Type = MSCHAP>] (from client ZIGY port 15948820 cli 00:0C:42:E6:62:F1) Sun Apr 19 15:20:23 2015 : Info: IP Allocation FAILED from 108 (did PPPoE.Service.Vlan344 cli 00:0C:42:E6:62:F1 port 15948820 user pxxx@gmedia.co.id) Regards, Franky Yu
On Apr 19, 2015, at 11:33 PM, battossai <battossai@gmail.com> wrote:
What should i do if some user get disconnected but don't get their ip again.
Read the debug log to see why they don't get their IP again.
I've set up allocation 1 ip to that user, but when get disconnected did not get the correct ip, in fact the user get another ip.
So... you didn't allocate the IP to that user. Static IP allocations should be done INDEPENDENT of the IP Pool. You can't just edit the SQL pool, and add a MAC to an an IP. That allocates it, but doesn't assign the IP *permanently*. When the user logs off, the IP will be marked unused. Static IP allocations should go into a separate pool. Static IP allocations should NOT be in the dynamic IP pool. Alan DeKok.
participants (2)
-
Alan DeKok -
battossai