Network topology is the layout of the connectivity of the various devices in the network. This represents how the devices are connected together on a network. The topology may be physical or logical. While physical topology shows the connectivity of the various links, the logical topology describes the actual flow of traffic and the protocols. The logical topology may be different from the physical topology.