Need Complete Configuration as future guide

hello! I have given here diagram of network. I want to get configuration for Mikrotik.
Either all client will get IP from DHCP or Static ( Need any one technology which is the best according to diagram)
My requirement is that I want to distribute the bandwidth for each client. Any client PC’s maximum bandwidth limitation will be 128kbps. Each IP has to be MAC binding so that not any client get Internet to change the IP.

Can you please write here your configuration or opinion so that any one can easily follow it as guide ?
Mikrotik configuration.JPG

Might be best to get a Certified Consultant on that.

Hello gmsmstr !! Its not so hard something configuration where I have to hire consultant !!! Why did you not answer these as you are certified consultant !!! It’s open forum and any interested sound user will Share/discuss their common issue and no need there any hired consultant. However, I was planing to write a WIKI page for that diagram but I want to discuss more before posting it. I already done this job in my Mikrotik BoX but I am not sure either my configuration is more appropriate or not for all user. Anyway, try to write/share your common knowledge/idea in these forum so that any one easily find the solution.

Q:
I need to configure Mikrotik Part (<-------> )where WAN IP will get automatically from DHCP ( If you use web console, you can easily configure it. My requirement is that I want to distribute the bandwidth for each client. Any client PC’s maximum bandwidth limitation will be 128kbps. Each IP has to be MAC binding so that not any client get Internet to change the IP.
Do you have any idea to post here ?

here you can read about dhcp server,relay and client configuration

http://www.mikrotik.com/testdocs/ros/2.9/ip/dhcp.php

and available options for dhcp leases that are server by /ip dhcp-server in RouterOS

EDIT:

thought that you have load balancing stuff with 4 ISPs :slight_smile:

Thanks for your answer.

Q:

Each IP has to be MAC binding so that not any client get Internet to change the IP ( see Diagram). Suppose I have total Bandwidth 2MB at LAN interface(171.16.1.1/25) and I want to distribute each client as 128kbps ( Not more) for Internet access. I have read the Wiki & Manual but I didn’t get any true example similar to my question. Do you have any idea about it ?

I tried two ways

  1. I used console by using Winbox > at queue section

I used 128kbps for each IP (Total IP: 153 :confused: ) and some where I used 256kbps.
and command :
/ip firewall nat add chain=srcnat action=masquerade out-interface=ether2

This technic is not good because clients are clever they some time change the IP.

  1. Later on I decided to MAC binding for each client. For MAC binding , I used the command

ip firewall filter
add src-address-list

but thing is that I am not getting accurate Bandwidth at client end. Fluctuating Bandwidth each time.

Waiting for your suggestions.