Ospf Link-State-Id 和 Advertising-RouterId 对于 type1 和 type 2 LSA 是否相同?

网络工程 ospf 协议论 射频
2022-02-20 23:32:32

在 RFC 2328(对于 ospf)中,我看到 Router-LSA(type1)的 Link-State-Id 和 Advertising-Router-Id 相同。

 For router-LSAs, this field is identical to the
        Link State ID field.  Network-LSAs are originated by the
      network's Designated Router.  Summary-LSAs originated by
        area border routers.  AS-external-LSAs are originated by AS
        boundary routers.

但据我了解,即使对于 Type-2(网络 LSA),这两个字段也将具有相同的值。我的理解正确吗?

1个回答

对于网络 LSA Link-State-Id 将具有在该网络中充当 DR 的接口地址,而 Advertising Router-Id 字段将具有具有充当该网络的指定路由器的接口的路由器的 Router-Id。RouterId 可以不同(一些环回),而接口 IP 地址可以是其他东西。