Simple Queue pada Jaringan Bridge - MIKROTIK TUTORIAL [ENG SUB]
Summary
TLDRThis tutorial explores the unique Bridge feature in MikroTik routers, which transforms them into switches for the same subnet IP addresses. The video demonstrates how to manage bandwidth for hosts within a single segment using the MikroTik Bridge, including disabling Hardware Offload and applying Simple Queue for traffic management. It also touches on MikroTik's CRS and CSS Switch series for more complex network management, offering practical insights for users looking to optimize their network configurations.
Takeaways
- 😀 The MikroTik Bridge feature allows a router to function as a switch, bridging multiple interfaces.
- 🛠️ Traffic management, including bandwidth management, is possible on a single segment using the Bridge feature.
- 🌐 MikroTik's Bridge feature is useful when a full switch is not needed or when only a few switch ports are required.
- 🔧 To utilize the Bridge feature for bandwidth management, hardware offloading must be disabled to allow CPU traffic management.
- 🚀 The 'Use IP Firewall' setting in Bridge settings is crucial for managing layer 2 traffic between hosts on the same IP segment.
- 📈 Simple Queue can be used to set bandwidth limitations for specific devices on the network.
- 🔄 Disabling hardware offloading enables the MikroTik router to manage traffic at the CPU level, necessary for bandwidth limitations.
- 📝 The script demonstrates how to configure a MikroTik hAP lite router to bridge ether1 and ether2 ports and manage bandwidth.
- 🌟 MikroTik's CRS and CSS devices offer advanced Bridge and Switch features for complex network management.
- 📊 Bandwidth tests can verify the effectiveness of bandwidth limitations set by Simple Queue.
- 🔗 The bandwidth limitation setup can also be applied to wireless interfaces, such as a wireless repeater.
Q & A
What is the unique feature of MikroTik Routers discussed in the video?
-The unique feature discussed is the Bridge feature, which allows a MikroTik Router to function as a Switch, enabling traffic management between hosts on the same IP address segment.
How does the Bridge feature enable a MikroTik Router to act as a Switch?
-By utilizing the Bridge feature, the MikroTik Router can connect hosts with the same subnet IP address, essentially working as a Switch in addition to its primary function as a Router.
What is the purpose of the 'Use IP Firewall' parameter in the Bridge settings?
-The 'Use IP Firewall' parameter, when activated, allows for management of layer 2 traffic between hosts on the same IP address segment, enabling bandwidth management and other traffic control features.
Why is it necessary to disable Hardware Offload for certain Bridge configurations?
-Disabling Hardware Offload is necessary when you want to manage traffic at the CPU level, such as for bandwidth limitation using Simple Queue, which requires traffic to be processed by the CPU rather than the Switch Chip.
What is the role of Simple Queue in bandwidth management on a MikroTik Router?
-Simple Queue is used to set bandwidth limitations for specific IP addresses or segments, controlling the maximum upload and download speeds for traffic passing through the Router.
How can the Bridge feature be used for bandwidth limitation on a wireless interface?
-The Bridge feature can be used for bandwidth limitation on a wireless interface by activating 'Use IP Firewall' and ensuring Hardware Offload is disabled, allowing traffic to be managed by the CPU and Simple Queue settings.
What is the significance of the H flag in the Bridge-Ports section?
-The H flag indicates that Hardware Offload is active, meaning traffic between ports is handled by the Switch Chip, which is beneficial for performance but may need to be disabled for certain traffic management tasks.
Can the bandwidth limitation settings be applied to a MikroTik device with only a few Ethernet ports?
-Yes, bandwidth limitation can be applied even on a MikroTik device with limited Ethernet ports, such as a RouterBoard, by using the Bridge feature to extend its functionality similar to a Switch.
How does the MikroTik CRS device differ from a standard MikroTik Router in terms of Bridge and Switch features?
-The MikroTik CRS device, part of the Switch series, has more advanced Bridge and Switch features developed for complex network management, offering capabilities beyond those of a standard MikroTik Router.
What are the two questions posed by the video for viewers to answer in the comments?
-The two questions are: 1) How does data travel when an Ethernet port has an H flag for Hardware Offload? 2) What is the function of the 'Use IP Firewall' parameter in the Bridge settings?
Outlines
🌐 MikroTik Bridge Feature Overview
This paragraph introduces the unique Bridge feature in MikroTik routers, which allows a router to function as a switch. The video promises to demonstrate how to manage bandwidth for hosts within the same subnet using this feature. The speaker encourages viewers to subscribe for updates and discusses the potential of using a MikroTik router instead of a traditional switch, especially when only a few switch ports are needed. The Bridge feature is also highlighted for its ability to manage traffic between hosts on the same IP segment, with a mention of MikroTik's CRS and CSS switch series for more complex network management.
🔧 Setting Up the MikroTik Bridge for Bandwidth Management
The speaker walks through the process of setting up the Bridge feature on a MikroTik hAP lite router, including connecting it to the internet and a laptop. After explaining how the router operates as a switch, the focus shifts to bandwidth limitation using Simple Queue within the Bridge feature. The video details the steps to enable IP firewall usage for traffic management and disabling hardware offloading to allow CPU handling of traffic for bandwidth control. The process involves accessing the Bridge menu, adding ports to the Bridge, and configuring the settings to prepare for bandwidth management.
🚀 Implementing Bandwidth Limitations with Simple Queue
This section describes how to apply bandwidth limitations on a MikroTik router using the Simple Queue feature after setting up the Bridge. The speaker demonstrates creating a Simple Queue for a specific IP address, in this case, the laptop's IP, and setting maximum bandwidth limits for uploads and downloads. The effectiveness of the bandwidth limitation is tested using a speed test service, and the results are monitored through Winbox to show the traffic rates. The speaker also discusses disabling the limitation to prove its impact on bandwidth and mentions that this method can be applied to wireless interfaces as well.
📚 Conclusion and Further Exploration of MikroTik Features
The final paragraph wraps up the tutorial with a summary of the bandwidth limitation process using MikroTik's Bridge and Simple Queue features. The speaker poses two questions for the audience to consider and answer in the comments, regarding the function of the H flag indicating hardware offload and the role of the 'Use IP Firewall' setting in the Bridge settings. The video concludes with an invitation for viewers to engage with the content, ask questions, and share the video. Additionally, the speaker promotes their website for MikroTik devices and reminds viewers to subscribe for updates.
Mindmap
Keywords
💡Bridge feature
💡Traffic management
💡MikroTik Router
💡Bandwidth limitation
💡Simple Queue
💡RouterBoard
💡Hardware Offload
💡IP Firewall
💡CRS and CSS
💡Winbox
Highlights
MikroTik's unique Bridge feature allows a router to function as a switch.
The Bridge feature enables traffic management between hosts on the same segment.
MikroTik routers can connect hosts with the same subnet IP address using the Bridge feature.
RouterBoard can be used as an ordinary switch with limited ports by utilizing the Bridge feature.
Bridge on MikroTik has advanced features for traffic management, unlike a regular switch.
MikroTik's CRS and CSS devices further develop Bridge and Switch features for complex network management.
Simple Queue can be used for bandwidth limitation on a network segment managed by a MikroTik router.
Bandwidth management can be achieved on a MikroTik router using the Bridge feature without additional hardware.
The process of creating a Bridge on MikroTik involves adding interfaces like ether1 and ether2.
Winbox is used to configure the Bridge and manage the MikroTik router's settings.
Hardware Offload (H flag) allows traffic to be handled by the Switch Chip, bypassing the CPU.
Disabling Hardware Offload is necessary for CPU-based traffic management using Simple Queue.
Simple Queue settings can limit bandwidth for specific IP addresses within a network segment.
Bandwidth limitation effectiveness can be tested and monitored using internet speed tests.
The impact of bandwidth limitation via Simple Queue is evident in speed test results.
MikroTik's Bridge configuration can be applied to both wired and wireless interfaces.
CRS series switches have advanced bandwidth limiting and QoS features for network management.
The video offers two questions for viewers to explore and understand MikroTik's Bridge functionality.
MikroTik devices can be purchased from the website www.citraweb.com or favorite marketplaces.
Transcripts
One feature that is quite unique in MikroTik is the Bridge feature
this feature is a feature that can turn an ordinary MikroTik Router into a Switch
so later the MikroTik Router will basically work as a Router
later it can function as a Switch by utilizing this Bridge feature
can we do traffic management between hosts of one segment on this bridge?
curious? watch this video until it's finished because I will discuss how to manage bandwidth
for hosts in one segment by using the MikroTik Bridge feature
don't forget to subscribe and press the bell button so you can get update notifications when we upload the latest video
the main feature of the Bridge in MikroTik is actually how we can use a Router to become an ordinary Switch
This router was used to connect subnets of different IP addresses
Then we can use the router to connect hosts with the same subnet IP address
For example, on our network, we don't have a switch device, but we only bring MikroTik router
or maybe we only need two or three switch ports
whereas if we buy a Switch device, there are only 8 ports available or maybe 16 or even 24
so for this condition, we can use the RouterBoard which maybe only have 5 ethernet ports
then we can Bridge, so we can use the Routerboard as an ordinary Switch
but apart from functioning as a Switch, actually the Bridge on MikroTik also has many features
one of which is that we can do traffic management between hosts in the same IP address segment
this feature is actually being developed again
if you guys We've seen it, we've actually discussed it in previous videos
MikroTik also has a product from the Switch series, the name is CRS and CSS
on this CRS device, the Bridge and Switch features are then developed again to allow for more complex network management
You can watch the discussion in our previous video
or maybe you saw in our Livestreaming videos that were aired in the past
now I will try to try one of the features that is quite simple which can also be used later on your network
how can we make bandwidth limitations for one segment network
by using 1 Router device and of course I will take advantage of the Bridge feature
first Bridge feature here I have prepared 1 hAP lite Router, you can see here
then this lite hAP later I will try to connect to the internet via the cable on this ether1
gray cable is to connect to the internet
then for this black cable to connect to my own laptop via ether2
later I will try to activate the Bridge here
then how can I do bandwidth management or bandwidth limitation with Simple Queue?
even though we are bridging between ether1 and ether2
I'll just do the configuration right away, first of course I have to open Winbox first
this is the Router that I use, there is hAP lite with SMIPS architecture
then here there is no configuration at all
no IP address, no Bridge, no Firewall, and all that stuff here
then I will try to connect, the first thing I try to see is the interface
ether1 is used to connect to the internet, then ether2 is used to connect to my own laptop
I want to try bridging between ether1 and ether2
How to? the same as when making a Bridge usually, you can enter in the Bridge menu
then for example I add the name of the Bridge is Name=bridge1
then for this port, I added ether1 and also ether2 like this
then ether2 this goes to my laptop
usually, this Winbox application will disconnect first, then we can be remote again by using the MAC Address
we can see here now that there are ether1 and also ether2 which are already included in Bridge Ports
after I put ether1 and also ether2 in Bridge Ports, then this hAP lite will work like an ordinary Switch
because that is the main feature of Bridge
ether1 is used to connect to the internet and ether2 to connect to my laptop
so if I try later on my laptop using a DHCP client or if on Windows OS we can Obtain IP address
I should be able to get we will try to see the automatic IP address from our internet provider
we open it in the Networks section, then I try to change it using DHCP
let's try to wait, and my laptop now has an IP address from the Gateway
so actually this internet provider is also connected to the main Gateway in this office or building
then from the Gateway office it gives an automatic IP address 192.168.76.170
here it means that you have got an IP address, you have got a Subnet Mask, you have got a Gateway and you have also got a DNS server
This means that now my laptop should also be able to connect to the internet
For example, I will try pinging google.com
We can see the results here. Ping has replied or is running, meaning that I am currently connected to the internet
and this hAP lite device functions like a normal Switch device
so only as a termination or extender
it is the main function of a Bridge
but because this is a MikroTik Router device, and the Bridge feature it has a lot of functions
I will try to make this lite hAP work like that I mean, an ordinary switch can limit bandwidth
How to? I will do Bandwidth limitation later using Simple Queue
but the way to do it is, actually in the Bridge feature MikroTik has many functions
there are Bridge Filters, NAT, and all kinds
but maybe you guys can see it here, I try to open it maybe the menu isn't familiar
though actually we also already have a lot of articles discussing this
even there are videos and our Livestreaming that have discussed this Bridge Filter
or later there will also be Bridge-NAT
but for Bandwidth management it might be easier if we use Simple Queue
the first step we have to do is we you can enter the Bridge menu first here
then we click on the Settings menu and here we will check or activate the "Use IP firewall" parameter
When we check "Use IP firewall", we can actually manage layer 2 traffic
or between hosts. who are still using the IP address with the same segment
we can use Firewall Filter management, Firewall Mangle
what I will simulate later is that we will use Simple Queue to do Bandwidth Limitation
after this we check it then we Apply or click Ok
the second step is we have to enter the Ports Tab, here by default for features or on the new RouterOS
by default usually in each ether there will be an H flag
This H flag indicates that Hardware Offload is already active, or actually the traffic between these ports has been handled by the Switch Chip
this is actually an advantage because the traffic Between Ports will be handled later by the Switch Chip
there is a special hardware so that it does not burden the CPU
it's just that because of our current need to be able to limit this between hosts, we must disable Hardware Offload first
the way we can click 2x
then we Uncheck Hardware Offload on ether1 and ether2
the goal is that the traffic can be read on the CPU
if it can be read on the CPU then we can manage it in the Simple Queue section
after we do the Bridge Setting, then we have disabled the Hardware Offload in the Ports section
then we can create a Simple Queue as usual
we enter in the Queue menu than in the Simple Queue section
I will try to see what IP my laptop was, for example here I get 192.168.76.170
I will try to limit it
with Target = 192.168.76.170 which is the IP address of my own laptop
then I try to give Max. Limit isn't big at first, for example, 2Mbps for upload and download
then I click Ok
to check, because there are no other IP address subnets here, so I just checked via the internet
I'll try to open one of the Speedtest service provider websites
which can be seen here the traffic is only around 1 to 2 Mega
I will also monitor it on Winbox, while the test is running I monitor it through Winbox
if you pay attention to it on Winbox, for laptop or Queue limitations you can see it here in red
and if we look in the column we try to display it for Download Average Rate
then we also display the Upload Average Rate
now it is visible on the right
now we can see that there is currently around 1.9 Mega traffic for uploads
because now my laptop is doing a bandwidth test on the internet, as we can see here
Ok the test it's finished, let's see the results
for Download 1.7 and for upload 1.8 which means this limitation is already running
let's try the second one, I'll try to disable the limitation
this is to make sure that this limitation has an effect or not, I try to Disable then I try the Bandwidth test again
here we can see we can get around 80-90 MB per second
This means that the laptop that earlier got Bandwidth only with a maximum of 2 Mega was because of the Simple Queue setting that I activated
because without Simple Queue it can get 90 MB per second for downloads
and maybe the upload speed is in accordance with the limitations applied to the Router Gateway in this building
we can get about 70 maybe even 80 MB per second original
why did you get 2 Mega because this is the result of the Simple Queue that I activated
so like that, how can I activate bandwidth limitations using Simple Queue on a one-segment network
and happened to pass through a router that uses a Bridge configuration
actually this scheme can not only be done for inter-cable connections only
we can also do it for the Wireless interface, for example, you have a Wireless Repeater
whose function is to capture the Wireless connection and then distribute it again via Ethernet
this feature or this scheme can also be done, the key is that we activate the "Use IP Firewall"
then the Offroad Hardware in each Ethernet Port is not activated or we Uncheck
then if for example, you are using the MikroTik CRS Switch series
maybe the CRS1xx series or CRS3xx series actually they also have features to able to limit bandwidth or QoS
it's just that it's a little different
for the CRS3xx and CRS1xx series, usually, later there will be more detail on the configuration in the Bridge and Switch sections
while what I tried to do earlier This is the simplest way
if for example, you want bandwidth management between networks that are still in one segment
we can take advantage of the Bridge and Simple Queue features on MikroTik
before I end my video, I have two questions that I can later answer in the comments column
there are questions that later you can try to see the answers in my explanation that I did before
The first question is, on the Bridge-Ports there is a Port with the H Flag
actually I mentioned earlier this is Hardware Offload
can you explain that when an Ethernet has an H flag, how does the data travel?
For example, there was ether1 and then there was ether2 which has an H Flag on the Bridge-Ports section
from ether1 to ether2, what will the flow be like? that is the first
the second question, in the Bridge-Settings section there is a parameter "Use IP Firewall"
try to explain what is the function of this "Use IP Firewall" parameter
so you can answer these two questions in the comments column
try watching my previous explanation video , I have fully explained there
okay that was my experiment on how to make a Bandwidth Limitation on a 1 segment network with the MikroTik Bridge
and also there are two questions that can be answered later in the comments column
if you still have questions, write them in the comments column below
don't forget to share this video with other MikroTik users so that it's more valuable
Don't forget too, if you need MikroTik devices, just visit our website www.citraweb.com
you can also find our shop (Citraweb) on your favorite Marketplace
Thank you for watching my video this time
don't forget to subscribe and press the bell button ng so that you can get update notifications when we upload the latest video
thank you and see you in the next tutorial video
Weitere ähnliche Videos ansehen
Full MikroTik MTCNA - Brief overview of Winbox
Everything Switches do - Part 1 - Networking Fundamentals - Lesson 4
Interface Configurations - N10-008 CompTIA Network+ : 2.3
MENCARI KESALAHAN KONFIGURASI DASAR - MIKROTIK TUTORIAL [ENG SUB]
Hub, Switch, & Router Explained - What's the difference?
Mengenal IP Address | Network Fundamental Learning Series #8
5.0 / 5 (0 votes)