浅塘在线--儿时的记忆,老家村门口一口浅塘,是儿童时光差不多全部美好时光的记忆,游泳嬉水、抓鱼钓鱼、捞螺丝、漂石仗、淘硬币、以及生活中各种洗洗涮涮~·

 找回密码
 立即注册

微信登录

微信扫一扫,快速登录

搜索
热搜: 活动 交友 discuz

社区广播台

查看: 87|回复: 0

在低端路由器上实现双机热备份和EIGRP的路由调整

[复制链接]

4万

主题

4万

帖子

13万

积分

版主

Rank: 7Rank: 7Rank: 7

积分
134973
发表于 2019-4-12 10:32:52 | 显示全部楼层 |阅读模式
这是实际的一个案例:

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 nt 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
deription --- 256K LianTong FR ---
ip address 22.96.229.2 255.255.255.252
ip accounting output-packets
bandwidth 1000000/调高接口带宽
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成为主网关,一切数据都走联通线路

[img][/img]
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 nt 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

1
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 微信登录

本版积分规则

快速回复 返回顶部 返回列表