Configuring basic OSPF and manipulating the Hello packets on MikroTik RouterOS v7

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi there that is manhattan here again in this lecture i have to show you how you can configure ospf on the microtech router as version 7 and we have to play with the hello package that's something we have already learned about so as you can see here we have a lab of nine pawns before i start doing those pawns let's go to the scenario to understand what is our scenario and then i will come back to the points and start doing them so this is my scenario i do have two routers two microtech routers router one dot or two connected to each other actually this is here ethernet one and not ethernet too so on both interfaces ethernet one and internet one so then what i need to do is just to put ip address on those interfaces to be the same range i have to make a network so this is like a lan from that side and this is like another land from another side so what i need to do is just to create a bridge interface and put on it this eyepiece so the bridge is nothing more like we think that that's a land so the idea is that i want at the end router one to be able to reach to that network actually not only router one i want as well this network to reach to that network and that network also to reach to that network so i need to configure spf here i need to configure spf here i have to show you how you can advertise the connected network and then we see if the neighborship will be formed and we see if each of the router will receive the routes then this router will have in his routing table that if you want to go to 2.2.2.2 go to this next hole and router 2 will have in his routing table if you want to go to 1.1.1.1 go from this next hop all right then we do the ping we see if it's working then after we finish from that i want to play with the hello package we have to see what are the hello devil the dead interval so by default we said there are 10 and 40. so what i'm going to do i have to go to router 2 and make for example the hello until 11. then this is 11 this is 10 that they are not the same we will see that they will lose neighborship now i'll make it then again we'll see that they will again neighborship i'm going i'm going also to play with the password so i'm going to put the password over here then this has does not have password this has a password that neighborship would be losing now i'm also going to change the area so those things that we have seen them inside the yellow package that needs to be matched so those are the things that we are going to do in this lab to see if what we have learned about the hello package are applied on the micro decoratorize so let's go now back to the pawns and start doing them point number one on router one give an ip address of 1818.12.1 and that's on the interface internet one and the creator bridge you give it ip of 1.1.1.1 so as i have explained to you that's what we need to do please on router 2 the interface is not internet2 it is ethernet one what i am now connected to so don't get confused okay all right so let's go to router one and from router one first i have to go to the ip address and i just need now to put ip addressing so 192.168.12.1 24 on ethernet one then i will create a bridge interface which is going to be my lamp so this is like a lamp and i'm going to put an ipo on it 1.1.1.1 which is the lan from router 1. so this is done on router 1. point number one is now point number two on router two give an ipad address of 1918.12. it should be here.2 and not.1 and then create a bridge interface then give it ip of 2.2.22 so same what we have done on router one we have to now go to router two that is router two now i'll go again ip address 192 168.12.2 24 we create a bridge interface to be like the lan and then i'm gonna put an ip on it to the to the two on the bridge interface now just to check we can just run a ping to 192 168 we will see that we have a reply so both routers are able to see each other that's why now what we can do is to run our spf because if you look now on the ip route this router does not know how to reach to 1.1.1.1 you see he doesn't know anything so if we try to go to 1.1.1.1 now we should didn't be able so ospf would help us to solve this problem point number two is downpour number three on router one create an ospf instance and an area then a template to advertise the connected networks so that's the difference also on a router 7 with router 6 you need to create the area on router 6 you had already the area you didn't need to create it all right and on the instance you could change something on it but now you need to create the area you need to create the instance on the router os version 7 and then to make the template so let's do that we have to go to router one first we go to routing and we go to ospf now if you want you can also give here the router id if dumped if that's something you want to do it which you see it's already taking it 1.1.1.1 dynamically but now we go to spf and from here we have first to create the instance so the instance is gonna be oh spf instance one that's fine you can choose here version two or version three you see so this is ipv4 this is ib version six so we take this version four and the router id well it is the main which means this one if we look to it so this is the one but uh if you want you can also write it over here yourself you can just put 1.1 if you want all right so this is done from that side and now we have to create the area so instance then the area the area we are going to speak about it that is the area 0 which is the backbone area so i'm gonna create area zero and we are going again to speak about the areas the different type of areas and why we need to have multiple areas on our network but for now we're gonna create the area zero which is on instance one that i created and this is the area id which is zero zero zero zero so that's the backbone area that's fine so this is done now we go to the interface template and on the template i have to say that i want to put in the ospf area 0 and i have to advertise the network over here you can say which network you want to advertise 192 168.12 24 and i want to advertise over here the network which is 1.1.1 so the network type is broadcast okay we leave it as it is and yeah that's it that's what we all need to do over here you can if you want put here the interfaces that you want so interface one but for by just putting the network over here that is okay and then i will say here okay so this is done from the side of router 1. we will check now because at this moment there is no neighbor because we didn't configure router 2 so we have to do the same on router point number three is down point number four on router two creator spf instance area and also the template to advertise the connected networks all right so we go to router two now we are on router two routing ospf we create the instance so this is the instance i will put also router id if you want again you don't have to just if you want so that's it now we go to the area also i'm gonna use ospf area zero the backbone area and here the template so the network 192.168.12.0 slash 24 and 2.2.2 and okay so in a moment we should be able to see neighborship 4 between router 1 and router 2. part number 4 is down point number 5. check if both routers can ping each other and then check if our spf neighbor ship is formed so let's go to router one and the okay we see here in the neighbor look there is a neighbor already formed from router one to other two so if you want to can make it a bit small to be next to each other oops so let's put it like this and we open the second one so we can like this we have a better overview so this is router 1 this is router 2 router 1 has neighborship with router 2 you see the state is full full excellent that means now router 1 if we go to ip routes it should be ip routes you see he knows how to reach now 2.2.2 excellent and router 2 if we go to ip routes you know how to reach 1.1.1.1 very very good so now that means if i run a ping again and i say i want to ping to 1.1.1.1 but i want the ping to come from 2.2.2.2 so that means from land to lan all right i do it from router 2 and here we go you see the ping is working so yeah we have configured or spf on microtech router os version seven point number five is down point number six issue a ping from router two to 1.1.1.1 and keep it open so let's do that again so i have issued a ping and it is open let's do point number seven go to router two and now we have to start working actually with the hello packets go to router two change the hello interval to 12 second is the neighborship font bring it back to ten so what does this mean here if we go to router two and if we just put it a bit down like this and if we go oh let me just make it big all right so i put this is open here the pink running this is the route there so if you go to the routing or spf and on routing ospf if we go inside the interface template so we can see over here look this is the hello and t4 that i was talking about 10 and 40. this is on the router 2. if we go to router 1 there is router 1 routing and we go to ospf inside the interface template should be the same you see 10 and 40. so that's why the neighbor has been formed because one of the criterias not only that one there should also the other criteria that i showed you about they should match but this is one of the criteria which is match so they said okay fine change the hello interval put it 12. look to the pink so the pin is running everything is fine now i just changed the hello interval to 12. okay so we have to wait a little bit and we should see in a moment that the pink should stop so just give it a second and we will see first of all we will look to the neighbor here we shall not have neighbor anymore in a moment and we shall not have here the route anymore and the pink should stop because the uh the hello now is 12 from this side from the other side is 10 so 12 and 10 they don't match to each other then this is not gonna work in a moment of course at this uh what you see here because i'm running gns3 but also you remember the hello uh interval and the data interval takes up to 40 seconds for this to finish but anyway what you have seen now you see request timed out neighborship is gone the route is gone yeah amazing right so now let's go back to the interface template remember that it takes up to 40 seconds for this to happen because this is the dead interval so the rather weight up to 40 seconds until you say well this neighbor is not there anymore so now let's put it again 10 so from the both sides there are 10 and okay so now if we go back to the neighbor we should have a neighbor in a moment we should see that is the neighbor is now two-way it is full now we should receive from here the route from our spf and we should have the ping working again so now it is full in the moment this is the route and that is the pain working again so really like i have explained to you this is one of the criterias that should match so let's see what is the other pawn to do font number seven is done point number eight on router two put the password on ospf is the neighborhood still formed remember then you also needs to have the authentication password the same from both sides now there is no password but let's put password on router 2. so this router 2 the ping is working how to do the password again everything you have to do is from the interface template so i'm going to use here the authentication md5 and i'm gonna put here the password one two three four five six and the authentication id you can leave it nothing but if you want you can just put for example number one so i just put the password based on md5 you see you have md5 and you have simple md5 it makes hashing for the password so anyone capturing traffic in your network he can't see the password wide and simple he can see the password because it's plain text so that's why i prefer to use md5 so from this side we have password from the other side we don't have password let's see what's going to happen so again we wait a little bit let's go to the neighbor to see what's going to happen so in a moment the neighbor once the dead interval is finished the enable will be not formed anymore reduce the route and we don't have the ping so let's give it a bit of time until this to happen so you can see now directly here we go so we don't have neighbor the route is gone and this is gone so here you can do one of the two things or you remove the password from the side or you put the password on router one right so let's do it we go to router one on the interface template i'm going to say i want to use authentication md5 one two three four five six authentication id one apply so that means in a moment we should have the name because both they have now the same password both the rmd5 and yeah here we go so this is the neighbor is on in its state it can go to two way then to full and then we should receive in a moment the route and then we are able to ping so that is full already the route will show up in a moment on router two and then the ping will be working again you see that's amazing so those things you should be very careful when you play with the hello package that those things are the same this is the ping is working now what else if i put here on router 1 i put instead of authentication mp5 i put simple so i'm gonna use the same authentication which is if we look here one two three four five six but i'm gonna make it simple so do you think that is gonna work this track i make okay here let's have a look now if this is gonna stay working let's give it a time to see so you can see that the neighbor now is gone the route is gone and we don't have ping anymore wow that means that you should use the same authentication method that you want to use it on both others so if it's md5 then you put it there also md5 and if it's simple on one side then the other side should be simple because those are two different authentication algorithms that are happening so let me just put it back md5 so we have neighborship again so i'll put it md5 and we should have neighborship in a moment point number eight is done and the last point of this lab is to play with the area so now both they are on area 0. now they said that on router 2 we have to put ethernet 1 on area 1. so we have area 1 from one side we have arrow 0 from the other side on the other router so as you know if the areas are not the same then the neighbor would not be formed so let's have a look so we have now the ping is working now what i need to do is to go from this router and i'm going to change over here the area and i'm going to make it area one so i just message zero to zero to zero dot one all right and uh directly once i make it area 1 you see i don't have neighbor because from the other side if you go to router 1 the area that i'm using is area 0 which is [Applause] 0.0.0.0 you see why here now it is zero to zero to zero that one let's bring it back to zero and in a moment we should have the neighbor again and we should have the route received so let's have a look so in a moment we should have the route received and we should have the ping working so here we go so yeah now there is still the stop but that's something yeah i'm not going to cover it now because i need first to explain about what is the stop areas and yeah why we need to have stop areas but just remember that also on stub areas if you have two pure routers that they are not together as on the the connected interfaces on the stop areas that they will not form neighborship so if you have one on the stop one on the normal area which is for example area zero then they will not form neighborship point number nine is done and with this point i have showed you about how you can configure ospf on router s version seven and then we have played with the hello package i have showed you that by just changing the criterias that i have showed you inside the hello package which should match then there will not be any more neighborship between the routers so i hope that this lecture was informative for you and i'll see you in the upcoming lecture you
Info
Channel: MAICT Consult
Views: 1,537
Rating: undefined out of 5
Keywords: ospf mikrotik, mikrotik ospf nbma, mikrotik ospf failover, mikrotik ospf redistribute default route, ospf mikrotik tutorial, mikrotik ospf network type, ospf mikrotik point to point, mikrotik ospfv3, mikrotik ospf default route, ospf mikrotik paso a paso, mikrotik ospf priority, Maher Haddad, My Network Training, https://mynetworktraining.com
Id: ynmsapjWGxY
Channel Id: undefined
Length: 19min 14sec (1154 seconds)
Published: Wed Nov 17 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.