As long as the ipoe interface is alive and the lease-time expires, accel-ppp will not send a new request to freeradius.
This is a problem because if you change the IP it will not get to the client.
How can this be solved?
ipoe config:
Code: Select all
[ipoe]
gw-ip-address=2.2.2.1/24
gw-ip-address=3.3.3.1/24
verbose=1
username=lua:username
lease-time=120
renew-time=60
max-lease-time=240
unit-cache=0
shared=1
ifcfg=1
mode=L2
start=dhcpv4
ip-unnumbered=1
proxy-arp=1
vendor=Mikrotik
attr-dhcp-opt82=DHCP-Option82
attr-dhcp-opt82-remote-id=DHCP-Agent-Remote-Id
attr-dhcp-opt82-circuit-id=DHCP-Agent-Circuit-Id
lua-file=/etc/accel-ppp.lua
soft-terminate=1
check-mac-change=1
interface=ens4.15
interface=ens4.70
interface=ens4.55
Code: Select all
[radius]
nas-identifier=accel-ppp
nas-ip-address=127.0.0.1
gw-ip-address=10.1.0.2
server=127.0.0.1,testing123,auth-port=1812,acct-port=1813,req-limit=50,fail-timeout=0,max-fail=10,weight=1
dae-server=127.0.0.1:3799,testing123
verbose=1