大网数据广告活动
网络与域名解析

Router Initialization

· 52CE 我爱测

Configuration information for the router, the router managers and the routing protocols/clients is divided into global information and per interface information and is stored in the registry and the router's phone-book file, Router.pbk.

Configuration information for the router, the router managers and the routing protocols/clients is divided into global information and per interface information and is stored in the registry and the router's phone-book file, Router.pbk.

When the router process starts, DIM (Dynamic Interface Manager) reads the router configuration from the registry. DIM creates the interfaces that are specified by the interface information.

DIM also retrieves the global router manager information. DIM starts the router managers that correspond to this information, and passes them the information. For example, if DIM finds global information for the IP router manager in the registry, DIM starts the IP router manager and passes it the global information. If no global information is present in the registry for a particular router manager, DIM does not start that router manager.

The router managers examine the global information received from DIM. If the router manager finds information specific to a particular client within the global information, the router manager loads the DLL for the client (for example IpNAT.dll) and initializes the client by calling the client's RegisterProtocol and StartProtocol functions. The router manager passes the client-specific global information to the client in the call to StartProtocol.

At each stage, the information being passed to the next entity is opaque to the entity preceding it. That is, DIM does not interpret the global information for the IP Router Manager, beyond the fact that the information is meant for the IP Router Manager. Similarly, the IP Router Manager does not interpret the OSPF specific information beyond the fact that it is OSPF information.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

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

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