Hi and welcome to Cyber Eri. My name's Anthony and I'm your local subject matter expert here for Network Plus And today we're gonna be talking about installing and configuring routers and switches.
So when we're talking about setting up our routers and setting up our switch is one of the first things that we need to take a look at our routing tables. Now we've talked about routing tables in depth in an earlier module on we've talked about the different routing protocols, which worked with our routing tables. But just is a recap. Our routing tables allow our router to know
what the best path to send packets is.
It allows our routers to know if we have a particular packet that needs to get to a certain network, where to send those different packets and where to send packets if our router doesn't know of what exact network to go to, so we need to set up our routing tables accordingly so our packets get to the networks that they need to go to
now our routing tables we can access to modify our settings through our administrative portal on our route a router or we may access our router through a serial cable or through a particular cable that allows us to access the router command interface.
Now when we access our router through administrative panel, a lot of times this is an actual
Web address that we go to we entering a browser and it brings up a graphical user interface. We'll enter in a user name and password, and then we'll be able to modify the settings. That way, if we access the router through a direct cable, that we need to just bring up a control are an actual module session. For
then what will be doing is we'll be talking to the router in command line.
So all the all of the information that we're talking to the writer in all of the commands that were getting giving the router will all be text. So before we do that, we need to actually understand. I will need to know a little bit more about the actual commands and the actual syntax of our particular router. It can vary depending if on if our router
Adele manufacturer or Cisco manufacturer or a particular Verizon or Comcast s o, the manufacturer of the router may determine the differences in the syntax. When we're typing our information into the command session on a router, where it's actually a command line typing into a router,
our routing tables can either be dynamic or they could be static.
Now, dynamic routing tables automatically automatically find routes using different protocols. Now we need to make sure that we're using the appropriate protocols for the correct situation.
There's two main distinctions between our protocols, and it's theirs. I G P protocols and E G P protocols. I G p protocols are interior gateway protocols and these there are protocols that work on our on our network on our autonomous network. So we have multiple routers
inside of our network to segment are
enterprise into multiple network segments. So well, we would use I g p in one of these I g p protocols. In order for those routers to determine the paths between them, E g P would be used on a route in and out facing router and out facing router, such as one that is connecting to a
autonomous networks, one that isn't under our management, such as the Internet or such as a another corporate enterprise or another, maybe even another building that may not be under management. This border gateway protocol is going to be similar to our
is going to be similar to a protocol that determines the pat paths
based on shortest top. But our border Gateway protocol is only going tohave one speaker node per autonomous network. So in our border Gateway Protocol, what we'll have is will assign one speaker node that speaks out to the to the other networks and says, Hey,
here's my routing table. Here's my routing table information that I'm gonna share with you
and and we'll share it that way. And then our border Gateway Protocol will find the location of other networks by going along and measuring hot counts and the amount of hops and amount of other routers that has to go through to get there. But again, we talk more specifically about our different protocols. I g p versus E. G. P. In our previous routing module
with a i g. P. We have several different routing protocol types.
We have a whip whip V to open shortest path. First, i g r p N E I G R P R most common i g p protocol that will see it on routers will be, oh, SPF Open Shortest Path first g R P and E I G R P R. Both Cisco proprietary routing protocols
and Rip and Rip V to you Won't see is often, as we'll see open shortest path first
with E g p. The only the only routing protocol that e g P uses is border gateway protocol.
So that's our dynamic routing tables that are routers will use these different protocols determining things such as round trip time hop count bandwidth, leighton see ah, bunch of the other different metrics, depending on our routing protocol for our routers to determine. Hey,
this would be the best path for me to go to that this would be the best way for me to get from
me to this other network. And then all of our different routers and are in our network in our one autonomous network will share that information between each other.
Now, static routing tables are when we manually set static routing information. So we manually say Okay, if you're sending, if this router sending a packet to this network I wanted to go through this. I want it to go this direction or if it's sending a package of this network, I want it to go this direction
now. This is useful if we are trying to identify a particular resource is of particular network,
and we want a router to specifically go this path. But if we did this all the time, if we did this for every single network in every single route, every single route, it would take a lot of management. That's why we use dynamic rounding tables. But there's still some situations in which we may want to set a static route.
For example, if we are setting up a test network and we're utilizing
on, we're utilizing test functions and we're trying to send a packet to a network which may actually be a live network. On our development side, we want to keep those two. We want to keep our test in our development side segmented so we don't want our test router going out and finding paths over to our development side.
So we'll set static routes so it only
traffics the data to our test side rather than to our development side rather into on not into our live network.
Standing with static rounding tables, we can also set a default static route. So if our router doesn't know, sees a pack it with a destination for a particular network and it doesn't know anywhere else to sin this packet, it doesn't know of any other networks or any route to send this packet. It's just going to send that path
packet through its default static route.
And lastly, remember, S T P S T P stands for spanning tree protocol, and it helps our routers. That helps our devices prevent from forming loops. So if we have multiple routers in an environment and these routers air inter connected to each other for redundancy sake for fail over sake,
then we want to make sure that we have STP implemented properly.
STP sets up our communicates between our routers, and it helps block off certain links in order to prevent these loops. So we need to understand. We talked about S t. P a little bit more in depth again in a previous module. But just keep that in mind that when we are setting up our routers setting up our routing tables.
In order to prevent these endless loops, we may want to set up
our STP. We may want to make sure that we have spanning tree protocols set up properly.