I want to do a setup for a client so that his personnel needs to make pppoe connections for internet access, and I want to use usermanager to monitor usage.
The setup is as follows:
interface wireless set name=“Link_to_Highsite” mode=station band=5ghz-a wireless-protocol=nv2 ssid=“HighsiteSSID” disabled=no 1
interface wireless set name=“AP” mode=ap-bridge band=2ghz-b frequency=2412 wireless-protocol=802.11 ssid=“AccessPoint” disabled=no 0
interface pppoe-client add user=“username” password=“password” interface=Link_to_Highsite use-peer-dns=yes add-default-route=yes disabled=no
interface bridge add name=“internet”
interface bridge port add bridge=internet interface=AP
interface bridge port add bridge=internet interface=ether1
ip address add address=192.168.1.254/24 interface=internet
ip dns set allow-remote-requests=yes
ip firewall nat add chain=srcnat action=masquerade
ip pool add name=“ppp_pool” ranges=192.168.8.100-192.168.8.200
ppp profile add name=“profile1” local-address=192.168.1.254 remote-address=ppp_pool
ppp secret add name=user password=pass service=pppoe profile=profile1
interface pppoe-server server add service-name=internet interface=internet default-profile=profile1 disabled=no
ppp aaa set use-radius=yes
radius add service=ppp address=192.168.1.254 secret=1234
tool user-manager customer add login=“Admin” password=“qwerty” permissions=owner
tool user-manager router add customer=admin ip-address=192.168.1.254 shared-secret=1234
tool user-manager profile add name=“Unlimmited” owner=admin
tool user-manager user add customer=admin name=“test1” password=“test1”
If I use the local user “user” to make my pppoe connection everything works fine.
However when I use user “test1” from the usermanager the connection is made, but the client receives no ip and has no internet.
If I add an ip address to the user it works fine, but I want it to assign addresses from the ppp_pool.
I have previously used usermanager with hotspot and there was no need to give each user it’s own ip.
What am I missing here?
Thanks