Routers are network devices responsible for forwarding packets toward their destination by determining the best path at each step along the way. Each router in the path examines the destination IP address and decides the next hop until the packet reaches its target.
Routers
Routers start getting really cool, because we're going to start seeing how everything is coming together to make this communication happen, and routers are a big key to all of this.
A router's function is to forward packets, to route packets. That's what a router is doing: it is routing packets.
In this scenario right here, we have a machine and it's communicating to a server over here. What it needs to do is it needs to send it to its default gateway, so it gets it to this router. The job of that router then is to figure out, where do I need to go next? What route does it need to take? So this router says, I'm going to need to figure out what route it's going to take. And then it sends it along its way.
Every router along the way does the same process. This router right here is going to say, "Okay, where do I need to send that? What is the destination IP address? And where do I need to send it next?"
Each one of these is called a hop. So this router is concerned with what is the next hop. This router is concerned with what is the next hop. And then this router sends it on to that server right there.
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →