Hi,
I have a CCR1036 with DMA radius manager. I run hotspot and pppoe (unfortunately with the same interface and I cannot change that). I have many users during the day either hotspot or pppoe. My problem is that when a pppoe user login to my server when hotspot hosts is loaded, then he reserves the same ip with one of the hotspot host and he hasn’t access to internet.
If that happens, I have to find the pppoe ip, then search in ip hosts, remove it from ip hosts and then reconnect pppoe user, MANUALLY
![]()
Can anyone suggest a script that will run as scheduled that:
- Check the ips of all pppoe users, then,
- Check the ips of ip > hotspot > hosts, then,
- If an ip of any of pppoe user is found in ip > hotspot > hosts, then,
- Remove ip from ip > hotspot > hosts and remove pppoe user (in order to reconnect without ip confict).
Thanks in advanced.