HSRP,VRRP and GLBP, IRDP(90 Days)
2009年4月25日
没有评论
1. Hot Standby Router Protocol, Virtual Router Redundancy Protocol, Gateway Load Balance Protocol,ICMP Router Discovery Protocol
2. HSRP
- 虚拟的MAC和IP,在Active Router上激活。
- Standby Router接受Active Router的Hello,3s间隔,10s Dead。
- 优先级(默认100),高的称为Active,默认不抢占。
- Tracking,当Tracked接口失效R的优先级降低。
- 每接口最多255个组。
- 0000.0C07.ACxx,xx为组号。
- 虚IP应和LAN接口在同一子网且应和其他接口IP不同。
- 配置
#standby 21 ip 10.1.1.21
#standby 21 priority 105
#standby 21 preempt
#standby 21 track Serial0/0.1
3. VRRP
- 三种状态:Initialize,Master以及Backup。
- 使用组播MAC 0000.5C00.01xx,xx为组号。
- 默认Pre-emption。HSRP默认不。
- VRRP的Master对应HSRP的Active。
- VRRP支持认证,MD5以及明文。
- 只用在路由器上,交换机不具有该功能
4. GLBP
- a) 最多4台。GLBP Active Virtual Gateway给组中每一个R一个虚拟的MAC。
- b) 0007.B400.xxyy,xx为组号,yy为R号。
- c) 当客户端ARP网关MAC时,GLBP AVG负责回复其中的一个MAC。
5、IRDP
- 其实就是让主机可以动态的发现网关。
- 主机加入到224.0.0.1组,接收路由器的通告。也可以直接发送请求道224.0.0.2,请求网关地址。
- 配置
router(config-if)#ip irdp preference xxx
其中preference可选,代表优先级。