OSPF Multi-Area Configuration

Hello Mohammad

The ADV Router ID heading shows the router ID of the advertising router, that is the router from which this LSA was received.

Now the Link State ID heading is a little more tricky. According to the OSPF RFC, when a router is packaging all of its local, Type-1 Router LSAs into a single OSPF packet, and adds an LSA Header to the front of those LSAs, the “Link State ID” field in that header is always the Router-id of that router. Now…within each, individual LSA there is another field called the “Link ID” field. For each Router LSA it is THIS field that is under the Link State ID heading. This value may change depending on whether that Router LSA is describing a transit network, stub network, point-to-point network, or virtual-link.

Now in the examples given by Rene, these are the same because the Router ID happens to be the loopback interface which also happens to be used as the ID for the specific link. THis is why they are the same, however, this is not always the case. This is especially true when you configure a router ID using the router-id x.x.x.x command in the OSPF configuration.

I hope this has been helpful!

Laz