{"id":3445,"date":"2025-06-30T18:58:46","date_gmt":"2025-06-30T18:58:46","guid":{"rendered":"https:\/\/zilleali.com\/?p=3445"},"modified":"2026-11-20T21:52:38","modified_gmt":"2026-11-20T16:52:38","slug":"static-vs-dynamic-routing-explained-ccna-guide","status":"publish","type":"post","link":"https:\/\/zilleali.com\/ar\/static-vs-dynamic-routing-explained-ccna-guide\/","title":{"rendered":"\u0634\u0631\u062d \u0627\u0644\u062a\u0648\u062c\u064a\u0647 \u0627\u0644\u0633\u0627\u0643\u0646 \u0645\u0642\u0627\u0628\u0644 \u0627\u0644\u062f\u064a\u0646\u0627\u0645\u064a\u0643\u064a (\u062f\u0644\u064a\u0644 CCNA)"},"content":{"rendered":"<h2 id=\"introduction-two-paths-one-destination\" class=\"wp-block-heading\">\u0627\u0644\u062a\u0648\u062c\u064a\u0647 \u0627\u0644\u062b\u0627\u0628\u062a \u0645\u0642\u0627\u0628\u0644 \u0627\u0644\u062a\u0648\u062c\u064a\u0647 \u0627\u0644\u062f\u064a\u0646\u0627\u0645\u064a\u0643\u064a CCNA: \u0645\u0633\u0627\u0631\u0627\u0646\u060c \u0648\u062c\u0647\u0629 \u0648\u0627\u062d\u062f\u0629<\/h2>\n<p class=\"wp-block-paragraph\">\u0623\u0633\u0626\u0644\u0629 \u0627\u0644\u062a\u0648\u062c\u064a\u0647 \u0627\u0644\u062b\u0627\u0628\u062a \u0645\u0642\u0627\u0628\u0644 \u0627\u0644\u062f\u064a\u0646\u0627\u0645\u064a\u0643\u064a \u0641\u064a CCNA \u062a\u062a\u0644\u062e\u0635 \u0641\u064a \u062e\u064a\u0627\u0631\u064a\u0646 \u0641\u0642\u0637.<\/p>\n<p class=\"wp-block-paragraph\">\u0639\u0646\u062f \u0627\u0644\u062d\u062f\u064a\u062b \u0639\u0646 \u0627\u0644\u062a\u0648\u062c\u064a\u0647 \u0641\u064a \u0634\u0628\u0643\u0629\u060c \u0644\u062f\u064a\u0643 \u062e\u064a\u0627\u0631\u0627\u0646 \u0631\u0626\u064a\u0633\u064a\u0627\u0646:<\/p>\n<ul class=\"wp-block-list\">\n<li><strong>\u0627\u0644\u062a\u0648\u062c\u064a\u0647 \u0627\u0644\u062b\u0627\u0628\u062a<\/strong>: \u064a\u062a\u0645 \u062a\u0643\u0648\u064a\u0646\u0647 \u064a\u062f\u0648\u064a\u064b\u0627 \u0628\u0648\u0627\u0633\u0637\u0629 \u0645\u0633\u0624\u0648\u0644 \u0627\u0644\u0634\u0628\u0643\u0629<\/li>\n<li><strong>\u0627\u0644\u062a\u0648\u062c\u064a\u0647 \u0627\u0644\u062f\u064a\u0646\u0627\u0645\u064a\u0643\u064a<\/strong>: \u064a\u062a\u0645 \u062a\u0639\u0644\u0645 \u0627\u0644\u0645\u0633\u0627\u0631\u0627\u062a \u062a\u0644\u0642\u0627\u0626\u064a\u064b\u0627 \u0639\u0628\u0631 \u0627\u0644\u0628\u0631\u0648\u062a\u0648\u0643\u0648\u0644\u0627\u062a<\/li>\n<\/ul>\n<p class=\"wp-block-paragraph\">\u0645\u0639\u0631\u0641\u0629 \u0645\u062a\u0649 \u062a\u0633\u062a\u062e\u062f\u0645 \u0623\u064a \u0645\u0646\u0647\u0645\u0627 \u2014 \u0648\u0643\u064a\u0641\u064a\u0629 \u062a\u0643\u0648\u064a\u0646\u0647\u0645\u0627 \u2014 \u0647\u064a \u0645\u0647\u0627\u0631\u0629 \u062d\u0627\u0633\u0645\u0629 \u0641\u064a <strong>\u0627\u0645\u062a\u062d\u0627\u0646 CCNA<\/strong> \u0648\u0627\u0644\u0634\u0628\u0643\u0627\u062a \u0627\u0644\u0648\u0627\u0642\u0639\u064a\u0629.<\/p>\n<p class=\"wp-block-paragraph\">\u064a\u064f\u0631\u0634\u062f\u0643 \u0647\u0630\u0627 \u0627\u0644\u0645\u062f\u0648\u0646\u0629 \u0639\u0628\u0631 \u0627\u0644\u0641\u0631\u0648\u0642\u0627\u062a\u060c \u0627\u0644\u0623\u0648\u0627\u0645\u0631\u060c \u0627\u0644\u0625\u064a\u062c\u0627\u0628\u064a\u0627\u062a\\\/\u0627\u0644\u0633\u0644\u0628\u064a\u0627\u062a\u060c \u0648\u0623\u0645\u062b\u0644\u0629 \u0627\u0644\u0645\u062e\u062a\u0628\u0631\u0627\u062a.<\/p>\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n<h2 id=\"what-is-static-routing\" class=\"wp-block-heading\">\ud83e\udded \u0645\u0627 \u0647\u0648 \u0627\u0644\u062a\u0648\u062c\u064a\u0647 \u0627\u0644\u062b\u0627\u0628\u062a\u061f<\/h2>\n<p class=\"wp-block-paragraph\">\u0627\u0644\u062a\u0648\u062c\u064a\u0647 \u0627\u0644\u062b\u0627\u0628\u062a \u064a\u0639\u0646\u064a \u0623\u0646\u0643 <strong>\u062a\u062d\u062f\u062f \u0627\u0644\u0645\u0633\u0627\u0631 \u064a\u062f\u0648\u064a\u064b\u0627<\/strong> \u0627\u0644\u0630\u064a \u064a\u062c\u0628 \u0623\u0646 \u062a\u0633\u0644\u0643\u0647 \u0627\u0644\u062d\u0632\u0645\u0629.<\/p>\n<pre class=\"wp-block-code has-ast-global-color-6-color has-ast-global-color-7-background-color has-text-color has-background has-link-color wp-elements-1\"><code>ip route 192.168.2.0 255.255.255.0 192.168.1.2<\/code><\/pre>\n<p class=\"wp-block-paragraph\">\u0647\u0630\u0627 \u064a\u062e\u0628\u0631 \u0627\u0644\u0645\u0648\u062c\u0647:<br \/>\u201c\u0644\u0644\u0648\u0635\u0648\u0644 \u0625\u0644\u0649 <code>192.168.2.0<\/code>, \u0642\u0645 \u0628\u062a\u0648\u062c\u064a\u0647 \u0627\u0644\u0645\u0631\u0648\u0631 \u0625\u0644\u0649 <code>192.168.1.2<\/code>.\u201d<\/p>\n<h3 id=\"advantages-of-static-routing\" class=\"wp-block-heading\">\u0645\u0632\u0627\u064a\u0627 \u0627\u0644\u062a\u0648\u062c\u064a\u0647 \u0627\u0644\u062b\u0627\u0628\u062a<\/h3>\n<ul class=\"wp-block-list\">\n<li>\u0633\u0647\u0644 \u0627\u0644\u062a\u0643\u0648\u064a\u0646 \u0644\u0644\u0634\u0628\u0643\u0627\u062a \u0627\u0644\u0635\u063a\u064a\u0631\u0629<\/li>\n<li>\u0628\u062f\u0648\u0646 \u0639\u0628\u0621 \u0639\u0644\u0649 \u0627\u0644\u0645\u0639\u0627\u0644\u062c\\\/\u0627\u0644\u0630\u0627\u0643\u0631\u0629<\/li>\n<li>\u0623\u0643\u062b\u0631 \u0623\u0645\u0627\u0646\u064b\u0627 (\u0628\u062f\u0648\u0646 \u0625\u0639\u0644\u0627\u0646\u0627\u062a \u0645\u0633\u0627\u0631)<\/li>\n<li>\u062a\u062d\u0643\u0645 \u0643\u0627\u0645\u0644 \u0641\u064a \u0627\u0644\u0645\u0633\u0627\u0631\u0627\u062a<\/li>\n<\/ul>\n<h3 id=\"disadvantages-of-static-routing\" class=\"wp-block-heading\">\u0639\u064a\u0648\u0628 \u0627\u0644\u062a\u0648\u062c\u064a\u0647 \u0627\u0644\u062b\u0627\u0628\u062a<\/h3>\n<ul class=\"wp-block-list\">\n<li>\u0644\u0627 \u064a\u062a\u0643\u064a\u0641 \u0645\u0639 \u062a\u063a\u064a\u064a\u0631\u0627\u062a \u0627\u0644\u0634\u0628\u0643\u0629<\/li>\n<li>\u064a\u0635\u0628\u062d \u0645\u0639\u0642\u062f\u064b\u0627 \u0641\u064a \u0627\u0644\u0634\u0628\u0643\u0627\u062a \u0627\u0644\u0643\u0628\u064a\u0631\u0629<\/li>\n<li>\u062a\u062d\u062a\u0627\u062c \u0625\u0644\u0649 \u062a\u062d\u062f\u064a\u062b\u0627\u062a \u064a\u062f\u0648\u064a\u0629 \u0625\u0630\u0627 \u062a\u063a\u064a\u0631\u062a \u0627\u0644\u0637\u0648\u0628\u0648\u0644\u0648\u062c\u064a\u0627<\/li>\n<\/ul>\n<h2 id=\"what-is-dynamic-routing\" class=\"wp-block-heading\">\u0645\u0627 \u0647\u0648 \u0627\u0644\u062a\u0648\u062c\u064a\u0647 \u0627\u0644\u062f\u064a\u0646\u0627\u0645\u064a\u0643\u064a\u061f<\/h2>\n<p class=\"wp-block-paragraph\">\u0627\u0644\u062a\u0648\u062c\u064a\u0647 \u0627\u0644\u062f\u064a\u0646\u0627\u0645\u064a\u0643\u064a \u064a\u0633\u062a\u062e\u062f\u0645 <strong>\u0628\u0631\u0648\u062a\u0648\u0643\u0648\u0644\u0627\u062a \u0627\u0644\u062a\u0648\u062c\u064a\u0647<\/strong> \u0644\u062a\u0639\u0644\u0645 \u0648\u062a\u062d\u062f\u064a\u062b \u0627\u0644\u0645\u0633\u0627\u0631\u0627\u062a \u062a\u0644\u0642\u0627\u0626\u064a\u064b\u0627.<\/p>\n<p class=\"wp-block-paragraph\">\u0627\u0644\u0628\u0631\u0648\u062a\u0648\u0643\u0648\u0644\u0627\u062a \u0627\u0644\u0634\u0627\u0626\u0639\u0629:<\/p>\n<ul class=\"wp-block-list\">\n<li><strong>\u0627\u0631\u0642\u062f \u0641\u064a \u0633\u0644\u0627\u0645<\/strong> (\u0623\u0642\u062f\u0645\u060c \u0645\u062a\u062c\u0647 \u0627\u0644\u0645\u0633\u0627\u0641\u0629)<\/li>\n<li><strong><a href=\"https:\/\/www.rfc-editor.org\/rfc\/rfc2328\">OSPF<\/a><\/strong> (\u062d\u062f\u064a\u062b\u060c \u062d\u0627\u0644\u0629 \u0627\u0644\u0627\u0631\u062a\u0628\u0627\u0637)<\/li>\n<li><strong>EIGRP<\/strong> (\u0645\u0645\u0644\u0648\u0643 \u0644\u0634\u0631\u0643\u0629 \u0633\u064a\u0633\u0643\u0648\u060c \u0647\u062c\u064a\u0646)<\/li>\n<\/ul>\n<pre class=\"wp-block-code has-ast-global-color-6-color has-ast-global-color-7-background-color has-text-color has-background has-link-color wp-elements-2\"><code>router ospf 1  \n network 192.168.1.0 0.0.0.255 area 0<\/code><\/pre>\n<h3 id=\"advantages-of-dynamic-routing\" class=\"wp-block-heading\">Advantages of Dynamic Routing<\/h3>\n<ul class=\"wp-block-list\">\n<li>\u064a\u062a\u0643\u064a\u0641 \u062a\u0644\u0642\u0627\u0626\u064a\u064b\u0627 \u0645\u0639 \u0627\u0644\u062a\u063a\u064a\u064a\u0631\u0627\u062a<\/li>\n<li>\u0642\u0627\u0628\u0644 \u0644\u0644\u062a\u0648\u0633\u0639 \u0641\u064a \u0627\u0644\u0634\u0628\u0643\u0627\u062a \u0627\u0644\u0643\u0628\u064a\u0631\u0629 \u0648\u0627\u0644\u0645\u0639\u0642\u062f\u0629<\/li>\n<li>\u064a\u0642\u0644\u0644 \u0627\u0644\u0639\u0628\u0621 \u0627\u0644\u0625\u062f\u0627\u0631\u064a<\/li>\n<\/ul>\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n<h3 id=\"disadvantages-of-dynamic-routing\" class=\"wp-block-heading\">\u274c \u0639\u064a\u0648\u0628 \u0627\u0644\u062a\u0648\u062c\u064a\u0647 \u0627\u0644\u062f\u064a\u0646\u0627\u0645\u064a\u0643\u064a<\/h3>\n<ul class=\"wp-block-list\">\n<li>\u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0623\u0643\u062b\u0631 \u0644\u0644\u0645\u0639\u0627\u0644\u062c\/\u0627\u0644\u0630\u0627\u0643\u0631\u0629 \u0627\u0644\u0639\u0634\u0648\u0627\u0626\u064a\u0629<\/li>\n<li>\u064a\u062a\u0637\u0644\u0628 \u0645\u0639\u0631\u0641\u0629 \u0628\u0627\u0644\u0628\u0631\u0648\u062a\u0648\u0643\u0648\u0644<\/li>\n<li>\u062a\u0643\u0648\u064a\u0646 \u0623\u0643\u062b\u0631 \u062a\u0639\u0642\u064a\u062f\u064b\u0627 \u0642\u0644\u064a\u0644\u0627\u064b<\/li>\n<\/ul>\n<h2 id=\"administrative-distance\" class=\"wp-block-heading\">Administrative Distance: How a Router Picks Between Routes<\/h2>\n<p class=\"wp-block-paragraph\">A router often learns more than one path to the same destination &#8211; a static route AND an OSPF-learned route to the same network, for example. Administrative Distance (AD) is the number Cisco routers use to decide which source to trust when that happens &#8211; lower always wins:<\/p>\n<table class=\"wp-block-table\">\n<thead>\n<tr>\n<th>Route source<\/th>\n<th>Default AD<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Connected interface<\/td>\n<td>0<\/td>\n<\/tr>\n<tr>\n<td>Static route<\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td>EIGRP<\/td>\n<td>90<\/td>\n<\/tr>\n<tr>\n<td>OSPF<\/td>\n<td>110<\/td>\n<\/tr>\n<tr>\n<td>\u0627\u0631\u0642\u062f \u0641\u064a \u0633\u0644\u0627\u0645<\/td>\n<td>120<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"wp-block-paragraph\">A static route&#8217;s AD of 1 is why a static route always overrides a dynamically learned one to the same destination by default &#8211; it is treated as more trustworthy than any protocol&#8217;s guess. This matters directly for the next topic below.<\/p>\n<h3 id=\"floating-static-routes\" class=\"wp-block-heading\">Floating Static Routes: Static Routing&#8217;s Dynamic Trick<\/h3>\n<p class=\"wp-block-paragraph\">A floating static route is a static route configured with a higher AD than the dynamic protocol already running, so it sits unused as a backup and only activates if the dynamic route disappears:<\/p>\n<pre class=\"wp-block-code\"><code>ip route 192.168.2.0 255.255.255.0 10.0.0.2 200<\/code><\/pre>\n<p class=\"wp-block-paragraph\">The trailing <code>200<\/code> sets this static route&#8217;s AD to 200 &#8211; higher than OSPF&#8217;s 110, so OSPF wins while it is up. If OSPF loses the route (a link fails, a neighbor drops), this static route &#8211; now the best remaining option &#8211; takes over automatically. This is the real-world middle ground between pure static and pure dynamic: a guaranteed backup path that does not require protocol overhead until it is actually needed.<\/p>\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n<h2 id=\"%f0%9f%86%9a-static-vs-dynamic-routing-side-by-side-comparison\" class=\"wp-block-heading\">\ud83c\udd9a \u0627\u0644\u062a\u0648\u062c\u064a\u0647 \u0627\u0644\u062b\u0627\u0628\u062a \u0645\u0642\u0627\u0628\u0644 \u0627\u0644\u062f\u064a\u0646\u0627\u0645\u064a\u0643\u064a \u2013 \u0645\u0642\u0627\u0631\u0646\u0629 \u062c\u0646\u0628\u064b\u0627 \u0625\u0644\u0649 \u062c\u0646\u0628<\/h2>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A\/\/www.w3.org\/2000\/svg%22%20viewBox%3D%220%200%20760%20320%22%20font-family%3D%22Arial%2C%20sans-serif%22%3E%0A%3Crect%20width%3D%22760%22%20height%3D%22320%22%20fill%3D%22%231b0e1f%22\/%3E%0A%3Ctext%20x%3D%22380%22%20y%3D%2236%22%20text-anchor%3D%22middle%22%20fill%3D%22%23f5f5f5%22%20font-size%3D%2220%22%20font-weight%3D%22bold%22%3EStatic%20vs%20Dynamic%20Routing%20CCNA%3A%20Two%20Paths%2C%20One%20Destination%3C\/text%3E%0A%3Crect%20x%3D%2240%22%20y%3D%2270%22%20width%3D%22320%22%20height%3D%22220%22%20rx%3D%228%22%20fill%3D%22none%22%20stroke%3D%22%23a502a8%22%20stroke-width%3D%222%22\/%3E%0A%3Ctext%20x%3D%22200%22%20y%3D%22100%22%20text-anchor%3D%22middle%22%20fill%3D%22%23a502a8%22%20font-size%3D%2217%22%20font-weight%3D%22bold%22%3EStatic%20Route%3C\/text%3E%0A%3Ctext%20x%3D%2260%22%20y%3D%22135%22%20fill%3D%22%23f5f5f5%22%20font-size%3D%2213%22%3EAdmin%20types%20the%20route%20by%20hand%3A%3C\/text%3E%0A%3Ctext%20x%3D%2260%22%20y%3D%22160%22%20fill%3D%22%23b9a8bd%22%20font-size%3D%2212%22%20font-family%3D%22monospace%22%3Eip%20route%2010.0.2.0%20255.255.255.0%2010.0.1.1%3C\/text%3E%0A%3Ctext%20x%3D%2260%22%20y%3D%22195%22%20fill%3D%22%23f5f5f5%22%20font-size%3D%2213%22%3E%2B%20Predictable%2C%20no%20CPU%20overhead%3C\/text%3E%0A%3Ctext%20x%3D%2260%22%20y%3D%22220%22%20fill%3D%22%23f5f5f5%22%20font-size%3D%2213%22%3E-%20Does%20not%20adapt%20if%20a%20link%20fails%3C\/text%3E%0A%3Ctext%20x%3D%2260%22%20y%3D%22245%22%20fill%3D%22%23f5f5f5%22%20font-size%3D%2213%22%3E-%20Manual%20update%20on%20every%20change%3C\/text%3E%0A%3Crect%20x%3D%22400%22%20y%3D%2270%22%20width%3D%22320%22%20height%3D%22220%22%20rx%3D%228%22%20fill%3D%22none%22%20stroke%3D%22%23E8521A%22%20stroke-width%3D%222%22\/%3E%0A%3Ctext%20x%3D%22560%22%20y%3D%22100%22%20text-anchor%3D%22middle%22%20fill%3D%22%23E8521A%22%20font-size%3D%2217%22%20font-weight%3D%22bold%22%3EDynamic%20Route%20%28OSPF%29%3C\/text%3E%0A%3Ctext%20x%3D%22420%22%20y%3D%22135%22%20fill%3D%22%23f5f5f5%22%20font-size%3D%2213%22%3ERouters%20exchange%20routes%20automatically%3A%3C\/text%3E%0A%3Ctext%20x%3D%22420%22%20y%3D%22160%22%20fill%3D%22%23b9a8bd%22%20font-size%3D%2212%22%20font-family%3D%22monospace%22%3Erouter%20ospf%201%20\/%20network%2010.0.1.0%200.0.0.255%20area%200%3C\/text%3E%0A%3Ctext%20x%3D%22420%22%20y%3D%22195%22%20fill%3D%22%23f5f5f5%22%20font-size%3D%2213%22%3E%2B%20Reroutes%20itself%20if%20a%20link%20fails%3C\/text%3E%0A%3Ctext%20x%3D%22420%22%20y%3D%22220%22%20fill%3D%22%23f5f5f5%22%20font-size%3D%2213%22%3E%2B%20Scales%20to%20large%20topologies%3C\/text%3E%0A%3Ctext%20x%3D%22420%22%20y%3D%22245%22%20fill%3D%22%23f5f5f5%22%20font-size%3D%2213%22%3E-%20Uses%20CPU%20and%20bandwidth%20to%20converge%3C\/text%3E%0A%3C\/svg%3E\" alt=\"Static vs dynamic routing CCNA diagram comparing a manually configured static route to an OSPF dynamic route\" style=\"max-width:100%;height:auto;\" \/><figcaption>Static vs dynamic routing CCNA: a hand-configured static route next to an OSPF dynamic route that reroutes itself.<\/figcaption><\/figure>\n<figure class=\"wp-block-table\">\n<table class=\"has-fixed-layout\">\n<thead>\n<tr>\n<th>\u0627\u0644\u0645\u064a\u0632\u0629<\/th>\n<th>\u0627\u0644\u062a\u0648\u062c\u064a\u0647 \u0627\u0644\u062b\u0627\u0628\u062a<\/th>\n<th>\u0627\u0644\u062a\u0648\u062c\u064a\u0647 \u0627\u0644\u062f\u064a\u0646\u0627\u0645\u064a\u0643\u064a<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u0627\u0644\u062a\u0643\u0648\u064a\u0646<\/td>\n<td>\u064a\u062f\u0648\u064a<\/td>\n<td>\u062a\u0644\u0642\u0627\u0626\u064a \u0639\u0628\u0631 \u0627\u0644\u0628\u0631\u0648\u062a\u0648\u0643\u0648\u0644<\/td>\n<\/tr>\n<tr>\n<td>\u0627\u0644\u0642\u062f\u0631\u0629 \u0639\u0644\u0649 \u0627\u0644\u062a\u0643\u064a\u0641<\/td>\n<td>\u0644\u0627<\/td>\n<td>\u0646\u0639\u0645<\/td>\n<\/tr>\n<tr>\n<td>\u0627\u0644\u0645\u0648\u0627\u0631\u062f \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645\u0629<\/td>\n<td>\u0645\u0646\u062e\u0641\u0636<\/td>\n<td>\u0645\u062a\u0648\u0633\u0637-\u0639\u0627\u0644\u064a<\/td>\n<\/tr>\n<tr>\n<td>\u0627\u0644\u0623\u0641\u0636\u0644 \u0644\u0640<\/td>\n<td>\u0627\u0644\u0634\u0628\u0643\u0627\u062a \u0627\u0644\u0635\u063a\u064a\u0631\u0629\/\u0627\u0644\u0645\u0623\u0645\u0648\u0646\u0629<\/td>\n<td>\u0627\u0644\u0634\u0628\u0643\u0627\u062a \u0627\u0644\u0643\u0628\u064a\u0631\u0629\/\u0627\u0644\u0645\u062a\u063a\u064a\u0631\u0629<\/td>\n<\/tr>\n<tr>\n<td>\u0628\u0631\u0648\u062a\u0648\u0643\u0648\u0644\u0627\u062a \u0627\u0644\u0645\u062b\u0627\u0644<\/td>\n<td>\u063a\u064a\u0631 \u0645\u062a\u0648\u0641\u0631<\/td>\n<td>RIP, OSPF, EIGRP<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n<h2 id=\"packet-tracer-lab-example\" class=\"wp-block-heading\">\ud83e\uddea \u0645\u062b\u0627\u0644 \u0645\u062e\u062a\u0628\u0631 Packet Tracer<\/h2>\n<h3 id=\"lab-topology\" class=\"wp-block-heading\">\u062a\u0648\u0628\u0648\u0644\u0648\u062c\u064a\u0627 \u0627\u0644\u0645\u062e\u062a\u0628\u0631:<\/h3>\n<ul class=\"wp-block-list\">\n<li><strong>\u0627\u0644\u0645\u0648\u062c\u06471<\/strong> (192.168.1.1) \u2192 <strong>\u0627\u0644\u0645\u0648\u062c\u06472<\/strong> (192.168.2.1)<\/li>\n<\/ul>\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n<h3 id=\"static-routing-example\" class=\"wp-block-heading\">\u0645\u062b\u0627\u0644 \u0627\u0644\u062a\u0648\u062c\u064a\u0647 \u0627\u0644\u062b\u0627\u0628\u062a:<\/h3>\n<p class=\"wp-block-paragraph\">\u0639\u0644\u0649 \u0627\u0644\u0645\u0648\u062c\u06471:<\/p>\n<pre class=\"wp-block-preformatted has-ast-global-color-6-color has-ast-global-color-7-background-color has-text-color has-background has-link-color wp-elements-3\"><code>ip route 192.168.2.0 255.255.255.0 10.0.0.2<\/code><\/pre>\n<p class=\"wp-block-paragraph\">\u0639\u0644\u0649 \u0627\u0644\u0645\u0648\u062c\u06472:<\/p>\n<pre class=\"wp-block-preformatted has-ast-global-color-6-color has-ast-global-color-7-background-color has-text-color has-background has-link-color wp-elements-4\"><code>ip route 192.168.1.0 255.255.255.0 10.0.0.1<\/code><\/pre>\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n<h3 id=\"ospf-routing-example\" class=\"wp-block-heading\">\u0645\u062b\u0627\u0644 \u0627\u0644\u062a\u0648\u062c\u064a\u0647 OSPF:<\/h3>\n<p class=\"wp-block-paragraph\">\u0639\u0644\u0649 \u0643\u0644\u0627 \u0627\u0644\u0645\u0648\u062c\u0647\u064a\u0646:<\/p>\n<pre class=\"wp-block-preformatted has-ast-global-color-6-color has-ast-global-color-7-background-color has-text-color has-background has-link-color wp-elements-5\"><code>\u0645\u0648\u062c\u0647 ospf 1  <br> \u0634\u0628\u0643\u0629 192.168.0.0 0.0.255.255 \u0645\u0646\u0637\u0642\u0629 0<\/code><\/pre>\n<h3 id=\"verifying-routes\" class=\"wp-block-heading\">Verifying and Troubleshooting Routes<\/h3>\n<p class=\"wp-block-paragraph\">Configuring a route and confirming it is actually being used are different steps, and skipping the second one is a common exam and real-world mistake:<\/p>\n<pre class=\"wp-block-code\"><code>Router# show ip route\nRouter# show ip protocols\nRouter# traceroute 192.168.2.1<\/code><\/pre>\n<p class=\"wp-block-paragraph\"><code>show ip route<\/code> shows every route the router currently has installed and which source (S for static, O for OSPF, and so on) won it &#8211; this is where administrative distance decisions become visible directly. <code>show ip protocols<\/code> confirms a dynamic routing protocol is actually running and which networks it is advertising &#8211; a surprisingly common exam trap is a <code>router ospf<\/code> block with the wrong wildcard mask, which looks configured but advertises nothing. <code>traceroute<\/code> from an end device shows the actual hop-by-hop path traffic takes, which is the fastest way to confirm a route is not just installed but genuinely being used end to end.<\/p>\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n<h2 id=\"when-to-use-static-or-dynamic\" class=\"wp-block-heading\">\ud83d\udcac \u0645\u062a\u0649 \u062a\u0633\u062a\u062e\u062f\u0645 \u0627\u0644\u062a\u0648\u062c\u064a\u0647 \u0627\u0644\u062b\u0627\u0628\u062a \u0623\u0648 \u0627\u0644\u062f\u064a\u0646\u0627\u0645\u064a\u0643\u064a\u061f<\/h2>\n<p class=\"wp-block-paragraph\"><strong>\u0627\u0633\u062a\u062e\u062f\u0645 \u0627\u0644\u062a\u0648\u062c\u064a\u0647 \u0627\u0644\u062b\u0627\u0628\u062a \u0639\u0646\u062f\u0645\u0627:<\/strong><\/p>\n<ul class=\"wp-block-list\">\n<li>\u0634\u0628\u0643\u062a\u0643 \u0635\u063a\u064a\u0631\u0629 \u0623\u0648 \u0644\u0627 \u062a\u062a\u063a\u064a\u0631 \u063a\u0627\u0644\u0628\u064b\u0627<\/li>\n<li>\u0623\u0646\u062a \u062a\u0631\u064a\u062f \u0627\u0644\u062a\u062d\u0643\u0645 \u0627\u0644\u0643\u0627\u0645\u0644<\/li>\n<li>Security is a concern<\/li>\n<\/ul>\n<p class=\"wp-block-paragraph\"><strong>Use Dynamic Routing When:<\/strong><\/p>\n<ul class=\"wp-block-list\">\n<li>You manage large or frequently changing networks<\/li>\n<li>You want automatic failover<\/li>\n<li>You need protocol flexibility (OSPF, EIGRP)<\/li>\n<\/ul>\n<p class=\"wp-block-paragraph\"><strong>learn More<\/strong><\/p>\n<ul class=\"wp-block-list\">\n<li>\u2705 <a>What Is Routing in Networking?<\/a><\/li>\n<li>\u2705 <a>CCNA Lab Exercises<\/a><\/li>\n<li>\ud83c\udf10 <a>Cisco Static Routing Overview<\/a><\/li>\n<li>\ud83c\udf10 <a>Understanding OSPF &#8211; NetworkLessons<\/a><\/li>\n<\/ul>\n<h2 id=\"faq\" class=\"wp-block-heading\">\ud83d\ude4b\u200d\u2642\ufe0fFAQ<\/h2>\n<div data-schema-only=\"false\" class=\"wp-block-aioseo-faq\">\n<h3 id=\"what-is-the-main-difference-between-static-and-dynamic-routing\" class=\"aioseo-faq-block-question\">What is the main difference between static and dynamic routing?<\/h3>\n<div class=\"aioseo-faq-block-answer\">\n<p class=\"wp-block-paragraph\">Static routing is manually configured. Dynamic routing uses protocols to learn and adjust paths automatically.<\/p>\n<\/div>\n<\/div>\n<div data-schema-only=\"false\" class=\"wp-block-aioseo-faq\">\n<h3 id=\"is-static-routing-better-than-dynamic\" class=\"aioseo-faq-block-question\">Is static routing better than dynamic?<\/h3>\n<div class=\"aioseo-faq-block-answer\">\n<p class=\"wp-block-paragraph\">Static routing is better for small, stable networks. Dynamic routing is better for large, scalable environments.<\/p>\n<\/div>\n<\/div>\n<div data-schema-only=\"false\" class=\"wp-block-aioseo-faq\">\n<h3 id=\"which-protocol-is-used-in-dynamic-routing\" class=\"aioseo-faq-block-question\">Which protocol is used in dynamic routing?<\/h3>\n<div class=\"aioseo-faq-block-answer\">\n<p class=\"wp-block-paragraph\">Popular ones are RIP, OSPF, and EIGRP (Cisco). OSPF is often preferred in enterprise setups.<\/p>\n<\/div>\n<\/div>\n<div data-schema-only=\"false\" class=\"wp-block-aioseo-faq\">\n<h3 id=\"does-ccna-require-knowing-both\" class=\"aioseo-faq-block-question\">Does CCNA require knowing both?<\/h3>\n<div class=\"aioseo-faq-block-answer\">\n<p class=\"wp-block-paragraph\">Yes, you must <strong>know how to configure and troubleshoot<\/strong> both static and dynamic routing methods for the CCNA exam.<\/p>\n<\/div>\n<\/div>\n<p class=\"wp-block-paragraph\">\u0625\u0630\u0627 \u0643\u0646\u062a \u062a\u0641\u0636\u0651\u0644 \u0623\u0646 \u064a\u0634\u0631\u062d \u0644\u0643 \u0623\u062d\u062f\u0647\u0645 \u0630\u0644\u0643 \u062e\u0637\u0648\u0629 \u0628\u062e\u0637\u0648\u0629\u060c \u0623\u0648 \u062a\u062d\u062a\u0627\u062c \u0625\u0644\u0649 \u0645\u062e\u062a\u0628\u0631 Packet Tracer \u0645\u062d\u062f\u062f \u0645\u0643\u062a\u0645\u0644 \u0648\u0645\u0634\u0631\u062d \u0628\u062f\u0644\u0627\u064b \u0645\u0646 \u0623\u0646 \u062a\u062d\u0644\u0647 \u0628\u0646\u0641\u0633\u0643\u060c \u0631\u0627\u062c\u0639 <a href=\"https:\/\/zilleali.com\/ar\/ccna-packet-tracer-help\/\">\u062f\u0631\u0648\u0633 CCNA \u0648 Packet Tracer<\/a> \u0627\u0644\u0635\u0641\u062d\u0629 \u0627\u0644\u062a\u064a \u062a\u0648\u0636\u062d \u0643\u064a\u0641\u064a\u0629 \u0639\u0645\u0644 \u0630\u0644\u0643.<\/p>\n<p class=\"wp-block-paragraph\">Routing decisions and VLAN design go hand in hand on the real exam &#8211; see <a href=\"https:\/\/zilleali.com\/ar\/vlans-and-inter-vlan-routing-explained-for-ccna-2025\/\">VLANs and Inter-VLAN Routing Explained for CCNA<\/a> for the segmentation side of this topic.<\/p>","protected":false},"excerpt":{"rendered":"<p>\u062a\u0639\u0644\u0645 \u0645\u062a\u0649 \u062a\u0633\u062a\u062e\u062f\u0645 \u0627\u0644\u062a\u0648\u062c\u064a\u0647 \u0627\u0644\u0633\u0627\u0643\u0646 \u0623\u0648 \u0627\u0644\u062f\u064a\u0646\u0627\u0645\u064a\u0643\u064a \u0641\u064a \u0634\u0628\u0643\u062a\u0643.<\/p>","protected":false},"author":1,"featured_media":5440,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"googlesitekit_rrm_CAow6N_ODA:productID":"","_chatbot_visible":"","_zea_seo_title":"Static vs Dynamic Routing CCNA: Which to Use & When","_zea_seo_description":"Static vs dynamic routing CCNA guide: the real differences, configuration commands, and when to choose each for the exam and real networks.","_zea_seo_focus_keyphrase":"static vs dynamic routing CCNA","_zea_seo_canonical":"","_zea_seo_robots_noindex":false,"_zea_seo_robots_nofollow":false,"_zea_seo_sitemap_exclude":false,"_zea_seo_cornerstone":false,"_zea_seo_sitemap_priority":"","_zea_seo_og_title":"#post_title #separator_sa #site_title","_zea_seo_og_description":"#post_excerpt","_zea_seo_og_image":"https:\/\/zilleali.com\/wp-content\/uploads\/2026\/05\/static-vs-dynamic-routing-ccna-guide-zill-e-ali.png","_zea_seo_twitter_title":"","_zea_seo_twitter_description":"","_zea_seo_analysis_score":0,"_zea_ai_pending":false,"_zea_ai_notes":"","_zea_ai_keyword":"","footnotes":""},"categories":[174],"tags":[28,48,50,107,114,115,124],"class_list":["post-3445","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cisco-networking","tag-ccna","tag-dynamic-routing","tag-eigrp","tag-ospf","tag-rip","tag-routing-protocols","tag-static-routing"],"_links":{"self":[{"href":"https:\/\/zilleali.com\/ar\/wp-json\/wp\/v2\/posts\/3445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zilleali.com\/ar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zilleali.com\/ar\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zilleali.com\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zilleali.com\/ar\/wp-json\/wp\/v2\/comments?post=3445"}],"version-history":[{"count":6,"href":"https:\/\/zilleali.com\/ar\/wp-json\/wp\/v2\/posts\/3445\/revisions"}],"predecessor-version":[{"id":6393,"href":"https:\/\/zilleali.com\/ar\/wp-json\/wp\/v2\/posts\/3445\/revisions\/6393"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zilleali.com\/ar\/wp-json\/wp\/v2\/media\/5440"}],"wp:attachment":[{"href":"https:\/\/zilleali.com\/ar\/wp-json\/wp\/v2\/media?parent=3445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zilleali.com\/ar\/wp-json\/wp\/v2\/categories?post=3445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zilleali.com\/ar\/wp-json\/wp\/v2\/tags?post=3445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}