A network topology describes the configuration of a communication network and the physical and logical arrangement of the nodes that…