If you dont have any radius server in your network and you want to create the users in Mikrotik NAS in that case , The mikrotik will verify the users name and password and after that they will be able to login So first of all you have to create the users in Mikrotik router and like wise you can assign the bandwidth for the users individually .
Before you create the user in mikrotik router you have to have a IP pool in yopur mikrotik . Because the users will get the IP address from that Pool only .
Go To IP>Pool >Add IP pool (+)
/ip pool
add name=Default ranges=192.168.0.2-192.168.0.254
Go To PPP>Secret> And Add(+)
/ppp secret
add name=laxmi password=12345
If you want to assign the same bandwidth limit for all the users then you have to assign that bandwidth in PPPoE profiles , In my case its default profile .
/ppp profile
set *0 dns-server=8.8.8.8,4.2.2.2 local-address=192.168.0.1 rate-limit=\
512000/51200 remote-address=Default
If you want to give separate bandwidth for each users then you have to follow the below process .
In this scenario don't assign any bandwidth limit in Profile .
Go to PPP>Secret>
/ppp secret
add limit-bytes-in=1024000 limit-bytes-out=1024000 name=laxmi password=12345
Before you create the user in mikrotik router you have to have a IP pool in yopur mikrotik . Because the users will get the IP address from that Pool only .
Go To IP>Pool >Add IP pool (+)
/ip pool
add name=Default ranges=192.168.0.2-192.168.0.254
Go To PPP>Secret> And Add(+)
/ppp secret
add name=laxmi password=12345
After configure the user you will be able to login .
If you want to assign the same bandwidth limit for all the users then you have to assign that bandwidth in PPPoE profiles , In my case its default profile .
/ppp profile
set *0 dns-server=8.8.8.8,4.2.2.2 local-address=192.168.0.1 rate-limit=\
512000/51200 remote-address=Default
If you want to give separate bandwidth for each users then you have to follow the below process .
In this scenario don't assign any bandwidth limit in Profile .
Go to PPP>Secret>
/ppp secret
add limit-bytes-in=1024000 limit-bytes-out=1024000 name=laxmi password=12345
No comments:
Post a Comment