when it comes to complex routing protocols, ospf (open shortest path first) remains one of…