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

网络 路由交换
也许很多人对浮动静态路由配置还不是特别的了解,下面我们主要针对此问题,详细的分析浮动静态路由配置主要步骤和配置语句。

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

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.  

 

 

责任编辑:王晓东 来源: 计世网
相关推荐

2009-12-09 11:06:53

浮动静态路由

2009-12-23 13:51:05

浮动静态路由技术

2009-10-27 14:31:57

linux静态路由

2021-08-11 16:34:02

浮动路由路由网络技术

2011-08-22 14:43:36

静态路由器

2009-12-11 13:31:25

CISCO路由交换机策略路由

2009-12-17 16:42:35

配置静态路由

2011-04-13 11:27:28

EIGRP路由

2009-04-08 10:35:00

静态路由配置

2010-01-27 10:30:26

Cisco交换机配置

2013-05-15 10:56:19

静态路由器路由器设备配置

2011-04-08 10:37:41

静态路由路由器

2013-06-07 11:06:20

路由技术静态路由配置路由器

2009-12-09 13:23:24

静态路由配置

2011-03-14 16:36:28

静态路由

2010-08-20 15:07:22

浮动静态路由

2011-04-01 13:55:58

路由路由器路由表

2010-08-09 10:31:00

华为路由器路由配置命令

2009-11-19 17:18:30

静态路由动态路由

2009-11-26 11:25:25

Cisco路由器配置
点赞
收藏

51CTO技术栈公众号