免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1388 | 回复: 0
打印 上一主题 下一主题

[集群与高可用] 在低端路由器上双机热备份和EIGRP路由调整 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-06-13 16:12 |只看该作者 |倒序浏览

这是实际的一个案例:
  
  1. HSRP的配置:
  在LongQuan-Backup(
1601
)上:
  int e0
  ip address 22.97.80.253 255.255.255.0 secondary
  ip address 21.97.80.253 255.255.255.0
  no ip redirects
  no logging event subif-link-status
  standby priority
200

  standby preempt
  standby ip 21.97.80.1
  standby ip 22.97.80.1 secondary
  standby track Serial0
100
/如果S0口的线路当掉了,该E口的优先权减小100,从而成为STANDBY状态
  
  在LongQuan(
2501
)上:
  int e0
  ip address 22.97.80.254 255.255.255.0 secondary
  ip address 21.97.80.254 255.255.255.0
  no ip redirects
  no ip directed-broadcast
  standby priority
150

  standby preempt
  standby ip 21.97.80.1
  standby ip 22.97.80.1 secondary
  
  
  
  2.LongQuan(
2500
)上路由的调整:
  interface Serial1.16 point-to-point
  description --- 256K LianTong FR ---
  ip address 22.96.229.2 255.255.255.252
  ip accounting output-packets
  bandwidth
1000
000/调高接口带宽
  frame-relay interface-dlci 16
  
  router eigrp 1
  redistribute connected
  redistribute sta
  network 21.0.0.0
  network 22.0.0.0
  distribute-list 22 out Ethernet0/过滤掉21的低METRIC值EIGRP路由
  no auto-summary
  !
  access-list 22 permit 22.0.0.0 0.255.255.255
  
  
  说明:平时正常时候,
1601
是局域网内两个网段的ACTIVE
网关
,局域网中目的地址为22网段的数据走联通线路,21网段的走电信线路;当1601的S口DOWN后,25成为主网关,一切数据都走联通线路


 FW: 我认为可以建立2 个 hsrp组,让source 21 走
1600
,让source 22 走25,
  在LongQuan-Backup(1601)上:
  int e0
  ip address 22.97.80.253 255.255.255.0 secondary
  ip address 21.97.80.253 255.255.255.0
  no ip redirects
  no logging event subif-link-status
  standby1 ip 21.97.80.1
  standby 1 priority 110
  standby1 preempt
  
  standby 2 ip 22.97.80.1
  standby 2 priority 109
  standby 2 preempt
  
  standby 11track Serial0
  
  standby 2 1track Serial0
  如果S0口的线路当掉了,该E口的优先权减小,从而成为STANDBY状态
  
  在LongQuan(
2501
)上:
  int e0
  ip address 22.97.80.254 255.255.255.0 secondary
  ip address 21.97.80.254 255.255.255.0
  no ip redirects
  no ip directed-broadcast
  standby priority 150
  
  standby 1 ip 21.97.80.1
  standby 1 priority 109
  standby1 preempt
  
  standby 2 ip 22.97.80.1
  standby 2 priority 110
  standby 2 preempt
  
  standby 11track Serial0
  standby 21track Serial0
  
  我认为不必再
2500
上作路由matric 和 distribute-list 调整,以为对pc 来说,认为只有一台router, 数据包往那个router 发,有hsrp protocol 控制 。
  
  FW:希望进一步讨论有什么其他方法达到设计要求。
  
  我的想法:
  如果用3550 代替hub ,现在3550上实现3层交换,
  
1600

2500
分别接 fa 0/1 fa 0/2
  3550 配置如下 :
  interface FastEthernet0/1
  description link 1600
  
  interface FastEthernet0/2
  description link 2500
  
  int vlan 1
  ip address 22.97.80.100 255.255.255.0 //3550 ip 地址
  
  int vlan 21
  ip address 21.97.80.100 // oa 网段网关
  
  在3550 上实现policy-router 让yewu 和 oa 数据分别走路径,并实现2条路经;互为备份?
  不知道想法可不可行?


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/71105/showart_1000554.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP