Have you tried Policy-Based Routing before? Share your experience or questions below!
@jeytis722 ай бұрын
Woow Wilmer, this is exactly the video and the explanation I was looking for! Very clear indeed. What I like the most about your videos is that you go into the details of a setup, and that you explain why you should choose one option over another. Thank you
@TheNetworkTrip2 ай бұрын
Glad it was helpful!
@MachineBrain-AI4ALL2 ай бұрын
As always thank you very very much Mr. Wilmer..!
@TheNetworkTrip2 ай бұрын
Thank you for your support! 👍🏻
@Anavllama2 ай бұрын
The emphasis on not mistakenly forcing private traffic out the routing rule is very important. I would add that its important to emphasize that one has to consider the traffic ORIGINATING from the subnet you are capturing, but also ANY RETURN TRAFFIC going back to other local private IP addresses. Minor change is that I would use lookup-only-in-table for local traffic rules. One cute trick is the following entry which basically says any local traffic allow, and thus only one rule required. add min-prefix=0 action=lookup-only-in-table table=main If you want to get deep into using routing rules and wireguard be advised, the action parameter is meaningless because the router has no idea if the wireguard interface is up or down, unlike most of the other interfaces and so netwatch of some sort is probably required.
@TheNetworkTrip2 ай бұрын
Great suggestion and good point, the min-prefix=0 will basically suppress the default route from that decision. 👌
@fabimesizae2 ай бұрын
Valuable information. Thank you very much for your time
@TheNetworkTrip2 ай бұрын
Thank you! It’s a pleasure
@sabdielisstech5049Ай бұрын
I loved it! Thank you so much!
@gpmdp2 ай бұрын
"Mas claro, echale agua" as we say the latinamericans!!!! Thanks again Wilmer!!!!!
@TheNetworkTripАй бұрын
You bet!
@dannielangel2 ай бұрын
Thanks for the insight
@TheNetworkTrip2 ай бұрын
Glad it was helpful!
@rchrstphr-smp10432 ай бұрын
nice video, thanks !!!!!
@TheNetworkTrip2 ай бұрын
Glad you liked it!
@PST_14142 ай бұрын
Very informative & Detailed video on topic. Could you please create a new video for dual ISP load balancing using different mangle rules like PCC and discuss every points regarding all options available to differentiate traffic (src address, src & dst address, src address & port, src address & port && dst address & port) it will be really helpful if you can teach us mark packet & mark routing with real world scenarios.
@TheNetworkTrip2 ай бұрын
Hello! It’s on my to-do list. Thanks for the suggestion.
@Anavllama2 ай бұрын
Typically one uses mark-connections to identify complex traffic needing routing and then routing marks to determine the route/table used. As you indicated, granularity is achieved by using mark-connections first or to identify other traffic one does not want to route but do something with. Its also more efficient in terms of traffic processing (CPU) in the granular need scenaro. By the way, when mangling traffic TO THE ROUTER ( aka for vpns), one can actually also use the output chain (more accurate) for marking routes vice prerouting.
@TheNetworkTrip2 ай бұрын
Correct! The output chain will be for traffic "from the router" instead of "to the router"
@SantiagoPioli2 ай бұрын
I have accomplished a similar effect with 2 ISPs just by creating separate src-nat rules. Besides the amount of rules needed, has this approach any advantage?
@TheNetworkTrip2 ай бұрын
Hello! That approach won’t work effectively unless you have different default routes set up in the routing table. The router needs to know not only where to forward the traffic but also which traffic to route through which ISP. srcnat happens after the routing decision
@mikkio53712 ай бұрын
Nice question and contribution. N thanks Wilmer for the reply .
@gpmdp2 ай бұрын
What is the impact (at performance level) of use routing mark as a single mangle rule than marking connections and after that mark-routing of only connections marked before? Other scenario can be mark-connection --> mark-packets ---> mark-routing. What is the best procedure, upon your expertise?
@TheNetworkTripАй бұрын
Hello! For this specific scenario, the performance is pretty similar.
@mikkio53712 ай бұрын
🎉🎉🎉🎉thank you .
@TheNetworkTrip2 ай бұрын
Welcome!!
@edekedkowski59522 ай бұрын
How did you add ISP1 and ISP2 to GNS3? ISP1 has the tap0 interface. After the trace command, both ISPs output the address 192.168.100.254. How is it configured?
@TheNetworkTrip2 ай бұрын
Hello! This is a simulation. The uplink router has 10.40.x.x and 10.50.x.x, that’s why the rest of the trace will look similar.
@ken2627-s9v2 ай бұрын
i my case, when I connect my Mikrotic router to my home ISP router. After I have followed your lab Routing instruction, with regard to the routing rules. My computer, sitting on one port inside the mikrotik Router Bridge, can not communicate with other IP inside my ISP router local LAN, but only the IP that is set on the Ether port 1. Am i missing some setting(config) on the Mikrotik hAP ac router ?
@TheNetworkTrip2 ай бұрын
Hello! The entries keeping in the main table your local networks should be missing something. Please make sure all your local networks are in the main table.
@muhamadkhalaf65562 ай бұрын
if i have output are vlan's in this case on new policy routing rule i can add them on interface and ignore src addres does it work like that
@TheNetworkTrip2 ай бұрын
Hello! If you are referring to traffic leaving through VLAN interfaces, it won’t match these rules because that occurs after the routing process. You need to identify the traffic before it reaches the routing process, which is when it gets evaluated. If you are referring to the output chain (traffic generated by the router itself), yes, we can use the same methods I demonstrated in the video.
@pand1s2 ай бұрын
Extraño los videos en Español estimado Wilmer!
@TheNetworkTrip2 ай бұрын
Hola! Se vienen pronto, ya hay varios en edición. Saludos
@andymordab6 күн бұрын
I Have Questions how i can routing web url only in my router
@JoelLopez-v9m22 күн бұрын
hi can i intergrate PBR to ospf?
@soelinnhtike2 ай бұрын
Thanks sir
@TheNetworkTrip2 ай бұрын
All the best!
@Turan-e1t2 ай бұрын
I added a comment, probably it gone into spam for adding link into it. on mikrotik fourm viewtopic id 211706 routing policy rule not working as it should
@TheNetworkTrip2 ай бұрын
Hello! I checked the forum, if you are marking traffic coming from hotspot connections, make sure to do it just for the authenticated traffic (hotspot=auth)
@Turan-e1t2 ай бұрын
@@TheNetworkTrip did you check the full code uploaded in that forum reply? The problem is: if i mark-route with src-address to new-mark-route it goes through routing policy rule if i mark-route with hotspot user's packet-mark to new-mark-route it does not go through routing policy rule this is the problem. could you explain a bit?
@Turan-e1t2 ай бұрын
@@TheNetworkTrip As I ran more test on it, It seems bug in RouterOs, I reported as bug, but did not hear from support yet.
@TheNetworkTrip2 ай бұрын
I’ll take a look at it
@ken2627-s9v2 ай бұрын
@@TheNetworkTrip i my case, when I connect my Mikrotic router to my home ISP router. After I have followed your lab Routing instruction, with regard to the routing rules. My computer, sitting on one port inside the mikrotik Router Bridge, can not communicate with other IP inside my ISP router local LAN, but only the IP that is set on the Ether port 1. Am i missing some setting(config) on the Mikrotik hAP ac router ?
@VVelikan21 күн бұрын
@TheNetworkTrip great tutorial, thank you so much sir! ❤ Exactly what I looking for. Glad to find your channel.🔥 Did subscribe.