OSPFv2 LSA Type 1 (Router LSA)

This topic is to discuss the following lesson:

There’s a broken link that is supposed to show this figure “Ospf Type 1 Router Lsa Virtual Link Topology”. Can you please fix?

Hello Efrain

Thanks for letting us know, I will inform @ReneMolenaar to make the appropriate changes.

Laz

It has been fixed. Thanks!

For the virtual-links, you need to create a router id, otherwise you will get a packet mismatch error.

R1 Configuration

router ospf 1
 router-id 1.1.1.1
 network 1.1.1.1 0.0.0.0 area 0
 network 192.168.12.0 0.0.0.255 area 1
 area 1 virtual-link 2.2.2.2

R2 Configuration

router ospf 1
 router-id 2.2.2.2
 network 192.168.12.0 0.0.0.255 area 1
 network 192.168.23.0 0.0.0.255 area 2
 area 1 virtual-link 1.1.1.1

Thank you

Hello Kader

Thanks for the post! You’re correct that an OSPF virtual link is configured using the router ID of the remote ABR. However, explicitly configuring the router ID with the router-id command is not strictly required. Every OSPF router has a router ID. If one is not configured manually, IOS selects one automatically, normally from a loopback address or, if no loopback exists, from an active interface address.

The packet mismatch error that you are referring to, is it something like this?

%OSPF-4-ERRRCV: Received invalid packet: mismatch area ID,
from backbone area must be virtual-link but not found ...

If so, this is not a Router ID mismatch error, but an Area ID mismatch error. Specifically, when it comes to virtual links in OSPF, this error usually occurs when a router receives an OSPF packet whose Area ID is 0 on an interface that belongs to a non-backbone area. Could this be what you’re seeing? Let us know some more info about your particular case so we can explore it further.

I hope this has been helpful!

Laz

1 Like

Hi Laz, thanks for the clarification.

1 Like