{"id":1256,"date":"2025-08-01T06:49:45","date_gmt":"2025-08-01T06:49:45","guid":{"rendered":"https:\/\/www.zframez.com\/articles\/?p=1256"},"modified":"2025-08-01T06:49:48","modified_gmt":"2025-08-01T06:49:48","slug":"understanding-network-addresses-and-routing-tables-in-ip-networks","status":"publish","type":"post","link":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-network-addresses-and-routing-tables-in-ip-networks","title":{"rendered":"Understanding Network Addresses and Routing Tables in IP Networks"},"content":{"rendered":"<body>\n<p><strong>Understanding Network Addresses and Their Role in Routing<\/strong><\/p>\n\n\n\n<p>When we assign an IP address to a device, like 1.2.3.4\/24, it\u2019s not just about identifying a single machine. That IP belongs to a <strong>network<\/strong>, and the address 1.2.3.0 in this case is known as the <strong>network address<\/strong>. But why do we reserve that address? What role does it play?<\/p>\n\n\n\n<p>Let\u2019s break it down.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<p><strong>What is a Network Address?<\/strong><\/p>\n\n\n\n<p>In any IP subnet, the first address (where all host bits are zero) is called the <strong>network address<\/strong>. It doesn\u2019t point to a specific device. Instead, it <strong>represents the entire network<\/strong>.<\/p>\n\n\n\n<p>For example:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you assign an IP like 1.2.3.4\/24, the \/24 tells us the <strong>subnet mask is 255.255.255.0<\/strong>.<\/li>\n\n\n\n<li>That means the <strong>network address is 1.2.3.0<\/strong>.<\/li>\n\n\n\n<li>The usable IP range is from 1.2.3.1 to 1.2.3.254, and 1.2.3.255 is the broadcast address.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<p><strong>Why is the Network Address Reserved?<\/strong><\/p>\n\n\n\n<p>We don\u2019t assign the network address (1.2.3.0 in this case) to any device because it plays a special role in <strong>routing<\/strong>.<\/p>\n\n\n\n<p><strong>Here\u2019s the key idea:<\/strong><\/p>\n\n\n\n<p>Routers and PCs use <strong>routing tables<\/strong> to decide where to send packets. But it\u2019s not practical (or even possible) for a router to store every individual IP address in the world. Instead, they store <strong>network addresses<\/strong>, which represent a group of IPs.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<p><strong>Routing Table Example: PC with Two Network Interfaces<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"1024\" height=\"528\" src=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-of-a-PC-with-2-interfaces.png?resize=1024%2C528&#038;ssl=1\" alt=\"Diagram showing a PC connected to two networks via eth1 and eth2, with a routing table listing directly connected routes for 1.2.3.0\/24 and 5.6.7.0\/24.\" class=\"wp-image-1263\" loading=\"lazy\" srcset=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-of-a-PC-with-2-interfaces.png?resize=1024%2C528&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-of-a-PC-with-2-interfaces.png?resize=300%2C155&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-of-a-PC-with-2-interfaces.png?resize=768%2C396&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-of-a-PC-with-2-interfaces.png?resize=1536%2C792&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-of-a-PC-with-2-interfaces.png?w=1568&amp;ssl=1 1568w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">PC with two interfaces and its routing table<\/figcaption><\/figure>\n\n\n\n<p>In this figure PC has two interfaces:<br>1. Interface eth1 with IP 1.2.3.1\/24<br>2. Interface eth2 with IP 5.6.7.1\/24<\/p>\n\n\n\n<p>This PC\u2019s routing table will automatically have:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>1.2.3.0\/24 \u2192 directly connected via eth1<\/li>\n\n\n\n<li>5.6.7.0\/24 \u2192 directly connected via eth2<\/li>\n<\/ul>\n\n\n\n<p>Now imagine this PC wants to send a packet to 1.2.3.100. It doesn\u2019t check if 1.2.3.100 is listed individually. Instead, it checks:<\/p>\n\n\n\n<p>Does 1.2.3.100 fall under any known network?<\/p>\n\n\n\n<p>Yes- it matches 1.2.3.0\/24, so the packet is forwarded via eth1.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<p><strong>Why Not Store All Host IPs in Routing Tables?<\/strong><\/p>\n\n\n\n<p>That would make routing tables <strong>too large and slow<\/strong>.<\/p>\n\n\n\n<p>Think about it:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A \/24 network contains 256 IPs.<\/li>\n\n\n\n<li>Storing each host separately would need 256 entries.<\/li>\n\n\n\n<li>But storing a <strong>single network address<\/strong> (1.2.3.0\/24) covers all 256 IPs.<\/li>\n<\/ul>\n\n\n\n<p>Now imagine how many entries would be needed for the entire internet if routers didn\u2019t group IPs using network addresses. That\u2019s why <strong>CIDR<\/strong> (Classless Inter-Domain Routing) and <strong>network address summarization<\/strong> are so important.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<p><strong>Summary<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Network addresses<\/strong> (like 1.2.3.0\/24) represent a group of IPs.<\/li>\n\n\n\n<li>Routers use network addresses in their routing tables to simplify forwarding decisions.<\/li>\n\n\n\n<li>Devices don\u2019t use the network address or broadcast address \u2014 those are reserved.<\/li>\n\n\n\n<li>Storing one entry per network keeps routing tables manageable and efficient.<br><br><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<p><strong>Routing Table Example: Router with Direct and Indirectly Connected Networks<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"1024\" height=\"552\" src=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-from-R1s-POV.png?resize=1024%2C552&#038;ssl=1\" alt=\"Network topology with three routers (R1, R2, R3) on 1.1.1.0\/24, where R2 connects to 2.2.2.0\/24 and R3 to 3.3.3.0\/24, showing how R1 routes traffic to those networks via next hops.\" class=\"wp-image-1259\" loading=\"lazy\" srcset=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-from-R1s-POV.png?resize=1024%2C552&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-from-R1s-POV.png?resize=300%2C162&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-from-R1s-POV.png?resize=768%2C414&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-from-R1s-POV.png?resize=1536%2C828&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-from-R1s-POV.png?w=1633&amp;ssl=1 1633w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">Three-router topology showing how R1 uses network addresses to reach remote networks via R2 and R3<\/figcaption><\/figure>\n\n\n\n<p>In this figure, we can see that all three routers \u2014 R1, R2, and R3 \u2014 are part of the same network 1.1.1.0\/24, connected via a switch. This means they can directly reach each other using IPs within that subnet:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>R1 is configured with IP 1.1.1.1\/24<\/li>\n\n\n\n<li>R2 with 1.1.1.2\/24<\/li>\n\n\n\n<li>R3 with 1.1.1.3\/24<\/li>\n<\/ul>\n\n\n\n<p>Now look at the rest of the setup:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>R2 is also connected to another network: 2.2.2.0\/24, which includes a few PCs through a switch.<\/li>\n\n\n\n<li>R3 is connected to a different network: 3.3.3.0\/24, again with a switch and PCs.<\/li>\n<\/ul>\n\n\n\n<p>From <strong>R1\u2019s point of view<\/strong>, only the 1.1.1.0\/24 network is directly reachable. But it still needs to know how to send packets to 2.2.2.0\/24 and 3.3.3.0\/24. That\u2019s where its <strong>routing table<\/strong> comes in.<\/p>\n\n\n\n<p>The routing table on R1 would look something like this:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>1.1.1.0\/24 \u2192 directly connected via R1\u2019s local interface<\/li>\n\n\n\n<li>2.2.2.0\/24 \u2192 reachable via next-hop IP 1.1.1.2 (R2)<\/li>\n\n\n\n<li>3.3.3.0\/24 \u2192 reachable via next-hop IP 1.1.1.3 (R3)<\/li>\n<\/ul>\n\n\n\n<p>This setup shows how routers use <strong>network addresses<\/strong>, not individual host IPs, to forward packets. When R1 receives a packet destined for, say, 2.2.2.50, it checks the routing table and finds that it belongs to 2.2.2.0\/24, which is routed via R2.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n<\/body>","protected":false},"excerpt":{"rendered":"<p>Understanding Network Addresses and Their Role in Routing When we assign an IP address to a device, like 1.2.3.4\/24, it\u2019s not just about identifying a single machine. That IP belongs to a network, and the address 1.2.3.0 in this case is known as the network address. But why do we reserve that address? What role [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"wp-custom-template-post-with-sidebar2","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[330],"tags":[349,346,345,347,351,348,344,350,337,353,354,70,352],"class_list":["post-1256","post","type-post","status-publish","format-standard","hentry","category-networking-fundamentals","tag-beginner-networking-tutorial","tag-cidr-notation","tag-directly-connected-routes","tag-indirectly-connected-routes","tag-ip-forwarding","tag-ip-routing","tag-network-address","tag-network-topology","tag-networking-basics","tag-router-configuration","tag-router-interfaces","tag-routing-table","tag-subnetting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Understanding Network Addresses and Routing Tables in IP Networks - Tutorials<\/title>\n<meta name=\"description\" content=\"Learn how network addresses are used in routing tables to simplify IP forwarding. Understand direct vs indirect routes with real-world examples and diagrams.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-network-addresses-and-routing-tables-in-ip-networks\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How Network Addresses Help Routers Forward Packets Efficiently\" \/>\n<meta property=\"og:description\" content=\"Explore the role of network addresses in routing decisions. This beginner-friendly tutorial explains how routers use network prefixes to forward traffic, with simple examples and clear visuals.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-network-addresses-and-routing-tables-in-ip-networks\" \/>\n<meta property=\"og:site_name\" content=\"Tutorials\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/zframez\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-01T06:49:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-01T06:49:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-from-R1s-POV.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1633\" \/>\n\t<meta property=\"og:image:height\" content=\"880\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"sajith achipra\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@zframez\" \/>\n<meta name=\"twitter:site\" content=\"@zframez\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"sajith achipra\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-network-addresses-and-routing-tables-in-ip-networks#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-network-addresses-and-routing-tables-in-ip-networks\"},\"author\":{\"name\":\"sajith achipra\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#\\\/schema\\\/person\\\/8b3b88007644501771d2452d3cc80f41\"},\"headline\":\"Understanding Network Addresses and Routing Tables in IP Networks\",\"datePublished\":\"2025-08-01T06:49:45+00:00\",\"dateModified\":\"2025-08-01T06:49:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-network-addresses-and-routing-tables-in-ip-networks\"},\"wordCount\":627,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-network-addresses-and-routing-tables-in-ip-networks#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/Routing-table-of-a-PC-with-2-interfaces-1024x528.png\",\"keywords\":[\"beginner networking tutorial\",\"cidr notation\",\"directly connected routes\",\"indirectly connected routes\",\"ip forwarding\",\"ip routing\",\"network address\",\"network topology\",\"networking basics\",\"router configuration\",\"router interfaces\",\"routing table\",\"subnetting\"],\"articleSection\":[\"Networking Fundamentals\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-network-addresses-and-routing-tables-in-ip-networks#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-network-addresses-and-routing-tables-in-ip-networks\",\"url\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-network-addresses-and-routing-tables-in-ip-networks\",\"name\":\"Understanding Network Addresses and Routing Tables in IP Networks - Tutorials\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-network-addresses-and-routing-tables-in-ip-networks#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-network-addresses-and-routing-tables-in-ip-networks#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/Routing-table-of-a-PC-with-2-interfaces-1024x528.png\",\"datePublished\":\"2025-08-01T06:49:45+00:00\",\"dateModified\":\"2025-08-01T06:49:48+00:00\",\"description\":\"Learn how network addresses are used in routing tables to simplify IP forwarding. Understand direct vs indirect routes with real-world examples and diagrams.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-network-addresses-and-routing-tables-in-ip-networks#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-network-addresses-and-routing-tables-in-ip-networks\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-network-addresses-and-routing-tables-in-ip-networks#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/Routing-table-of-a-PC-with-2-interfaces.png?fit=1568%2C808&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2025\\\/08\\\/Routing-table-of-a-PC-with-2-interfaces.png?fit=1568%2C808&ssl=1\",\"width\":1568,\"height\":808},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/networking-fundamentals\\\/understanding-network-addresses-and-routing-tables-in-ip-networks#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tutorials\",\"item\":\"https:\\\/\\\/www.zframez.com\\\/articles\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Understanding Network Addresses and Routing Tables in IP Networks\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#website\",\"url\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/\",\"name\":\"zframez tutorials\",\"description\":\"Learn networking bit by bit\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#organization\",\"name\":\"zframez technologies\",\"url\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/zframez-logo.jpg?fit=864%2C864&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/zframez-logo.jpg?fit=864%2C864&ssl=1\",\"width\":864,\"height\":864,\"caption\":\"zframez technologies\"},\"image\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/zframez\\\/\",\"https:\\\/\\\/x.com\\\/zframez\",\"https:\\\/\\\/www.instagram.com\\\/zframez_technologies\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#\\\/schema\\\/person\\\/8b3b88007644501771d2452d3cc80f41\",\"name\":\"sajith achipra\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g\",\"caption\":\"sajith achipra\"},\"sameAs\":[\"http:\\\/\\\/www.zframez.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Understanding Network Addresses and Routing Tables in IP Networks - Tutorials","description":"Learn how network addresses are used in routing tables to simplify IP forwarding. Understand direct vs indirect routes with real-world examples and diagrams.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-network-addresses-and-routing-tables-in-ip-networks","og_locale":"en_US","og_type":"article","og_title":"How Network Addresses Help Routers Forward Packets Efficiently","og_description":"Explore the role of network addresses in routing decisions. This beginner-friendly tutorial explains how routers use network prefixes to forward traffic, with simple examples and clear visuals.","og_url":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-network-addresses-and-routing-tables-in-ip-networks","og_site_name":"Tutorials","article_publisher":"https:\/\/www.facebook.com\/zframez\/","article_published_time":"2025-08-01T06:49:45+00:00","article_modified_time":"2025-08-01T06:49:48+00:00","og_image":[{"width":1633,"height":880,"url":"https:\/\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-from-R1s-POV.png","type":"image\/png"}],"author":"sajith achipra","twitter_card":"summary_large_image","twitter_creator":"@zframez","twitter_site":"@zframez","twitter_misc":{"Written by":"sajith achipra","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-network-addresses-and-routing-tables-in-ip-networks#article","isPartOf":{"@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-network-addresses-and-routing-tables-in-ip-networks"},"author":{"name":"sajith achipra","@id":"https:\/\/www.zframez.com\/articles\/#\/schema\/person\/8b3b88007644501771d2452d3cc80f41"},"headline":"Understanding Network Addresses and Routing Tables in IP Networks","datePublished":"2025-08-01T06:49:45+00:00","dateModified":"2025-08-01T06:49:48+00:00","mainEntityOfPage":{"@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-network-addresses-and-routing-tables-in-ip-networks"},"wordCount":627,"commentCount":0,"publisher":{"@id":"https:\/\/www.zframez.com\/articles\/#organization"},"image":{"@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-network-addresses-and-routing-tables-in-ip-networks#primaryimage"},"thumbnailUrl":"https:\/\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-of-a-PC-with-2-interfaces-1024x528.png","keywords":["beginner networking tutorial","cidr notation","directly connected routes","indirectly connected routes","ip forwarding","ip routing","network address","network topology","networking basics","router configuration","router interfaces","routing table","subnetting"],"articleSection":["Networking Fundamentals"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-network-addresses-and-routing-tables-in-ip-networks#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-network-addresses-and-routing-tables-in-ip-networks","url":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-network-addresses-and-routing-tables-in-ip-networks","name":"Understanding Network Addresses and Routing Tables in IP Networks - Tutorials","isPartOf":{"@id":"https:\/\/www.zframez.com\/articles\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-network-addresses-and-routing-tables-in-ip-networks#primaryimage"},"image":{"@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-network-addresses-and-routing-tables-in-ip-networks#primaryimage"},"thumbnailUrl":"https:\/\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-of-a-PC-with-2-interfaces-1024x528.png","datePublished":"2025-08-01T06:49:45+00:00","dateModified":"2025-08-01T06:49:48+00:00","description":"Learn how network addresses are used in routing tables to simplify IP forwarding. Understand direct vs indirect routes with real-world examples and diagrams.","breadcrumb":{"@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-network-addresses-and-routing-tables-in-ip-networks#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-network-addresses-and-routing-tables-in-ip-networks"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-network-addresses-and-routing-tables-in-ip-networks#primaryimage","url":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-of-a-PC-with-2-interfaces.png?fit=1568%2C808&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-of-a-PC-with-2-interfaces.png?fit=1568%2C808&ssl=1","width":1568,"height":808},{"@type":"BreadcrumbList","@id":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/understanding-network-addresses-and-routing-tables-in-ip-networks#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Tutorials","item":"https:\/\/www.zframez.com\/articles"},{"@type":"ListItem","position":2,"name":"Understanding Network Addresses and Routing Tables in IP Networks"}]},{"@type":"WebSite","@id":"https:\/\/www.zframez.com\/articles\/#website","url":"https:\/\/www.zframez.com\/articles\/","name":"zframez tutorials","description":"Learn networking bit by bit","publisher":{"@id":"https:\/\/www.zframez.com\/articles\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.zframez.com\/articles\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.zframez.com\/articles\/#organization","name":"zframez technologies","url":"https:\/\/www.zframez.com\/articles\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.zframez.com\/articles\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/zframez-logo.jpg?fit=864%2C864&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/zframez-logo.jpg?fit=864%2C864&ssl=1","width":864,"height":864,"caption":"zframez technologies"},"image":{"@id":"https:\/\/www.zframez.com\/articles\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/zframez\/","https:\/\/x.com\/zframez","https:\/\/www.instagram.com\/zframez_technologies\/"]},{"@type":"Person","@id":"https:\/\/www.zframez.com\/articles\/#\/schema\/person\/8b3b88007644501771d2452d3cc80f41","name":"sajith achipra","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g","caption":"sajith achipra"},"sameAs":["http:\/\/www.zframez.com"]}]}},"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":1265,"url":"https:\/\/www.zframez.com\/articles\/networking-fundamentals\/routing-table-fields-explained-next-hop-exit-interface-metric-and-gateway","url_meta":{"origin":1256,"position":0},"title":"Routing Table Fields Explained: Next Hop, Exit Interface, Metric, and Gateway","author":"sajith achipra","date":"August 2, 2025","format":false,"excerpt":"Next Hop, Exit Interface and Metric \u2013 Fields in a Routing Table In the previous tutorial, we discussed how network addresses are used in the routing table. In this one, we\u2019ll look into a few more fields you\u2019ll commonly see in a routing table - like Next Hop, Exit Interface,\u2026","rel":"","context":"In &quot;Networking Fundamentals&quot;","block_context":{"text":"Networking Fundamentals","link":"https:\/\/www.zframez.com\/articles\/category\/networking-fundamentals"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-from-R1s-POV.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-from-R1s-POV.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-from-R1s-POV.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-from-R1s-POV.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-from-R1s-POV.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/Routing-table-from-R1s-POV.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":611,"url":"https:\/\/www.zframez.com\/articles\/routing\/ospf-configuration-example-multi-area-setup","url_meta":{"origin":1256,"position":1},"title":"OSPF Configuration Example 2: Multi-Area Setup","author":"sajith achipra","date":"August 18, 2024","format":false,"excerpt":"Configuring OSPF with Multiple Areas : Earlier, we covered how to configure OSPF with two routers in the same area. In this guide, we'll walk through an example of configuring OSPF with multiple areas. Using four routers and three areas, we'll demonstrate the setup process. The objective of this exercise\u2026","rel":"","context":"In &quot;ospf&quot;","block_context":{"text":"ospf","link":"https:\/\/www.zframez.com\/articles\/category\/routing\/ospf"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-18-171023.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-18-171023.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-18-171023.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-18-171023.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-18-171023.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-18-171023.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":247,"url":"https:\/\/www.zframez.com\/articles\/routing\/bgp-configuration-examples","url_meta":{"origin":1256,"position":2},"title":"BGP Configuration Example 1: EBGP Peering","author":"sajith achipra","date":"July 18, 2024","format":false,"excerpt":"BGP Configuration Example: In the previous chapter, you learned about BGP's peering process and states. In this BGP configuration example , you will learn how to configure BGP with two Cisco routers, check the BGP peering status, and understand different BGP show commands. We\u2019ll provide step-by-step instructions to set up\u2026","rel":"","context":"In &quot;bgp&quot;","block_context":{"text":"bgp","link":"https:\/\/www.zframez.com\/articles\/category\/routing\/bgp"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/show-ip-bgp.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/show-ip-bgp.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/show-ip-bgp.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/show-ip-bgp.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":292,"url":"https:\/\/www.zframez.com\/articles\/routing\/ospf-configuration-example","url_meta":{"origin":1256,"position":3},"title":"OSPF Configuration Example 1: Adjacency Formation Between Two Cisco Routers","author":"sajith achipra","date":"July 19, 2024","format":false,"excerpt":"Table of Contents OSPF Configuration Example 1: Adjacency Formation Between Two Cisco Routers Configuration Procedure About OSPF Configuration Why use loopback interfaces? OSPF Configuration Commands Adjacency Verification Understanding the \"show\" commands OSPF Configuration Example 1: Adjacency Formation Between Two Cisco Routers In previous chapters, you learned key OSPF concepts like\u2026","rel":"","context":"In &quot;ospf&quot;","block_context":{"text":"ospf","link":"https:\/\/www.zframez.com\/articles\/category\/routing\/ospf"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-adjacency-topology.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-adjacency-topology.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-adjacency-topology.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-adjacency-topology.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-adjacency-topology.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/OSPF-adjacency-topology.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":633,"url":"https:\/\/www.zframez.com\/articles\/routing\/ospf-redistribution-commands","url_meta":{"origin":1256,"position":4},"title":"OSPF Configuration Example 4 : Redistribution Commands","author":"sajith achipra","date":"August 29, 2024","format":false,"excerpt":"Configuring Redistribution, E1 Metric, and Route Tags in OSPF In the tutorial \"Understanding OSPF Redistribution\" , we discussed different concepts in redistribution. In this one, we\u2019ll go through the various OSPF commands related to redistribution. We\u2019ll walk through a step-by-step process to configure redistribution in OSPF, focusing on scenarios like\u2026","rel":"","context":"In &quot;ospf&quot;","block_context":{"text":"ospf","link":"https:\/\/www.zframez.com\/articles\/category\/routing\/ospf"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/OSPF-Redistribution-Topology-3.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/OSPF-Redistribution-Topology-3.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/OSPF-Redistribution-Topology-3.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/OSPF-Redistribution-Topology-3.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/OSPF-Redistribution-Topology-3.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/OSPF-Redistribution-Topology-3.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":474,"url":"https:\/\/www.zframez.com\/articles\/routing\/understanding-ospf-redistribution","url_meta":{"origin":1256,"position":5},"title":"Understanding OSPF Redistribution","author":"sajith achipra","date":"August 2, 2024","format":false,"excerpt":"Table of Contents What is Route Redistribution? Redistribution in OSPF How LSA 4 is used in Redistribution? How LSA 5 is Used in Redistribution? What is \"Forwarding Address\" in LSA 5? OSPF E1 and E2 Routes Configuring Redistribution Understanding OSPF Route Redistribution and LSA Types OSPF (Open Shortest Path First)\u2026","rel":"","context":"In &quot;ospf&quot;","block_context":{"text":"ospf","link":"https:\/\/www.zframez.com\/articles\/category\/routing\/ospf"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Redistribution-from-EIGRP-to-RIP.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Redistribution-from-EIGRP-to-RIP.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Redistribution-from-EIGRP-to-RIP.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Redistribution-from-EIGRP-to-RIP.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Redistribution-from-EIGRP-to-RIP.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/08\/Redistribution-from-EIGRP-to-RIP.png?resize=1400%2C800&ssl=1 4x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/posts\/1256","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/comments?post=1256"}],"version-history":[{"count":5,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/posts\/1256\/revisions"}],"predecessor-version":[{"id":1264,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/posts\/1256\/revisions\/1264"}],"wp:attachment":[{"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/media?parent=1256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/categories?post=1256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/tags?post=1256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}