Free CCNA | Routing Fundamentals | Day 11 (part 1) | CCNA 200-301 Complete Course

Free CCNA | Routing Fundamentals | Day 11 (part 1) | CCNA 200-301 Complete Course

Welcome to Jeremy’s IT Lab

This video is an introduction to the CCNA course and covers routing fundamentals.

What is routing?

  • Routing is the process routers use to determine the path that IP packets should take over a network to reach their destination. Routers store routes in a routing table.
  • There are two main routing methods: dynamic routing, where routers use protocols like OSPF to share information, and static routing, where routes are manually configured.

Understanding the Routing Table

  • Routers have a routing table that contains instructions for forwarding packets.
  • Two types of routes found in a router's routing table are connected routes and local routes.
  • It's important to know how to read a router's routing table.

Route Selection

  • The router selects the correct route for a packet based on various factors.
  • Understanding route selection is crucial for the CCNA exam and networking in general.

Routing Basics

This video continues with the topic of routing fundamentals and explores what exactly is meant by "routing."

What is Routing?

  • Routing is the process by which routers forward packets to their proper destinations.
  • Routers maintain a routing table with information about known destination networks.

Dynamic vs Static Routing

  • Dynamic routing involves routers automatically sharing information using protocols like OSPF.
  • Static routing requires manual configuration of routes by network engineers or administrators.

Routes and Instructions

  • A route instructs the router on how to send a packet to its destination.
  • Routes specify next-hop addresses or direct delivery if the destination is directly connected or self-addressed.

Example Network

This video introduces an example network that will be used to demonstrate routing concepts in subsequent videos.

Example Network Setup

  • The example network consists of four routers connected together, representing a Wide Area Network (WAN).
  • LANs are connected to R1 and R4, representing local area networks.

IP Addresses

  • Each device in the network has assigned IP addresses.
  • IP addressing follows a simple scheme where router IPs match their names.

Conclusion

This video concludes the introduction to routing fundamentals and previews the next video on static routes.

Summary of Routing Concepts

  • Routing is the process of forwarding packets to their destinations using routing tables.
  • Routers use dynamic or static routing methods to learn and maintain routes.
  • Routes provide instructions for packet delivery, specifying next-hop addresses or direct delivery.

Next Steps

  • The next video will focus on configuring static routes on the routers in the example network.
  • Understanding automatic route addition in a router's routing table will be covered in subsequent videos.

Interface Configuration Mode

In this section, the speaker explains how to configure interfaces in interface configuration mode and highlights that there is no need to return to global config mode before entering another interface configuration mode.

Configuring Interfaces

  • When in interface config mode for G0/0, the command INTERFACE G0/1 can be used directly without returning to global config mode first.
  • There is no need to use EXIT command to return to global config mode before entering another interface configuration mode.

IP Address Configuration and Routing Table

The speaker demonstrates configuring G0/2 and shows the IP addresses configured using the SHOW IP INTERFACE BRIEF command. They mention that although they have also configured IP addresses on other routers, they will focus on R1 in this video. Then, they proceed to show R1's routing table using the SHOW IP ROUTE command.

Configuring IP Addresses and Viewing Routing Table

  • G0/2 is configured with an IP address.
  • The SHOW IP INTERFACE BRIEF command displays the recently configured IP addresses.
  • The routing table of R1 can be viewed using the SHOW IP ROUTE command.
  • The output of SHOW IP ROUTE has two main sections: codes at the top and actual routes at the bottom.

Understanding Routing Table Codes

The speaker explains that there are two main sections in the output of SHOW IP ROUTE: codes at the top and actual routes at the bottom. They highlight two codes (L and C) from the Codes legend that represent different protocols used by routers to learn routes.

Routing Table Codes

  • The output of SHOW IP ROUTE has a Codes legend listing different protocols used by routers to learn routes.
  • The codes in the routing table represent these protocols and are explained in the Codes legend.

Connected and Local Routes

The speaker highlights two codes (L and C) from the routing table output. They explain that L represents local routes to IP addresses configured on the router's interface, while C represents connected routes to networks connected to the interface.

Connected and Local Routes

  • L code in the routing table represents local routes to IP addresses configured on the router's interface.
  • C code in the routing table represents connected routes to networks connected to the interface.
  • Connected routes have a /32 mask for actual IP addresses configured on interfaces.
  • Local routes have a netmask matching the exact IP address of the interface.

Automatic Addition of Connected and Local Routes

The speaker explains that when an IP address is configured on an interface with NO SHUTDOWN command, two routes per interface are automatically added to the routing table: a connected route and a local route. They mention that these are not dynamic or static routes but are added automatically when configuring an interface.

Automatic Addition of Routes

  • When an IP address is configured on an interface with NO SHUTDOWN command, two routes per interface are automatically added: a connected route and a local route.
  • These automatic routes are neither dynamic nor static; they are added when configuring an interface.

Understanding Connected Routes

The speaker provides more details about connected routes. They explain that a connected route is a route to the network that an interface is connected to, using its network portion as destination.

Understanding Connected Routes

  • A connected route is a route to the network that an interface is connected to.
  • The destination of a connected route is determined by using its network portion.
  • For example, a connected route to 192.168.1.0/24 represents the network itself and includes all hosts in that network.

Understanding Local Routes

The speaker explains local routes and how they differ from connected routes. They highlight that a local route is a route to the exact IP address configured on the interface.

Understanding Local Routes

  • A local route is a route to the exact IP address configured on the interface.
  • A /32 netmask is used for local routes, specifying only the single IP address of the interface.
  • Local routes do not include other addresses within the same network range.

Network Portion and Host Portion of an IP Address

The speaker explains how an IP address can be divided into its network portion and host portion using subnet masks.

Network Portion and Host Portion

  • An IP address can be divided into its network portion and host portion using subnet masks.
  • The network portion consists of fixed bits representing the network, while the host portion consists of variable bits representing individual hosts within that network.

Matching Destination IPs with Connected Routes

The speaker demonstrates how destination IPs are matched with connected routes based on their network portions.

Matching Destination IPs with Connected Routes

  • Connected routes are matched with destination IPs based on their network portions.
  • If a packet's destination IP falls within the range specified by a connected route's network portion, it will be sent out through the corresponding interface.

Importance of Route Matching

The speaker emphasizes the importance of route matching in determining which route should be used for forwarding packets based on their destination IPs.

Importance of Route Matching

  • Route matching plays a crucial role in determining which route should be used for forwarding packets.
  • A packet's destination IP must be part of the network specified in a route for it to match that route.

Understanding Local Routes with /32 Netmask

The speaker provides further explanation about local routes with a /32 netmask, highlighting that they represent the exact IP address configured on the interface.

Understanding Local Routes with /32 Netmask

  • Local routes with a /32 netmask represent the exact IP address configured on the interface.
  • All bits of the netmask are fixed, specifying only that single address.
  • These routes do not include other addresses within the same network range.

Understanding Route Selection

In this section, we learn about route selection and how routers choose the most specific matching route for a packet.

Most Specific Matching Route

  • When a router receives a packet with a destination IP address, it looks for the most specific matching route in its routing table.
  • The "most specific" means the route with the longest prefix length.
  • Routers prioritize routes that match both the destination IP and have the longest prefix length.

Local Routes

  • Local routes instruct routers to keep packets addressed to themselves and not forward them.
  • Routers de-encapsulate these packets and process them internally.

Understanding SHOW IP ROUTE Output

  • The output of SHOW IP ROUTE may include lines like "variably subnetted, X subnets, Y masks." These lines do not represent routes but rather indicate the presence of multiple subnets within a network.
  • It is important to focus on the actual routes listed in the routing table and ignore these lines.

Practice Examples

  1. Packet destined for 192.168.1.1:
  • R1 selects the most specific matching route: 192.168.1.1/32 (local route).
  • R1 receives the packet for itself.
  1. Packet destined for 192.168.13.3:
  • R1 selects the only matching route: 13.0/24 (connected route).
  • R1 sends the packet out of G0/0 interface.
  1. Packet destined for 192.168.1.244:
  • R1 selects the only matching route: 1.0/24 (connected route).
  • R1 forwards the packet based on this connected route.

4.Packet destined for 192.168.12.1:

  • Two matching routes exist, but R1 chooses the most specific one: 192.168.12.1/32 (local route).
  • R1 receives the packet for itself.

5.Packet destined for 192.168.4.10:

  • No matching routes exist in the routing table.
  • R1 drops the packet as it doesn't have a route to the destination.

Review of Route Selection

  • Routers use their routing tables to find the best route for forwarding packets.
  • Each route in the routing table provides instructions on how to reach a specific network or destination.
  • The most specific matching route, with both a matching destination and longest prefix length, is chosen by routers.

The transcript is already in English, so there is no need to respond in another language.

New Section

This section explains the concept of routing and how routers determine the path for IP packets over a network. It also introduces the routing table and discusses connected and local routes.

Routing Table Instructions

  • The routing table is a set of instructions for the router, guiding it on how to forward packets.
  • When an IP address is configured on an interface and enabled, two routes are automatically added to the routing table: connected route (C) and local route (L).
  • A connected route is a route to the network connected to the interface. For example, if the interface's IP is 192.168.1.1/24, the connected route will be to 1.0/24.
  • A local route is a route to the exact IP address configured on the interface. For example, if the interface's IP is 192.168.1.1/24, the local route will be to 1.1/32 (specifying just one IP address).

Route Matching

  • Routes "match" destinations based on whether the packet's destination IP address falls within the network specified in that route.
  • If a router receives a packet without a matching destination in its routing table, it will drop that packet.
  • In case multiple routes match a packet's destination, routers use the "most specific" matching route with the longest prefix length to forward that packet. This differs from switches that require an exact MAC address match in their tables for forwarding frames.

New Section

This section provides a summary of key points covered in the video and introduces the topics of routing fundamentals and static routes.

Summary of Video Content

  • Routing is the process routers use to determine the path for IP packets over a network.
  • The routing table on a Cisco router contains connected and local routes that are automatically added when an IP address is configured on an interface.
  • Routers select the most specific matching route from their routing table to forward a packet based on its destination IP address.

Quiz Questions

  1. The IP address configured on a router interface appears in the routing table as what kind of route? Answer: C, local.
  1. When R1 receives a packet destined for 192.168.3.25, what will it do? Answer: B, receive the packet for itself as it has a local route to that IP address configured on its G0/2 interface.
  1. True or False: Switches flood frames with unknown destinations, while routers drop packets with unknown destinations. Answer: B and C (True). Switches flood frames, but routers drop packets instead of flooding them with unknown destinations.
  1. Which types of routes are automatically added to the routing table when configuring an IP address on an enabled interface? Answer: A, connected (C) and local (L) routes are automatically added to the routing table when configuring an IP address on an enabled interface.

New Section

This section concludes the video by mentioning that there is more to learn about routing and introducing static routes as the next topic.

Conclusion

  • This video provided an overview of routing concepts, including how routers determine paths for IP packets and the role of the routing table.
  • The next video will delve deeper into static routes, expanding on the understanding of routing.
Video description

Free CCNA 200-301 flashcards/Packet Tracer labs for the course: https://jitl.jp/ccna-files 📖 My CCNA Book: Vol 1: https://jitl.jp/book1-yt Vol 2: https://jitl.jp/book2-yt 📚Boson ExSim: https://jitl.jp/ccna-exsim ← the BEST practice exams for CCNA 💻Boson NetSim: https://jitl.jp/ccna-netsim ← 100+ detailed guided labs for CCNA 💯ExSim + NetSim: http://jitl.jp/ccna-kit ← get BOTH for a discount! 🥇CCNA Gold Bootcamp: https://www.flackbox.com/cisco-ccna-course#jm1 ← the course I used to get my CCNA (top rated course on the Internet) Get the course ad-free with bonus quizzes and more on JITL Academy: https://courses.jeremysitlab.com In Day 11 (part 1) of this free CCNA 200-301 complete course, you will learn about routing fundamentals, including topics like: local routes, connected routes, routing table, route selection, etc. In this FREE and COMPLETE CCNA 200-301 course you will find lecture videos covering all topics in Cisco official exam topics list, end-of-video quizzes to test your knowledge, flashcards to review, and practice labs to get hands-on experience. SUPPORT MY CHANNEL The best way to support my channel is to like, comment, subscribe, and share my videos to help spread the word! If you can spare to leave a tip, here are some options: PayPal: https://paypal.me/jeremysitlabYT BAT (Basic Attention Token) tips in the Brave browser (https://www.jeremysitlab.com/brave-browser) ====================== Patreon: https://www.patreon.com/jeremysitlab ====================== Cryptocurrency Addresses Bitcoin: bc1qxjpza7nx46e8a2rtz6vkcrvxx9mfjnufdrk0jv Ethereum: 0x08B4325b1B99B05d850A3bfCd4A6620D770cfB64 ====================== 0:00 Introduction 0:36 - Things we'll cover 1:45 What is routing? 6:41 R1 Pre-config (IP Addresses) 7:54 Routing Table (show ip route) 9:42 Connected and Local Routes 14:40 Route Selection 18:19 Route Selection Practice 21:01 Summary 24:53 Things we covered 25:45 Quiz 1 26:27 Quiz 2 27:09 Quiz 3 27:44 Quiz 4 28:18 Quiz 5 29:10 Thank you to supporters Corrections: 17:44 I should have said 'Class C network', not 'Class A network'. 26:29 The output '192.168.13.0/24 is variably subnetted' should be '192.168.3.0/24'. Note that this doesn't affect the answer, because this line of output isn't a route. Just a small typo. #cisco #CCNA