作家
登录

浮动静态路由配置主要步骤和配置语句的详解

作者: 来源: 2012-06-25 09:12:08 阅读 我要评论

了解一些关于浮动静态路由配置的知识还是非常有用的,于是我研究了一下静态路由配置主要步骤和配置语句,在这里拿出来和大家分享一下,希望对大家有用。浮动静态路由配置步骤:

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.  


  推荐阅读

  视点:关于配置静态路由初涉

其实配置静态路由与配置普通的路由器原理是一样的,于是我研究了一下配置静态路由的具体步骤,在这里拿出来和大家分享一下,希望对大家有用。随着宽带接入的普及,很多家庭和小企业都组建了局域网来共享宽带接入。而>>>详细阅读


本文标题:浮动静态路由配置主要步骤和配置语句的详解

地址:http://www.17bianji.com/luyou/8663.html

关键词: 探索发现

乐购科技部分新闻及文章转载自互联网,供读者交流和学习,若有涉及作者版权等问题请及时与我们联系,以便更正、删除或按规定办理。感谢所有提供资讯的网站,欢迎各类媒体与乐购科技进行文章共享合作。

网友点评
自媒体专栏

评论

热度

精彩导读
栏目ID=71的表不存在(操作类型=0)