FullMikroTik MTCRE - Failover, Ptp Addressing, Interface Based Routing (Episode 6)

  Рет қаралды 13,927

The Network Berg

The Network Berg

Күн бұрын

Пікірлер: 30
@TheNetworkBerg
@TheNetworkBerg 2 жыл бұрын
NB - Interface based routing only works for Ptp configurations, trying to do this on a link where multiple hosts can reside will not work. Reference Material: wiki.mikrotik.com/wiki/Manual:IP/Route help.mikrotik.com/docs/pages/viewpage.action?pageId=59965493
@mishasawangwan6652
@mishasawangwan6652 Жыл бұрын
hey @The Network Berg : i have 2 rb5009s and a single ISP who has allocated me a block of 5 static ips. i’ve configured 1 static ip on each of the rb5009s which each have their default GW pointing to the ISP gateway. the ISP provided modem is in “bridge/passthrough” mode so it doesn’t do anything except provided access to the internet. my setup so far works fine (1 subnet for management and another subnet for all lan) but am wondering if there’s something i could be doing better. not much info on this on the net. any thoughts? cheers.
@gyorgykovacs6781
@gyorgykovacs6781 2 жыл бұрын
You infected me, I fell in love with Mikrotik and routing. ;) Your passion to routing is impressing me. I had the same feelings when i started to learn programming(C, C++, Java) 6 years ago. It’s an inexplicable feeling when we see behind things and put together the details and understand how things work. You helped me to begin to understand this networking world as well. And thank you for your selflessness in sharing your valuable knowledge with us. People like you make this world a better place
@diwasbhatta5951
@diwasbhatta5951 2 жыл бұрын
such a underrated youtube channel..this channel desearves to be very famous within IT students
@kresimirpecar4925
@kresimirpecar4925 2 жыл бұрын
If we have for eg. vDSL router for ISP1 and LTE router for ISP2, if we want to have ISP2 as an failover (no PPPoE), we should make ether2 WAN, so ether1 is WAN1 and ether2 is WAN2, we asign them IP addresses, then remaining ports go to bridge and we enable dhcp server for that bridge. Then we can make static routes to WAN1 and WAN2 IP addresses, put distance for WAN1 to 1 and 10 for WAN2. Also we need to masquerade for each WAN IP so if traffic want to leave via WAN1 it will be NATed for WAN1 IP, and if it wants to leave via WAN2 it will be NATed for WAN2 IP. I hope i understand correctly. Great video as always, short so you can keep someone attention but educational. Maybe it's better to have more shorter videos than few longer ones.
@TheNetworkBerg
@TheNetworkBerg 2 жыл бұрын
You are totally correct :D Creating videos is a fine line, sometimes a video is too short then doesn't get promoted by KZbin, but on the other side a video may be too long and then becomes too frustrating to watch in one sitting. I am trying to keep a balance between things. A typical rule of mine is to aim for 15 mins in a video, although sometimes I just get carried away and exceed this limit. It happens more so in the MTCRE topics as some of these things you need to talk about in one video.
@geoffvandermerwe6220
@geoffvandermerwe6220 2 жыл бұрын
Thanks keep the videos coming !
@TheNetworkBerg
@TheNetworkBerg 2 жыл бұрын
Still have plenty to come 😀
@Rob_Turner_UK
@Rob_Turner_UK 2 жыл бұрын
Great explaintion
@soroushsarkari9977
@soroushsarkari9977 2 жыл бұрын
Thanks for your wonderful channel and videos 🙏🏻
@TheNetworkBerg
@TheNetworkBerg 2 жыл бұрын
Thank you for the kind words!
@Vinothmanick
@Vinothmanick 2 жыл бұрын
Great video as usual kudos ✌🏻😎
@TheNetworkBerg
@TheNetworkBerg 2 жыл бұрын
Thanks 👍
@salmanseed1207
@salmanseed1207 2 жыл бұрын
God bless you
@IronTrela
@IronTrela 2 жыл бұрын
I like your videos so much. Which software you use for network design at the beginning of the video? Keep up the good work!
@TheNetworkBerg
@TheNetworkBerg 2 жыл бұрын
It's a web tool (draw.io) can create free diagrams on it :)
@alimibrahem8120
@alimibrahem8120 2 жыл бұрын
Very very thanksful man, you are a wesome..!. However, the amazing thing that i wounder how you do is how you can combin the eve topology with the winbox..? So when you disconnect the line the winbox session is quickly response to that..? Please can you tell us how we can do that..?
@jasonvanwyngaard4387
@jasonvanwyngaard4387 2 жыл бұрын
Thoroughly enjoy your channel. Seen very elaborate failover setups using mangle. Why use that instead of what you've demonstrated?
@TheNetworkBerg
@TheNetworkBerg 2 жыл бұрын
There are hundreds of ways to implement failover, it depends on the requirements and how you want things to failover in the event of an error. Personally as an ISP I prefer having BGP configured to CPEs and then having that protocol act as a failover mechanism. I've even seen some people do things with Netwatch to disable a primary route in the event a failure. Sometimes though a very simple solution like in this video works fine for failover
@biki1973
@biki1973 2 жыл бұрын
what if i have server behind my router, when main ISP is down server will be visible under different ip from second ISP, is there any clever way to make it work?
@TheNetworkBerg
@TheNetworkBerg 2 жыл бұрын
I assume you are talking about external access to the server. So if the primary ISP goes down, how can people still connect to the server when its public IP changes. Well... I think the easiest solution for that would be to implement DDNS (Dynamic DNS). So that if the primary does go down the DDNS can be updated automatically to the new public IP which you will also need to add NAT rules for. Otherwise you can manually update an A record to the new public IP, but that can have its own issues especially if the address you receive may be dynamic. So I really think DDNS is the best option for a scenario like that.
@DimitriPappas
@DimitriPappas 2 жыл бұрын
Great content as always. I do think it would be awesome if you could cover Ptp addressing in a bit more thorough detail at some point, as you barely skimmed the surface of that topic enough for anyone to really grasp how to implement it properly, and to be honest I don't quite understand the implementation you showed (with 100.64.0.253 as an address and 100.64.0.1 as the network/peer - these IP's are not adjacent with each other, so how does this even work exactly?). Could ANY IP be used as the network IP even if it shares nothing in common with the primary IP address? I also didn't know about /31's until now, or that we can even use /32 with peer as network address to establish a link. Until now I've just used /30's but that seems a bit wasteful for cases where a /31 or /32 configuration would work just fine. Your video did prompt me to try read up a bit more about this on the mikrotik forums for some answers, but I feel like this is still quite an uncomfortable/grey area. It it seems /31's are actually discouraged because of incompatibilities between different vendors/standards, particularly when it comes to dynamic routing protocols like OSPF, and surprisingly it seems Mikrotik are somewhat behind with their implementations/compatibility with /31 and /32 ptp which surprises me a bit given their prominence & speciality in the field of routing. Hoping to therefore hear your thoughts & sentiments on this in more depth and whether you think it's even worth using /31 and /32, especially in production/enterprise environments? Cheers! :)
@TheNetworkBerg
@TheNetworkBerg 2 жыл бұрын
Not sure why KZbin labeled your content as spam, might be because of the IP addresses since they are highlighted for some reason. But this made your comment hidden until I had to go into a spam section and approve it. Correct, some vendors do not support /31 addressing at all which is why it is more normal to see /30 addressing being used for most point-to-point links. If you are going to use /31 with another network first confirm with them if their equipment supports it. I think it's fairly straight forward to see PTP addressing in action whenever a client forms a connection to any of the PPP services, you will see that the MikroTik server will give itself an IP, and that a remote IP will be given to a client where these two devices can directly communicate. In MikroTik's case with using the Network address as the adjacent device's IP it is not required for this IP to be in the same pool. You could have your IP as 1.1.1.1/32 and the Network address as 2.2.2.2, if the remote side has its IP as 2.2.2.2/32 and the network as 1.1.1.1 then both devices will be able to communicate on L3 without any issues. Although it does make logical sense to add IPs in a sequence as that makes sense to us as we've been doing it for years this way. So you could use 1.1.1.1/32 and 1.1.1.2 as a network (heck can even start at 0 or end at 255 that's what makes ptp nice) On our network we actually make use of PTP addressing quite extensively on our L2TP tunnel connections, although it's more in a static sense as we do not use pools for our clients as we want each client to have static IP bound to it so we tend to just assign 2 IP addresses out of a reserved /22 pool. One IP for the server and then one for the client. We also make use of PTP addressing on a few of our BGP peers, and it has been working correctly without any issues for the last 3 or so years. So yeah, if you want to save on some IPs by using /31s for stuff like PPP services then I could recommend it from personal use.
@DimitriPappas
@DimitriPappas 2 жыл бұрын
@@TheNetworkBerg Thanks for coming back to me on those points with such a great reply. Super interesting stuff :) I have indeed seen that ptp phenomenon with pppoe connections before (even years ago with ADSL) and always wondered how that was possible. Now we know :D I guess I'll be sticking to /30's for anything serious for the time being as that's guaranteed to work across the board, but it's good to know about this stuff and definitely something to play with in the lab to see where it could potentially be used 👏🏻
@matej_stepan
@matej_stepan 2 жыл бұрын
The hardest thing about failover is to determine it. Check gateway is not a great option for internet use because it checks the gateway not the internet. I have several IPs just for check fail purposes.
@TheNetworkBerg
@TheNetworkBerg 2 жыл бұрын
We'll take a look at recursive routing in the next video which is very nice for internet based failover scenarios if the gateway remains up even if the "internet is down"
@ashleygraemetari523
@ashleygraemetari523 2 жыл бұрын
@@TheNetworkBerg perfect. Your tutorials are awesome as always.
@DimitriPappas
@DimitriPappas 2 жыл бұрын
I use custom scripts & scheduler to handle most of my Multi-WAN failover, because as you say the ping check doesn't always work. Just because the gateway is reachable/pingable, doesn't mean the breakout to the internet side of things is operational. So it's best to ping a real world public IP and make a determination based on that
@berry9312
@berry9312 2 жыл бұрын
can we send bandwidth from city A to city B with mikrotik..
@TheNetworkBerg
@TheNetworkBerg 2 жыл бұрын
Definitely, you can even implement stuff like OSPF, BGP or Policy Based Routing and send traffic to as many cities as you want to.
Full MikroTik MTCRE - Recursive Routing (Easy Automatic failover)
14:57
The Network Berg
Рет қаралды 62 М.
Full MikroTik MTCRE - VRF (Basic Overview & Lab)
19:23
The Network Berg
Рет қаралды 19 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 96 МЛН
How many people are in the changing room? #devil #lilith #funny #shorts
00:39
Full MikroTik MTCRE - Policy Based Routing (Mangles) 😎 (Episode 5)
18:54
Full MikroTik MTCRE - OSPF (An Introduction to a GIANT of a protocol!)
43:40
Recursive Routing + Failover - Mikrotik RouterOS v7
20:35
Wilmer Almazan / The Network Trip
Рет қаралды 50 М.
Things I don't like about MikroTik...
11:50
The Network Berg
Рет қаралды 30 М.
Full MikroTik MTCNA - PPP & PPPoE
21:32
The Network Berg
Рет қаралды 26 М.
Subnet Mask - Explained
17:55
PowerCert Animated Videos
Рет қаралды 3 МЛН
Policy Based Routing + Failover - RouterOS v7
31:09
Wilmer Almazan / The Network Trip
Рет қаралды 30 М.
Proxmox NETWORKING: VLANs, Bridges, and Bonds!
25:09
apalrd's adventures
Рет қаралды 163 М.
This Heater Can Save Lives During Power Outages!
19:48
Project Farm
Рет қаралды 519 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 96 МЛН