/ip pool add name=P1-5M-pool ranges=10.111.0.0/22 add name=P2-10M-pool ranges=10.111.4.0/22 add name=P3-20M-pool ranges=10.111.8.0/22 /ppp profile add dns-server=8.8.8.8 local-address=10.111.0.0 name=P1-5Mb-500Tk only-one=yes remote-address=P1-5M-pool add dns-server=8.8.8.8 local-address=10.111.0.0 name=P2-10Mb-800Tk only-one=yes remote-address=P2-10M-pool add dns-server=8.8.8.8 local-address=10.111.0.0 name=P3-20Mb-1200Tk only-one=yes remote-address=P3-20M-pool /queue type add kind=pcq name=P1-5Mb_Down pcq-burst-rate=5M pcq-burst-threshold=1M pcq-burst-time=1m pcq-classifier=dst-address pcq-dst-address6-mask=64 pcq-rate=625k pcq-src-address6-mask=64 add kind=pcq name=P2-10Mb_Down pcq-burst-rate=10M pcq-burst-threshold=2M pcq-burst-time=1m pcq-classifier=dst-address pcq-dst-address6-mask=64 pcq-rate=1250k pcq-src-address6-mask=64 add kind=pcq name=P3-20Mb_Down pcq-burst-rate=20M pcq-burst-threshold=3M pcq-burst-time=1m pcq-classifier=dst-address pcq-dst-address6-mask=64 pcq-rate=2500k pcq-src-address6-mask=64 add kind=pcq name=50Mb-upload pcq-burst-rate=50M pcq-burst-threshold=10M pcq-burst-time=1m pcq-classifier=src-address pcq-dst-address6-mask=64 pcq-rate=6M pcq-src-address6-mask=64 add kind=pcq name=20Mb-upload pcq-burst-rate=20M pcq-burst-threshold=10M pcq-burst-time=1m pcq-classifier=src-address pcq-dst-address6-mask=64 pcq-rate=5M pcq-src-address6-mask=64 add kind=pcq name=5Mb-Dedicate_Down pcq-burst-time=1m pcq-classifier=dst-address pcq-dst-address6-mask=64 pcq-rate=5M pcq-src-address6-mask=64 add kind=pcq name=10Mb-Dedicate_Down pcq-burst-time=1m pcq-classifier=dst-address pcq-dst-address6-mask=64 pcq-rate=10M pcq-src-address6-mask=64 add kind=pcq name=20Mb-Dedicate_Down pcq-burst-time=1m pcq-classifier=dst-address pcq-dst-address6-mask=64 pcq-rate=20M pcq-src-address6-mask=64 add kind=pcq name=30Mb-Dedicate_Down pcq-burst-time=1m pcq-classifier=dst-address pcq-dst-address6-mask=64 pcq-rate=30M pcq-src-address6-mask=64 add kind=pcq name=40Mb-Dedicate_Down pcq-burst-time=1m pcq-classifier=dst-address pcq-dst-address6-mask=64 pcq-rate=40M pcq-src-address6-mask=64 add kind=pcq name=50Mb-Dedicate_Down pcq-burst-time=1m pcq-classifier=dst-address pcq-dst-address6-mask=64 pcq-rate=50M pcq-src-address6-mask=64 /queue simple add name="GGC-10Mb for P1" queue=20Mb-upload/10Mb-Dedicate_Down target=10.111.0.0/22 add name="FNA-10Mb for P1" queue=20Mb-upload/10Mb-Dedicate_Down target=10.111.0.0/22 add name="BDIX-10Mb for P1" queue=20Mb-upload/10Mb-Dedicate_Down target=10.111.0.0/22 add name="GGC-20Mb for P2" queue=20Mb-upload/20Mb-Dedicate_Down target=10.111.4.0/22 add name="BDIX-20Mb for P2" queue=20Mb-upload/20Mb-Dedicate_Down target=10.111.4.0/22 add name="FNA-20Mb for P2" queue=20Mb-upload/20Mb-Dedicate_Down target=10.111.4.0/22 add name="FNA-40Mb for P3 P4 P5" queue=20Mb-upload/40Mb-Dedicate_Down target=10.111.8.0/22,10.111.12.0/22,10.111.16.0/22 add name="GGC-40Mb for P3 P4 P5" queue=20Mb-upload/40Mb-Dedicate_Down target=10.111.8.0/22,10.111.12.0/22,10.111.16.0/22 add name="BDIX-40Mb for P3 P4 P5" queue=20Mb-upload/40Mb-Dedicate_Down target=10.111.8.0/22,10.111.12.0/22,10.111.16.0/22 add name="P1-5Mb-Shared Internet" queue=20Mb-upload/P1-5Mb_Down target=10.111.0.0/22 add name="P2-10Mb-Shared Internet" queue=20Mb-upload/P2-10Mb_Down target=10.111.4.0/22 add name="P3-20Mb-Shared Internet" queue=20Mb-upload/P3-20Mb_Down target=10.111.8.0/22 /ip firewall nat add action=masquerade chain=srcnat src-address=10.111.0.0/19 add action=masquerade chain=srcnat src-address=10.111.0.0/19 add action=masquerade chain=srcnat src-address=10.111.0.0/19 add action=masquerade chain=srcnat src-address=10.111.0.0/19 /ppp secret add name=ppp1 password=1 profile=P1-5Mb-500Tk service=pppoe add name=ppp2 password=1 profile=P2-10Mb-800Tk service=pppoe add name=ppp3 password=1 profile=P3-20Mb-1200Tk service=pppoe /system clock set time-zone-name=Asia/Dhaka /system ntp client set enabled=yes primary-ntp=52.148.114.188 secondary-ntp=194.0.5.123