<progress id="btth9"></progress>
<sub id="btth9"><thead id="btth9"><font id="btth9"></font></thead></sub>

<sub id="btth9"></sub>

      <big id="btth9"></big>

      <progress id="btth9"></progress>

      <big id="btth9"></big>

      win7系統下載
      當前位置: 首頁 > 網絡技術教程 > 詳細頁面

      IP default-network與設置靜態路由的語句區分

      發布時間:2022-05-18 文章來源:xp下載站 瀏覽:

      網絡技術是從1990年代中期發展起來的新技術,它把互聯網上分散的資源融為有機整體,實現資源的全面共享和有機協作,使人們能夠透明地使用資源的整體能力并按需獲取信息。資源包括高性能計算機、存儲資源、數據資源、信息資源、知識資源、專家資源、大型數據庫、網絡、傳感器等。 當前的互聯網只限于信息共享,網絡則被認為是互聯網發展的第三階段。

      應該說配置靜態路由的語句還是很復雜的,同時在配置過程中我們也要特別注意一些細節。對于一些準備考CCNA和CCNP的人來說,配置靜態路由和使用思科的命令IP default-network的區別是一個令人迷惑的地方。初一看,他們都是一樣的。結果都是配置一個目的地,使得路由器知道如果一個包在路由表中沒有指定的路由的話,這個包將會被發往何地。

      他們之間的主要區別是:配置一條靜態缺省路由僅是為你在配置靜態路由定義一條路由,而ip default-network將通過使用的路由協議進行傳播。下面,我們在一個星形網絡(hub-and-spoke network)中來試驗ip default-network命令。R1為中心,R2和R3葉子。他們通過網絡172.12.123.0/24連接起來,而且每臺路由器都根據它的路由器號碼被配置了32位掩碼的LOOPBACK地址(1.1.1.1/32,等等)。路由協議使用RIP協議,LOOPBACK地址在網絡中被廣播。

      R1配置靜態路由有一個串口,地址為10.1.1.1/24,這個網絡被通過使用命令ip default-network 10.0.0.0命令,配置為一條缺省網絡。它還沒有被RIP廣播。接下來,路由協議廣播了這條路由。使用RIP,缺省網絡被廣播為0.0.0.0(如果使用了IGRP,它會顯示網絡號,但是被標識成IGRP的外部路由)。這個路由被指定為R1的一條缺省的路由,正如我們在下面看到的。

      1. R1#show ip route   
      2. Gateway of last resort is not set   
      3. 1.0.0.0/32 is subnetted, 1 subnets   
      4. C 1.1.1.1 is directly connected, Loopback0   
      5. R 2.0.0.0/8 [120/1] via 172.12.123.2, 00:00:11, Serial0   
      6. R 3.0.0.0/8 [120/1] via 172.12.123.3, 00:00:11, Serial0   
      7. 172.12.0.0/16 is variably subnetted, 2 subnets, 2 masks   
      8. C 172.12.21.0/30 is directly connected, BRI0   
      9. C 172.12.123.0/24 is directly connected, Serial0   
      10. * 10.0.0.0/24 is subnetted, 1 subnets  
      11. C 10.1.1.0 is directly connected, Serial1   
      12. 在R2和R3上,缺省的RIP路由也將出現:  
      13. R2#show ip route   
      14. Gateway of last resort is 172.12.123.1 to network 0.0.0.0   
      15. R 1.0.0.0/8 [120/1] via 172.12.123.1, 00:00:00, Serial0.213   
      16. 2.0.0.0/32 is subnetted, 1 subnets   
      17. C 2.2.2.2 is directly connected, Loopback0   
      18. R 3.0.0.0/8 [120/2] via 172.12.123.1, 00:00:00, Serial0.213   
      19. 172.12.0.0/16 is variably subnetted, 2 subnets, 2 masks   
      20. C 172.12.21.0/30 is directly connected, BRI0   
      21. C 172.12.123.0/24 is directly connected, Serial0.213   
      22. R* 0.0.0.0/0 [120/1] via 172.12.123.1, 00:00:00, Serial0.213   
      23. R3#show ip route   
      24. Gateway of last resort is 172.12.123.1 to network 0.0.0.0   
      25. R 1.0.0.0/8 [120/1] via 172.12.123.1, 00:00:27, Serial0.31   
      26. R 2.0.0.0/8 [120/2] via 172.12.123.1, 00:00:28, Serial0.31   
      27. 3.0.0.0/32 is subnetted, 1 subnets   
      28. C 3.3.3.3 is directly connected, Loopback0   
      29. 172.12.0.0/24 is subnetted, 1 subnets   
      30. C 172.12.123.0 is directly connected, Serial0.31   
      31. R* 0.0.0.0/0 [120/1] via 172.12.123.1, 00:00:28, Serial0.31   
      32.  

      網絡的神奇作用吸引著越來越多的用戶加入其中,正因如此,網絡的承受能力也面臨著越來越嚴峻的考驗―從硬件上、軟件上、所用標準上......,各項技術都需要適時應勢,對應發展,這正是網絡迅速走向進步的催化劑。

      本文章關鍵詞: 配置靜態路由 
      日本不卡免费新一区二区三区