Have you tried Policy-Based Routing before? Share your experience or questions below!
@MachineBrain-AI4ALLАй бұрын
As always thank you very very much Mr. Wilmer..!
@TheNetworkTripАй бұрын
Thank you for your support! 👍🏻
@jeytis72Ай бұрын
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
@TheNetworkTripАй бұрын
Glad it was helpful!
@gpmdp26 күн бұрын
"Mas claro, echale agua" as we say the latinamericans!!!! Thanks again Wilmer!!!!!
@TheNetworkTrip25 күн бұрын
You bet!
@fabimesizaeАй бұрын
Valuable information. Thank you very much for your time
@TheNetworkTripАй бұрын
Thank you! It’s a pleasure
@sabdielisstech50494 күн бұрын
I loved it! Thank you so much!
@AnavllamaАй бұрын
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.
@TheNetworkTripАй бұрын
Great suggestion and good point, the min-prefix=0 will basically suppress the default route from that decision. 👌
@PST_1414Ай бұрын
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.
@TheNetworkTripАй бұрын
Hello! It’s on my to-do list. Thanks for the suggestion.
@dannielangelАй бұрын
Thanks for the insight
@TheNetworkTripАй бұрын
Glad it was helpful!
@rchrstphr-smp1043Ай бұрын
nice video, thanks !!!!!
@TheNetworkTripАй бұрын
Glad you liked it!
@SantiagoPioliАй бұрын
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?
@TheNetworkTripАй бұрын
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
@mikkio5371Ай бұрын
Nice question and contribution. N thanks Wilmer for the reply .
@AnavllamaАй бұрын
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.
@TheNetworkTripАй бұрын
Correct! The output chain will be for traffic "from the router" instead of "to the router"
@edekedkowski5952Ай бұрын
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?
@TheNetworkTripАй бұрын
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.
@muhamadkhalaf6556Ай бұрын
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
@TheNetworkTripАй бұрын
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.
@gpmdp26 күн бұрын
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?
@TheNetworkTrip25 күн бұрын
Hello! For this specific scenario, the performance is pretty similar.
@mikkio5371Ай бұрын
🎉🎉🎉🎉thank you .
@TheNetworkTripАй бұрын
Welcome!!
@pand1sАй бұрын
Extraño los videos en Español estimado Wilmer!
@TheNetworkTripАй бұрын
Hola! Se vienen pronto, ya hay varios en edición. Saludos
@ken2627-s9v27 күн бұрын
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 ?
@TheNetworkTrip27 күн бұрын
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.
@soelinnhtikeАй бұрын
Thanks sir
@TheNetworkTripАй бұрын
All the best!
@Turan-e1tАй бұрын
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
@TheNetworkTripАй бұрын
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-e1tАй бұрын
@@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-e1tАй бұрын
@@TheNetworkTrip As I ran more test on it, It seems bug in RouterOs, I reported as bug, but did not hear from support yet.
@TheNetworkTripАй бұрын
I’ll take a look at it
@ken2627-s9v28 күн бұрын
@@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 ?