# 混合路由

混合路由（hybrid routing）是计算机网络中的一类路由技术，它把距离向量机制与链路状态机制结合起来，或把主动式与反应式路由发现结合起来，以计算数据包转发路径。这一术语涵盖两个不同的族系：一类是 EIGRP 这样的内部协议，把距离向量处理与无环的扩散计算算法配对；另一类是自组网框架，如区域路由协议（ZRP），在局部区域内运行主动式协议，在区域之间运行反应式协议。<sup>[1](https://link.springer.com/chapter/10.1007/978-1-4613-0223-0_14)</sup><sup> • </sup><sup>[2](https://datatracker.ietf.org/doc/html/rfc7868.html)</sup>

| 关键事实 | 数值 | 来源 |
|---|---|---|
| EIGRP 收敛算法 | DUAL（扩散更新算法，Diffusing Update Algorithm），一种带无环扩散计算的距离向量协议 | <sup>[2](https://datatracker.ietf.org/doc/html/rfc7868.html)</sup> |
| 可行性条件 | 当邻居的报告距离小于本路由器的可行距离时，该邻居即为可行后继；凡满足该条件的路径均无环 | <sup>[2](https://datatracker.ietf.org/doc/html/rfc7868.html)</sup> |
| 网络宽度 | EIGRP 默认 100 跳，RIP 为 15 跳 | <sup>[3](https://www.cisco.com/c/en/us/td/docs/routers/ios-xe/ip-routing/b-ip-routing/m_ire-enhanced-igrp.html)</sup> |
| 带宽上限 | EIGRP 默认用于数据包发送节流的带宽不超过接口所报告带宽的 50% | <sup>[2](https://datatracker.ietf.org/doc/html/rfc7868.html)</sup> |
| 空间复杂度 | 链路状态 SPF 每台路由器需 \( O(n+a) \) 空间；距离向量 DBF 需 \( O(n+d) \) | <sup>[4](https://dl.acm.org/doi/10.1145/1930286.1930291)</sup> |
| ZRP 配置 | 只有一个参数，即路由区域半径；半径为 1 时退化为反应式泛洪 | <sup>[5](https://datatracker.ietf.org/doc/html/draft-ietf-manet-zone-zrp-04)</sup> |
| 部署规模 | 2000 台及以上路由器的网络可运行在单个 EIGRP 进程内 | <sup>[6](https://ptgmedia.pearsoncmg.com/images/1587051877/samplechapter/1587051877content.pdf)</sup> |

## 工作原理

混合路由所应对的是一种定量上的取舍。链路状态协议收敛更快，但每台路由器需要更多内存，最短路径优先的空间为 \( O(n+a) \)；距离向量协议收敛较慢，但所需内存少得多，为 \( O(n+d) \)，其中 \( n \) 为节点数，a 为链路数，d 为最大邻域度。<sup>[4](https://dl.acm.org/doi/10.1145/1930286.1930291)</sup> 一项针对两种机制四种区域—核心组合（D-over-D、B-over-D、D-over-B 与 B-over-B）的研究表明，混合算法在时空取舍上优于在两层运行同一算法；在 100 个节点的情形下，D-over-D 组合在划分为 4 至 9 个分区时内存占用最小。<sup>[4](https://dl.acm.org/doi/10.1145/1930286.1930291)</sup>

EIGRP 使用 DUAL，它以扩散计算取代了其他距离向量协议中的贝尔曼-福特（Bellman-Ford）与福特-富尔克森（Ford-Fulkerson）算法：计算通过向更多路由器查询其对受影响目的地的当前报告距离而扩张，随着应答到达而收缩，未受影响的路由器则立即应答。<sup>[7](https://flylib.com/books/en/2.296.1.84/1/)</sup><sup> • </sup><sup>[2](https://datatracker.ietf.org/doc/html/rfc7868.html)</sup> 当提供最小代价路径的邻居满足可行性条件时，路由处于被动（PASSIVE）状态；若无邻居满足，则进入活动（ACTIVE）状态。<sup>[2](https://datatracker.ietf.org/doc/html/rfc7868.html)</sup>

## 实现方式

EIGRP 有四个组成部分：有限状态机（DUAL）、可靠传输协议、邻居发现/恢复，以及路由管理。<sup>[2](https://datatracker.ietf.org/doc/html/rfc7868.html)</sup> 其运行过程如下：

1. **邻居发现。** 在高带宽链路上每 5 秒发送一次 Hello，在低带宽多点链路上每 60 秒一次；默认保持时间为 Hello 间隔的三倍，通常为 15 秒，在低速 NBMA 网络上为 180 秒。<sup>[8](https://www.cisco.com/c/en/us/support/docs/ip/enhanced-interior-gateway-routing-protocol-eigrp/16406-eigrp-toc.pdf)</sup><sup> • </sup><sup>[3](https://www.cisco.com/c/en/us/td/docs/routers/ios-xe/ip-routing/b-ip-routing/m_ire-enhanced-igrp.html)</sup>
2. **度量计算。** 默认复合度量为 \( 256 \cdot (Bw + Delay) \)，其中带宽按 \( 10^{7} \) 除以沿途最小带宽（单位 kbit/s）折算，延迟以十微秒为单位。<sup>[8](https://www.cisco.com/c/en/us/support/docs/ip/enhanced-interior-gateway-routing-protocol-eigrp/16406-eigrp-toc.pdf)</sup><sup> • </sup><sup>[3](https://www.cisco.com/c/en/us/td/docs/routers/ios-xe/ip-routing/b-ip-routing/m_ire-enhanced-igrp.html)</sup>
3. **可行性检查。** 报告距离低于本路由器可行距离的邻居成为可行后继；可行距离为 380672 时，通告距离 355072 合格，而 380928 不合格。<sup>[2](https://datatracker.ietf.org/doc/html/rfc7868.html)</sup><sup> • </sup><sup>[7](https://flylib.com/books/en/2.296.1.84/1/)</sup>
4. **故障处理。** 后继失效时若存在可行后继，路由器立即切换；否则由扩散计算查询邻居，DUAL 保证每一时刻的运行都无环，但重新计算对处理器负担较重。<sup>[8](https://www.cisco.com/c/en/us/support/docs/ip/enhanced-interior-gateway-routing-protocol-eigrp/16406-eigrp-toc.pdf)</sup><sup> • </sup><sup>[3](https://www.cisco.com/c/en/us/td/docs/routers/ios-xe/ip-routing/b-ip-routing/m_ire-enhanced-igrp.html)</sup>

ZRP 走的是另一条路子：每个节点主动维护可配置半径的路由区域内的路由，区域之外的路由则以反应式方式获取，采用基于组播的边界广播（bordercasting）面向外围节点，而非邻居广播泛洪；半径为一跳时，该框架退化为传统的反应式泛洪。<sup>[5](https://datatracker.ietf.org/doc/html/draft-ietf-manet-zone-zrp-04)</sup>

## 起源

DUAL 的思想根源是[埃兹赫尔·W·迪杰斯特拉](https://www.edgepedia.org/zh/edsger-w-dijkstra)（Edsger W. Dijkstra）与 C.S. 斯霍尔滕（C.S. Scholten）关于扩散计算终止检测的研究，1980 年发表于《信息处理快报》（Information Processing Letters）。<sup>[9](https://doi.org/10.1016/0020-0190%2880%2990021-6)</sup><sup> • </sup><sup>[10](https://www.fit.vut.cz/research/result-file/c111662/279320/clanek-cr2.pdf)</sup> 移动计算领域更早的距离向量前身 DSDV，由查尔斯·E·珀金斯（Charles E. Perkins）与普拉文·巴格瓦特（Pravin Bhagwat）于 1994 年发表在《ACM SIGCOMM 计算机通信评论》（ACM SIGCOMM Computer Communication Review），它使用带序列号的增量更新来避免计数到无穷。<sup>[11](https://doi.org/10.1145/190809.190336)</sup> 在自组网一族中，ZRP 的各组成部分记录于 Z.J. 哈斯（Z.J. Haas）、M.R. 珀尔曼（M.R. Pearlman）与 P. 萨马尔（P. Samar）2001 至 2002 年的 IETF MANET 互联网草案，<sup>[1](https://link.springer.com/chapter/10.1007/978-1-4613-0223-0_14)</sup> 而查询控制的性能研究由 Z.J. 哈斯与 M.R. 珀尔曼于 2001 年发表在《IEEE/ACM 网络汇刊》（IEEE/ACM Transactions on Networking）。<sup>[12](https://doi.org/10.1109/90.944341)</sup> 2016 年 5 月随后发布的 RFC 7868 属于信息类文档，是对 RFC 系列的一份贡献，而非[互联网标准](https://www.edgepedia.org/zh/internet-standard)。<sup>[2](https://datatracker.ietf.org/doc/html/rfc7868.html)</sup>

## 变体

- **HLP。** 一种用于域间路由的混合链路状态路径向量协议，在一个范围内采用链路状态行为，在另一个范围内采用路径向量策略处理。<sup>[4](https://dl.acm.org/doi/10.1145/1930286.1930291)</sup>
- **ZRP 家族。** 独立区域路由（IZR）由 P. 萨马尔、M.R. 珀尔曼与 Z.J. 哈斯于 2004 年发表在《IEEE/ACM 网络汇刊》，允许每个节点自适应地配置自己的区域半径，在某些参数取值下把控制流量开销降低一个数量级。<sup>[13](https://doi.org/10.1109/tnet.2004.833153)</sup> 鱼眼区域路由协议（FZRP）由杨春川（Chun-Chuan Yang）与曾立平（Li-Pin Tseng）于 2006 年发表在《计算机通信》（Computer Communications），它定义了两级路由区域，采用不同的链路状态更新频率，比 ZRP 更高效地发现路由，而维护开销仅略有增加。<sup>[14](https://doi.org/10.1016/j.comcom.2006.08.014)</sup>
- **近期的混合方案。** 分布式序列号协议（Distributed Sequence Number）结合了 EIGRP、Babel 与 OSPF 的技术，用于大规模网状网与 SDN 底层路由。<sup>[15](https://www.ijcna.org/abstract.php?id=862)</sup> 改进混合路由协议（IHRP）由阿德文·曼哈尔（Advin Manhar）与迪帕克·登布拉（Deepak Dembla）于 2023 年发表，通过基于场景的选择把 DMR、AOMDV、OLSR 与 AODV 结合起来。<sup>[16](https://doi.org/10.37391/ijeer.110103)</sup>

## 应用

混合路由的主要部署场景是企业内部网。由于 EIGRP 可以在网络的任何位置聚合路由信息，现有的 2000 台及以上路由器的大型网络可运行在单个 EIGRP 进程内。<sup>[6](https://ptgmedia.pearsoncmg.com/images/1587051877/samplechapter/1587051877content.pdf)</sup> 第二个领域是无线自组网与 MANET，ZRP 式框架在混合路由文献中占主导。在多信道网络中，ZRP 的响应速度是传统泛洪搜索查询的两倍；在单信道环境中，其响应时间与泛洪搜索相当，而控制流量更少。<sup>[12](https://doi.org/10.1109/90.944341)</sup>

## 局限与替代方案

**卡在活动状态。** 每次扩散计算都会启动一个三分钟的活动定时器；若应答未及时到达，该路由即被判定为卡在活动状态，不应答的邻居被移除，发起计算的路由器同时清除该邻居会话。<sup>[7](https://flylib.com/books/en/2.296.1.84/1/)</sup><sup> • </sup><sup>[8](https://www.cisco.com/c/en/us/support/docs/ip/enhanced-interior-gateway-routing-protocol-eigrp/16406-eigrp-toc.pdf)</sup> 在中心—分支（hub-and-spoke）网络中，主要的扩展性因素是中心节点生成或处理的查询数量；把远程站点配置为 EIGRP 末梢（stub）可阻止中心路由器向其查询。<sup>[6](https://ptgmedia.pearsoncmg.com/images/1587051877/samplechapter/1587051877content.pdf)</sup> 在 ZRP 中，若没有查询控制，预期的控制流量削减就会落空，因为相邻路由区域重叠严重。<sup>[12](https://doi.org/10.1109/90.944341)</sup>

**互操作性。** EIGRP 仍主要以思科为中心，尽管已部分标准化，多厂商互操作性仍受限；缺乏标准化可能导致厂商锁定与成本超支。<sup>[17](https://www.ijset.in/wp-content/uploads/IJSET_V13_ISSUE_4_184.pdf)</sup><sup> • </sup><sup>[18](https://www.ijirmps.org/papers/2020/4/231397.pdf)</sup> 对 EIGRP 而言，“混合”这一标签本身有争议：一篇实践者分析认为，“混合”最好被理解为思科的营销术语，最准确的分类是高级距离向量（Advanced Distance Vector），因为 EIGRP 只记录距离，不记录路径。<sup>[19](https://rednectar.net/2013/08/28/is-eigrp-a-hybrid-routing-protocol-or-advanced-distance-vector-routing-protocol/)</sup>

**比较。** 已发表的收敛速度排序把带可行后继的 EIGRP 列在首位，其次是调优定时器的区域内 OSPF 或 IS-IS，然后是无可行后继的 EIGRP、标准定时器的区域内 OSPF 或 IS-IS，最后是区域间 OSPF 或 IS-IS。<sup>[6](https://ptgmedia.pearsoncmg.com/images/1587051877/samplechapter/1587051877content.pdf)</sup> 关于 EIGRP 与链路状态的收敛性，各来源说法不一：RFC 7868 称 DUAL 的收敛速度与大多数常见链路状态协议相当，某些情况下甚至更好，<sup>[2](https://datatracker.ietf.org/doc/html/rfc7868.html)</sup> 而一份迁移分析则认为，DUAL 的收敛虽快于 RIP，却无法与 OSPF、IS-IS 这类真正的链路状态协议相比。<sup>[18](https://www.ijirmps.org/papers/2020/4/231397.pdf)</sup>

## References

1. [Hybrid Routing: The Pursuit of an Adaptable and Scalable Routing Framework for Ad Hoc Networks (Springer chapter, 2004)](https://link.springer.com/chapter/10.1007/978-1-4613-0223-0_14)
2. [RFC 7868 - Cisco's Enhanced Interior Gateway Routing Protocol (EIGRP)](https://datatracker.ietf.org/doc/html/rfc7868.html)
3. [IP Routing Configuration Guide - EIGRP (Cisco)](https://www.cisco.com/c/en/us/td/docs/routers/ios-xe/ip-routing/b-ip-routing/m_ire-enhanced-igrp.html)
4. [Hybrid link-state, path-vector routing (M. AbdulAlim and Timothy G. Griffin, AINTEC 2010)](https://dl.acm.org/doi/10.1145/1930286.1930291)
5. [The Zone Routing Protocol (ZRP) for Ad Hoc Networks (Internet-Draft, July 2002)](https://datatracker.ietf.org/doc/html/draft-ietf-manet-zone-zrp-04)
6. [Optimal Routing Design (sample chapter), Cisco Press](https://ptgmedia.pearsoncmg.com/images/1587051877/samplechapter/1587051877content.pdf)
7. [Operation of EIGRP | Routing TCP/IP, Volume 1 (2nd Edition)](https://flylib.com/books/en/2.296.1.84/1/)
8. [Enhanced Interior Gateway Routing Protocol (Cisco white paper, Document ID 16406)](https://www.cisco.com/c/en/us/support/docs/ip/enhanced-interior-gateway-routing-protocol-eigrp/16406-eigrp-toc.pdf)
9. [Termination detection for diffusing computations (Information Processing Letters, 1980)](https://doi.org/10.1016/0020-0190%2880%2990021-6)
10. [Enhanced Interior Gateway Routing Protocol for OMNeT++](https://www.fit.vut.cz/research/result-file/c111662/279320/clanek-cr2.pdf)
11. [Charles E. Perkins, Pravin Bhagwat (1994). Highly dynamic Destination-Sequenced Distance-Vector routing (DSDV) for mobile computers. ACM SIGCOMM Computer Communication Review.](https://doi.org/10.1145/190809.190336)
12. [Z.J. Haas, M.R. Pearlman (2001). The performance of query control schemes for the zone routing protocol. IEEE/ACM Transactions on Networking.](https://doi.org/10.1109/90.944341)
13. [P. Samar, M.R. Pearlman, Z.J. Haas (2004). Independent Zone Routing: An Adaptive Hybrid Routing Framework for Ad Hoc Wireless Networks. IEEE/ACM Transactions on Networking.](https://doi.org/10.1109/tnet.2004.833153)
14. [Chun-Chuan Yang, Li-Pin Tseng (2006). Fisheye zone routing protocol: A multi-level zone routing protocol for mobile ad hoc networks. Computer Communications.](https://doi.org/10.1016/j.comcom.2006.08.014)
15. [A Hybrid Distance Vector Link State Algorithm: Distributed Sequence Number (IJCNA)](https://www.ijcna.org/abstract.php?id=862)
16. [Advin Manhar, Dr. Deepak Dembla (2023). Improved Hybrid Routing Protocol (IHRP) in MANETs Based on Situation Based Adaptive Routing. International Journal of Electrical and Electronics Research.](https://doi.org/10.37391/ijeer.110103)
17. [Performance Comparison of Routing Protocols (IJSET V13 Issue 4)](https://www.ijset.in/wp-content/uploads/IJSET_V13_ISSUE_4_184.pdf)
18. [Evolving from Legacy Protocols: Transitioning from RIP and EIGRP to OSPF, IS-IS and BGP](https://www.ijirmps.org/papers/2020/4/231397.pdf)
19. [Is EIGRP a Hybrid Routing Protocol or Advanced Distance Vector Routing Protocol? | RedNectar's Blog](https://rednectar.net/2013/08/28/is-eigrp-a-hybrid-routing-protocol-or-advanced-distance-vector-routing-protocol/)

---
*Initially written Sep 29, 2026 · Reviewed: Sep 30, 2026 · Edited: Oct 15, 2026 · Last review: Sep 30, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 网络与安全 › Networking fundamentals and architecture › Routing and addressing › Routing theory and algorithms

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/hybrid-routing

English original: https://www.edgepedia.org/hybrid-routing
