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

浮動靜態路由設置主要步驟與設置語句的詳解

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

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

了解一些關于浮動靜態路由配置的知識還是非常有用的,于是我研究了一下靜態路由配置主要步驟和配置語句,在這里拿出來和大家分享一下,希望對大家有用。浮動靜態路由配置步驟:

1、正確配置主干線路,保證其能正常通信
2、配置主干線路的動態路由
3、正確配置備份線路,保證其能正常通信
4、浮動靜態路由配置通過備份線路的靜態路由

ip route 目地子網地址 子網掩碼 相鄰路由器相鄰端口地址權值其中,權值數值越高其路由優先權越低權值范圍在1-255之間,CISCO 2501-above的浮動靜態路由配置:

  1. Current confignration:!version 11.2no service udp-small-servers   
  2. no service tcp-small-servers   
  3. !   
  4. hostname above   
  5. !   
  6. enable secret 5 $1$O1aq$KxgpIA0Eulqug8SbCm6rd1   
  7. enable password cisco   
  8. !   
  9. username down password 7 095C5E19   
  10. chat-scrip lab ABORT ERROR ABORT BUSY ABORT "NO ANSWER" "" "AT H" OK "ATDT \T" TIMEOUT 60 CONNECT \c   
  11. !   
  12. interface Ethernet0   
  13. ip address 192.192.193.1 255.255.255.0   
  14. !interface Serial0   
  15. iu address 192.192.192.1 255.255.255.0   
  16. bandwidth 64   
  17. clockrate 64000   
  18. !   
  19. interface Serial1   
  20. no ip address   
  21. shutdown   
  22. interface Asyncl   
  23. ip address 166.71.70.1 255.255.255.0   
  24. encapsulation pppasync dynamic address   
  25. async dynamic routing   
  26. async mode dedicated   
  27. dialer in-banddialer ip 166.71.70.2 name down modem-script lab broadcast 3631   
  28. dialer-group 1   
  29. no cdp enableppp authentication chap  
  30. !router rip  
  31. network 192.192.192.0  
  32. network 192.192.193.0   
  33. !   
  34. no ip classless   
  35. ip route 0.0.0.0 0.0.0.0 166.71.70.2 150   
  36. ip route 192.192.191.0 255.255.255.0 166.71.70.2 150   
  37. dialer-list 1 protocol ip permit  
  38. !line con 0  
  39. line aux 0   
  40. modem InOutmodem autoconfigure discoverystopbits 1rxspeed 38400txspeed 38400flowcontrol hardware  
  41. line vty 0 4   
  42. no login   
  43. !   
  44. end   
  45. Cisco 2501-down 的配置Current configuration:   
  46. !   
  47. version 11.2no service udp-small-serversno service tep-small-servers!hostname down!enable secret 5 $1$m8S4  
  48. $InrkhnJDtCVtSvTpXO8v/0enable password cisco   
  49. !   
  50. username above password 7 095C5E19   
  51. chat-script lab ABORT ERROR ABORT BUSY ABORT "NO ANSWER" "" "AT H" OK "ATDT \T" TIMEOUT 60 CONNECT \c   
  52. !   
  53. interface Ethernet0   
  54. ip address 192.192.191.1 255.255.255.0   
  55. !   
  56. interface Serial0   
  57. ip address 192.192.192.3 255.255.255.0   
  58. !   
  59. interface Serial1   
  60. no ip address   
  61. shutdown   
  62. !   
  63. interface Asyncl   
  64. ip address 166.71.70.2 255.255.255.0encapsulation pppasync dynamic addressasync dynamic routingasync mode dedicateddialer in  
  65. -banddialer map ip 166.71.70.1 name above modem-script lab broadcast 3621   
  66. dialer-group 1   
  67. no cdp enable   
  68. ppp authentication chap   
  69. !   
  70. router rip network 192.192.192.0   
  71. network 192.192.191.0   
  72. !   
  73. no ip classless   
  74. ip route 0.0.0.0 0.0.0.0 166.71.70.1 150   
  75. ip route 192.192.193.0 255.255.255.0 166.71.70.1 150   
  76. dialer-list 1 protocol ip permit   
  77. !   
  78. line con 0   
  79. line aux 0   
  80. modem InOutmodem autoconfigure discovery   
  81. stopbits 1   
  82. rxspeed 38400   
  83. txspeed 38400   
  84. flowcontrol hardware   
  85. line vty 0 4   
  86. no login   
  87.  


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

本文章關鍵詞: 浮動靜態路由配置 
久久亚洲国产的中文