[TIL] Routing

I’m currently studying for the CCNA exam, primarily using Jeremy’s IT Lab YouTube channel. He’s well-known for providing great CCNA content, and the best part is that it’s all free on YouTube. Jeremy also offers Anki flashcards, which I absolutely love and use daily, as well as Cisco Packet Tracer, which is an excellent resource for hands-on practice. I plan to take the exam in 3 to 4 months, though this timeline might change depending on my study and preparation progress.

Today, I learned about routing.

What is Routing?


Definition:

Routing is the process that routers use to determine the path that IP packets should take over a network to reach their destination.

When a router receives a packet, it’s the router’s job to forward it to the correct destination.

Routers store routes to all of their known destinations in a Routing table.

Switches keep a MAC address table with their known destination MAC addresses, and routers keep a routing table with their known destination networks.

When routers receive packets, they look in the routing table to find the best route to forward the packet.

There are two main routing methods:

What exactly is a route?


Basically, it’s an instruction to the router.

A route tells the router:

Also, there are few types of routes found in routing tables.

  1. Connected routes
  2. Local routes

Connected Routes

Local Routes

There’s a special kind of static route called a default route.

This is a route that you configure inside the router that says, if nothing else matches inside of our routing table, send the traffic this way.

It’s also known as the “gateway of last resort”

A default route is a route to 0.0.0.0/0

#Today I Learned