浮动静态路由配置主要步骤和配置语句的详解
创始人
2024-06-14 14:40:31
0

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

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.  

 

 

相关内容

热门资讯

如何允许远程连接到MySQL数... [[277004]]【51CTO.com快译】默认情况下,MySQL服务器仅侦听来自localhos...
如何利用交换机和端口设置来管理... 在网络管理中,总是有些人让管理员头疼。下面我们就将介绍一下一个网管员利用交换机以及端口设置等来进行D...
施耐德电气数据中心整体解决方案... 近日,全球能效管理专家施耐德电气正式启动大型体验活动“能效中国行——2012卡车巡展”,作为该活动的...
20个非常棒的扁平设计免费资源 Apple设备的平面图标PSD免费平板UI 平板UI套件24平图标Freen平板UI套件PSD径向平...
德国电信门户网站可实时显示全球... 德国电信周三推出一个门户网站,直观地实时提供其安装在全球各地的传感器网络检测到的网络攻击状况。该网站...
为啥国人偏爱 Mybatis,... 关于 SQL 和 ORM 的争论,永远都不会终止,我也一直在思考这个问题。昨天又跟群里的小伙伴进行...
《非诚勿扰》红人闫凤娇被曝厕所... 【51CTO.com 综合消息360安全专家提醒说,“闫凤娇”、“非诚勿扰”已经被黑客盯上成为了“木...
2012年第四季度互联网状况报... [[71653]]  北京时间4月25日消息,据国外媒体报道,全球知名的云平台公司Akamai Te...