免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
123
最近访问板块 发新帖
楼主: 八月初三
打印 上一主题 下一主题

CISCO3825路由器配置HSRP实现双机备份的问题【新问题出现】 [复制链接]

论坛徽章:
0
21 [报告]
发表于 2008-12-19 23:36 |只看该作者
之前拿WMIC插槽8个FE口中的一个FE0/0/0配置的192.168.106.3虚拟地址,测试正常,

现在又用其他的口配置了 Group ,但是接上先后发现有的通,有的不通,不同的网段,明天发配置给大家看,看看哪里不对了

,明天得加班,不爽!

[ 本帖最后由 八月初三 于 2008-12-19 23:39 编辑 ]

论坛徽章:
0
22 [报告]
发表于 2008-12-20 15:50 |只看该作者
用FastEthernet0/1/3(第八个口)配置了vlan 800,划入standby 9,配置信息如下:

  1. route-1
  2. interface Vlan800
  3. ip address 10.76.168.101 255.255.255.128
  4. no ip redirects
  5. standby 9 ip 10.76.168.126
  6. standby 9 timers 5 15
  7. standby 9 priority 110
  8. standby 9 preempt
  9. standby 9 track GigabitEthernet0/0
  10. standby 9 track FastEthernet0/1/3

  11. route-2

  12. interface Vlan800
  13. ip address 10.76.168.102 255.255.255.128
  14. no ip redirects
  15. standby 9 ip 10.76.168.126
  16. standby 9 timers 5 15
  17. standby 9 priority 105
  18. standby 9 preempt
  19. standby 9 track GigabitEthernet0/0
  20. standby 9 track FastEthernet0/1/3
复制代码



.


.
.
.

用FastEthernet0/0/3(第四个口)配置了vlan 400,划入standby 5,配置信息如下:



  1. route-1
  2. interface Vlan400
  3. ip address 10.76.152.101 255.255.255.128
  4. no ip redirects
  5. standby 5 ip 10.76.168.126
  6. standby 5 timers 5 15
  7. standby 5 priority 110
  8. standby 5 preempt
  9. standby 5 track GigabitEthernet0/0
  10. standby 5 track FastEthernet0/1/3

  11. route-2

  12. interface Vlan800
  13. ip address 10.76.152.102 255.255.255.128
  14. no ip redirects
  15. standby 5 ip 10.76.168.126
  16. standby 5 timers 5 15
  17. standby 5 priority 105
  18. standby 5 preempt
  19. standby 5 track GigabitEthernet0/0
  20. standby 5 track FastEthernet0/1/3
复制代码


第二个口FastEthernet0/0/1和第三个口FastEthernet0/0/2未配置

接上网络,连上测试机,发现只有Vlan400可以ping通,Vlan800-Vlan500则死活不通,sh standby 显示这4个根本未发现standby端口

详细配置在下一跟帖

论坛徽章:
0
23 [报告]
发表于 2008-12-20 15:55 |只看该作者
处理了一下,删除了无用的信息

route1:

  1. route-1#
  2. route-1#sh conf

  3. interface GigabitEthernet0/0
  4. description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$
  5. ip address 192.168.108.180 255.255.255.0
  6. no ip redirects
  7. duplex auto
  8. speed auto
  9. media-type rj45
  10. negotiation auto
  11. standby 1 ip 192.168.108.182
  12. standby 1 timers 5 15
  13. standby 1 priority 110
  14. standby 1 preempt delay minimum 60
  15. standby 1 track GigabitEthernet0/0
  16. !
  17. interface GigabitEthernet0/1
  18. no ip address
  19. shutdown
  20. duplex auto
  21. speed auto
  22. media-type rj45
  23. negotiation auto
  24. !
  25. interface FastEthernet0/0/0
  26. switchport access vlan 100
  27. !
  28. interface FastEthernet0/0/1
  29. switchport access vlan 200
  30. !
  31. interface FastEthernet0/0/2
  32. switchport access vlan 300
  33. !
  34. interface FastEthernet0/0/3
  35. switchport access vlan 400
  36. !
  37. interface FastEthernet0/1/0
  38. switchport access vlan 500
  39. !
  40. interface FastEthernet0/1/1
  41. switchport access vlan 600
  42. !
  43. interface FastEthernet0/1/2
  44. switchport access vlan 700
  45. !
  46. interface FastEthernet0/1/3
  47. switchport access vlan 800
  48. !
  49. interface Vlan1
  50. no ip address
  51. !
  52. interface Vlan5
  53. no ip address
  54. !
  55. interface Vlan100
  56. ip address 10.76.128.180 255.255.255.0
  57. standby 2 ip 10.76.128.254
  58. standby 2 timers 5 15
  59. standby 2 priority 110
  60. standby 2 preempt
  61. standby 2 track GigabitEthernet0/0
  62. standby 2 track FastEthernet0/0/0
  63. !
  64. interface Vlan400
  65. ip address 10.76.152.101 255.255.255.128
  66. no ip redirects
  67. standby 5 ip 10.76.152.126
  68. standby 5 timers 5 15
  69. standby 5 priority 110
  70. standby 5 preempt
  71. standby 5 track GigabitEthernet0/0
  72. standby 5 track FastEthernet0/0/3
  73. !
  74. interface Vlan500
  75. ip address 10.76.160.101 255.255.255.128
  76. no ip redirects
  77. standby 6 ip 10.76.160.126
  78. standby 6 timers 5 15
  79. standby 6 priority 110
  80. standby 6 preempt
  81. standby 6 track GigabitEthernet0/0
  82. standby 6 track FastEthernet0/1/0
  83. !
  84. interface Vlan600
  85. ip address 10.76.144.101 255.255.255.128
  86. no ip redirects
  87. standby 7 ip 10.76.144.126
  88. standby 7 timers 5 15
  89. standby 7 priority 110
  90. standby 7 preempt
  91. standby 7 track GigabitEthernet0/0
  92. standby 7 track FastEthernet0/1/1
  93. !
  94. interface Vlan700
  95. ip address 10.76.136.101 255.255.255.128
  96. no ip redirects
  97. standby 8 ip 10.76.136.126
  98. standby 8 timers 5 15
  99. standby 8 priority 110
  100. standby 8 preempt
  101. standby 8 track GigabitEthernet0/0
  102. standby 8 track FastEthernet0/1/2
  103. !
  104. interface Vlan800
  105. ip address 10.76.168.101 255.255.255.128
  106. no ip redirects
  107. standby 9 ip 10.76.168.126
  108. standby 9 timers 5 15
  109. standby 9 priority 110
  110. standby 9 preempt
  111. standby 9 track GigabitEthernet0/0
  112. standby 9 track FastEthernet0/1/3

  113. route-1#sh standby
  114. GigabitEthernet0/0 - Group 1
  115.   State is Active
  116.     5 state changes, last state change 01:44:14
  117.   Virtual IP address is 192.168.108.182
  118.   Active virtual MAC address is 0000.0c07.ac01
  119.     Local virtual MAC address is 0000.0c07.ac01 (v1 default)
  120.   Hello time 5 sec, hold time 15 sec
  121.     Next hello sent in 2.584 secs
  122.   Preemption enabled, delay min 60 secs
  123.   Active router is local
  124.   Standby router is 192.168.108.181, priority 105 (expires in 11.000 sec)
  125.   Priority 110 (configured 110)
  126.     Track interface GigabitEthernet0/0 state Up decrement 10
  127.   IP redundancy name is "hsrp-Gi0/0-1" (default)

  128. Vlan500 - Group 6
  129.   State is Active
  130.     8 state changes, last state change 00:00:59
  131.   Virtual IP address is 10.76.160.126
  132.   Active virtual MAC address is 0000.0c07.ac06
  133.     Local virtual MAC address is 0000.0c07.ac06 (v1 default)
  134.   Hello time 5 sec, hold time 15 sec
  135.     Next hello sent in 2.184 secs
  136.   Preemption enabled
  137.   Active router is local
  138.   Standby router is unknown
  139.   Priority 110 (configured 110)
  140.     Track interface GigabitEthernet0/0 state Up decrement 10
  141.     Track interface FastEthernet0/1/0 state Up decrement 10
  142.   IP redundancy name is "hsrp-Vl500-6" (default)
复制代码


route-2


  1. route-2#sh conf

  2. interface GigabitEthernet0/0
  3. description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-GE 0/0$
  4. ip address 192.168.108.181 255.255.255.0
  5. no ip redirects
  6. duplex auto
  7. speed auto
  8. media-type rj45
  9. negotiation auto
  10. standby 1 ip 192.168.108.182
  11. standby 1 timers 5 15
  12. standby 1 priority 105
  13. standby 1 preempt
  14. standby 1 track GigabitEthernet0/0
  15. !
  16. interface GigabitEthernet0/1
  17. no ip address
  18. shutdown
  19. duplex auto
  20. speed auto
  21. media-type rj45
  22. negotiation auto
  23. !
  24. interface FastEthernet0/0/0
  25. switchport access vlan 100
  26. !
  27. interface FastEthernet0/0/1
  28. switchport access vlan 200
  29. !
  30. interface FastEthernet0/0/2
  31. switchport access vlan 300
  32. !
  33. interface FastEthernet0/0/3
  34. switchport access vlan 400
  35. !
  36. interface FastEthernet0/1/0
  37. switchport access vlan 500
  38. !
  39. interface FastEthernet0/1/1
  40. switchport access vlan 600
  41. !
  42. interface FastEthernet0/1/2
  43. switchport access vlan 700
  44. !
  45. interface FastEthernet0/1/3
  46. switchport access vlan 800
  47. !
  48. interface Vlan1
  49. no ip address
  50. !
  51. interface Vlan100
  52. ip address 10.76.128.181 255.255.255.0
  53. no ip redirects
  54. standby 2 ip 10.76.128.254
  55. standby 2 timers 5 15
  56. standby 2 priority 105
  57. standby 2 preempt
  58. standby 2 track GigabitEthernet0/0
  59. standby 2 track FastEthernet0/0/0
  60. !
  61. interface Vlan400
  62. ip address 10.76.152.102 255.255.255.128
  63. no ip redirects
  64. standby 5 ip 10.76.152.126
  65. standby 5 timers 5 15
  66. standby 5 priority 105
  67. standby 5 preempt
  68. standby 5 track GigabitEthernet0/0
  69. standby 5 track FastEthernet0/0/3
  70. !
  71. interface Vlan500
  72. ip address 10.76.160.102 255.255.255.128
  73. no ip redirects
  74. standby 6 ip 10.76.160.126
  75. standby 6 timers 5 15
  76. standby 6 priority 105
  77. standby 6 preempt
  78. standby 6 track GigabitEthernet0/0
  79. standby 6 track FastEthernet0/1/0
  80. !
  81. interface Vlan600
  82. ip address 10.76.144.102 255.255.255.128
  83. no ip redirects
  84. standby 7 ip 10.76.144.126
  85. standby 7 timers 5 15
  86. standby 7 priority 105
  87. standby 7 preempt
  88. standby 7 track GigabitEthernet0/0
  89. standby 7 track FastEthernet0/1/1
  90. !
  91. interface Vlan700
  92. ip address 10.76.136.102 255.255.255.128
  93. no ip redirects
  94. standby 8 ip 10.76.136.126
  95. standby 8 timers 5 15
  96. standby 8 priority 105
  97. standby 8 preempt
  98. standby 8 track GigabitEthernet0/0
  99. standby 8 track FastEthernet0/1/2
  100. !         
  101. interface Vlan800
  102. ip address 10.76.168.102 255.255.255.128
  103. no ip redirects
  104. standby 9 ip 10.76.168.126
  105. standby 9 timers 5 15
  106. standby 9 priority 105
  107. standby 9 preempt
  108. standby 9 track GigabitEthernet0/0
  109. standby 9 track FastEthernet0/1/3
  110. !


  111. route-2#sh standby
  112. GigabitEthernet0/0 - Group 1
  113.   State is Standby
  114.     4 state changes, last state change 01:44:28
  115.   Virtual IP address is 192.168.108.182
  116.   Active virtual MAC address is 0000.0c07.ac01
  117.     Local virtual MAC address is 0000.0c07.ac01 (v1 default)
  118.   Hello time 5 sec, hold time 15 sec
  119.     Next hello sent in 2.624 secs
  120.   Preemption enabled
  121.   Active router is 192.168.108.180, priority 110 (expires in 14.204 sec)
  122.   Standby router is local
  123.   Priority 105 (configured 105)
  124.     Track interface GigabitEthernet0/0 state Up decrement 10
  125.   IP redundancy name is "hsrp-Gi0/0-1" (default)

  126. Vlan500 - Group 6
  127.   State is Active
  128.     5 state changes, last state change 00:01:22
  129.   Virtual IP address is 10.76.160.126
  130.   Active virtual MAC address is 0000.0c07.ac06
  131.     Local virtual MAC address is 0000.0c07.ac06 (v1 default)
  132.   Hello time 5 sec, hold time 15 sec
  133.     Next hello sent in 3.756 secs
  134.   Preemption enabled
  135.   Active router is local
  136.   Standby router is unknown
  137.   Priority 105 (configured 105)
  138.     Track interface GigabitEthernet0/0 state Up decrement 10
  139.     Track interface FastEthernet0/1/0 state Up decrement 10
  140.   IP redundancy name is "hsrp-Vl500-6" (default)

复制代码

论坛徽章:
0
24 [报告]
发表于 2008-12-20 16:30 |只看该作者
顺道跟一个问题,
我从测试机上telnet路由器的时候失败,提示:Unable to connect to remote host: Connection refused

我已经执行了:
#line vty 0 15
#login
#password 123456

奇怪

论坛徽章:
0
25 [报告]
发表于 2008-12-22 10:02 |只看该作者
几位兄台呢?过圣诞去了吗?

论坛徽章:
0
26 [报告]
发表于 2008-12-22 13:49 |只看该作者
建议用rtr来监控,那样可以监控PING的结果来判断,如果只是监控接口UP/DOWN,有些时候接口是UP的,但也需要切换的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP