大网数据广告活动
服务器运维问答

Can the VRRP ID of 2 different systems clash (keepalived and cisco/force10)

· 52CE 我爱测

Since Keepalived and Cisco/Force10 both use VRRP, and use an ID Range of 0-255: 1) Would using the same number in the same vlan cause a issues. 2) Would using a different number in the same vlan cause a issues. 3) Would using the…

问题原文

原帖链接 · Jacob Evans · CC BY-SA 3.0

Since Keepalived and Cisco/Force10 both use VRRP, and use an ID Range of 0-255:

1) Would using the same number in the same vlan cause a issues.

2) Would using a different number in the same vlan cause a issues.

3) Would using the same group ID on another vlan cause issues.

I am thinking of reserving the last 55 group IDs for Keepalived and the first 200 for L3 Switches.

已采纳解答

原帖链接 · Nath · CC BY-SA 3.0

A VRID needs to be unique on each broadcast domain (VLAN) so as its used to uniquely identify a Virtual router and used to generate the MAC address for that Virtual router so to answer your specific questions

1) Yes, If KeepAlived and your Cisco routers are using the same VRRP ID for a different set of IPs in the same VLAN you will have issues as they will have mess with each others master Elections and ARP addresses.

2) No, Different Number in the same VLAN is fine. this is the intended way to have multiple Virtual routers running in the same VLAN.

3) No, the design of the protocol is that VRRP message should never be routed so they will never be forward across broadcast domain(VLAN) boundaries.

The end result is that you can have 255 Virtual routers in the same VLAN as long as you ensure that each IP is only bound to one virtual router and each virtual router has the a unique VRID. I think your method of dividing the ID range is sound, Its big advantage is that you don't need to a third seperate system to track VRID usage. As long as keepalived sticks inside its range and ensures each keepalived cluster in the same VLAN is using a unique ID then it doesn't need to be aware of the VRIDs used by your routers(and vice verca) the draw back to this method is that your setting low thresholds on each service. (ie keepalived can only use 55 VRIDs even though routers may only be using 1 of its 200 ID range. My guess though is that draw back isn't going to be an issue, If you are more than 10 VRRP groups in a single broadcast domain(VLAN/SUBNET) then the subnet is too big and probally needs to be carved up into smaller chunks and your likely to hit issues with too much broadcast traffic beofre you run out of VRIDs.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2016-06-01)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。