Wiki Home Applications issues Mikrotik bandwidth limitation

Mikrotik bandwidth limitation

2024-02-11
bandwidth, mikrotik, limitation

To create bandwidth limitations for a client PC using a MikroTik router, you can follow these general steps:
Youtube video with bandwidth limiation

Mikrotik Bandwidth Management - Create and Limit Bandwidth IP Range Automatically in Simple Queue

1. Access MikroTik RouterOS Interface:
Log in to the MikroTik router's web interface or connect to it via SSH.
2. Identify the Client PC:
Determine the IP address or MAC address of the client PC for which you want to limit the bandwidth:
3. Create a Firewall Mangle Rule:
Navigate to the "IP" menu and select "Firewall". Then, click on the "Mangle" tab.
4. Add New Mangle Rule:
Click on the "+" button to add a new mangle rule.
5. Configure Mangle Rule:
Set the following parameters:
- Chain: `output` (or `input` depending on your specific requirements)
- Protocol: `tcp` and/or `udp` (depending on your needs)
- Src. Address: IP address or MAC address of the client P
- Dst. Address: Leave blank (or specify if needed
- Action: `mark-connection`
- New Connection Mark: Specify a name for the connection mark (e.g., `limited-traffic`)
6. Create Queue Type:
Navigate to the "Queues" menu and select "Queue Types".
7. Add New Queue Type:
Click on the "+" button to add a new queue type.
8. Configure Queue Type:
Set the following parameters:
- Name: Specify a name for the queue type (e.g., `limited`)
- Rate: Set the maximum allowed bandwidth (e.g., `1M` for 1 Mbps)
- Burst Limit: Set the burst limit if needed
- Burst Threshold: Set the burst threshold if needed
- Burst Time: Set the burst time if needed
9. Create Queue:
Navigate to the "Queues" menu and select "Simple Queues".
10. Add New Queue:
Click on the "+" button to add a new queue.
11. Configure Queue:
Set the following parameters:
- Name: Specify a name for the queue (e.g., `limited-queue`)
- Target Address: IP address or MAC address of the client PC
- Target Upload/Download: Select the appropriate direction
- Max Limit: Specify the maximum allowed bandwidth (e.g., `1M` for 1 Mbps)
- Queue Type: Select the queue type created earlier (e.g., `limited`)
12. Apply Changes:
Click on "Apply" or "OK" to save the changes.

These steps should help you create bandwidth limitations for a specific client PC using a MikroTik router. However, the exact configuration may vary depending on your specific network setup and requirements. Be sure to adjust the settings as needed to achieve the desired bandwidth limitations.

Related: