đź“—MikroTik MTCNA - Route Configuration

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
welcome back this is the networkberg and in this lecture we'll be going over implementing routes on a network we'll be looking at adding default routes as well as adding specific destination routes and i hope you enjoy the video let's get into it all right i've got a little topology here in even g and i don't want this to be confusing so please please don't treat routing as this big giant mountainous thing that's really um going to hit you it's it's really straightforward once you get the hang of it you just need to get used to it by practicing it by setting up some practice routes that's why i recommend stuff like even g or even small routers so that you can just figure out how routing works but in our topology i've essentially got three routers two of the routers which is rather two and three at the bottom they're hosting some lan networks and by the end of this lesson these two lan networks will be able to communicate with each other using static routes and we'll also be setting up some default routes out to the internet on those routers so that we can get internet access all right so let's get into some configuration first thing i want to do is i want to just get into winbox and then i want to connect onto router 1 on rawmon and then we're going to connect onto router 2 to configure a default routeout so i'll connect onto router2 and i will just zoom in and we'll navigate to the routing table so we'll go to ip routes and let me just delete that old entry quickly and in the routing table what we want to do is we want to set up a default route out and to achieve this we can just click on the plus and we can specify the destination address and that's 0.0.0.0.0 and the gateway is going to be the ip address of router 1. so we're working on router 2 but we're going to use this ip addressing that exists between router 2 and 1 which is 10.128 at 100 and write it once ips.129 so we use that as our gateway so 10 128 100 129. we'll apply this and this will add a static route into our routing table i forgot to just mention these other routes that exist these are the directly connected routes and they exist because we've added ip addresses on our interfaces so they are locally configured ipads they're on the router itself all right now we've configured a default route out let's just see do we have internet access so we're going to ping 8.8.8.8 and we do indeed have internet access so that's perfect we're going to do the same for out of three quickly but this will just do through the command line so you can see the differences so this is going to be let's just first look at our routing table we can see that by going ip route print so there's a routing table and if i want to add around it's as simple as ip route add destination dash address equals zero zero zero zero slash zero and gateway equals 10.128.100.33 that is going to be the gateway if i look just look at my topology as well we can see that 33 is the ipaddress of this rounder one and let's just verify can i get out to the internet or let's look at our routing table ipr print so we can see the default route has been added and let's see can i ping out i can't so i've got internet access on both of my routers now let's ask the question can my two lan networks get to each other let's quickly see what i'll do is from router 2 on winbox i'll also just do a ping but to the terminal here and let's see can i ping um 172 16 0.1 which is the lan address of router 3 site b's router can i ping that no that's failing at the moment all right so i know why that's failing uh do you guys have any idea i'm not gonna like leave you hanging or anything but the reason this is failing even though we've got default routes out and it is pushing all traffic to router one router one probably has no idea about these networks so rather one doesn't know how to get to this network so it's just discarding that traffic so let's get on to router one and i'll just connect onto inbox for this so let me go to my neighbors connect on one box and then zoom in and then let's add our ip so let's go to ip route so rather one already has a default route out and it's got some other interfaces configured here but what i want to do now is just click on the plus and now we're going to specify our destination so from router 1 i want to add routes for these lan networks to their gateways so router 3 and router 2's ip addresses on the wan so site a is zero zero slash 24 and i'm going to route traffic to 10 128 100.130. so let's add that so 192.168.0024 if i want to get there i'm going to use 10 128 100 130. i'm going to apply this and now i've got a route for that but i've only got one route now i need to add the route for the 172 side as well so let's quickly add that and let's do that on rather one and you can copy your app by just double clicking it you can copy and you can quickly also just change some of this stuff so i'll just change this for 172 1600 24 but we know this gateway is going to be different as well so this is also 10 128 100 134 that is the wan ip address of rather three let's apply 10 128 100 134 that failed let's just quickly see why that's failing so 10 128 100 oh it's it's just 34 so i don't know why i thought it's like 134 all right so now we've got two active routes and you saw it it did turn blue because the route didn't know about that interface or the actual um ip address so that's why it failed okay so now we've got two active routes and they each go to their respective routers let's quickly test again now so what i'll do is um i'll go to router 2 again and let's try and do that same thing to 172 16 hooray i i get a response now and i'd like to do the same test by just going to a pc that's connected on um site a and this pc's ip address is 192.1680. so let's see can i ping 172 16 0 dot 20 i think that is the ip address i signed for the pc2 on the right that is correct can i ping i can ping across so that's great so the routing does work um one thing i do want to just stress out with the routing if i do a trace can i do a trace um from this virtual pc let's just see 172 16 0 20. let's see if it's trace rt 172 16 020 all right perfect so if i do a trace round we can actually see the path that the route took or that the traffic took to get to its destination and this is vital i don't i'm not sure if i mentioned this in the traceroute when i was talking about basic troubleshooting tools but each of these items present a router where traffic was and was being forwarded to next so traffic first went to router 2 on the left hand side so it first forwarded or sent the traffic to router 2 router 2 received it then router 2 sent it on to router 1 which is here then router 1 received it and sent it off to router 3 and then from router 3 it just got to its destination so that's also why traceroute is nice because you can actually path or you can figure out the path traffic took to eventually get to a certain destination and if you see something isn't getting somewhere then you could look at the last hop and then be like okay traffic was stopping their last either those people are blocking icmp or trace traffic from happening or there's a problem there and they can potentially investigate and sort out those issues okay this covers basic routing so now you know how to add a default route out to the internet as well as how to just add static routes as an administrator to get between different networks i hope you enjoyed the lesson and i'll catch you in the next video bye you
Info
Channel: The Network Berg
Views: 982
Rating: undefined out of 5
Keywords: #Routers, #CCNA, #CCNP, #MTCNA, #MTCRE, #MTCINE, #Networking, #Computers, #Ethernet, #DHCP, #Configuration
Id: qWLCr0w0bv4
Channel Id: undefined
Length: 9min 15sec (555 seconds)
Published: Fri Oct 22 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.