A network of physically linked elements includes at least a first switch, a second switch, and a third element. The third element is caused to transmit a data unit. A first timestamp and a second timestamp are obtained from the first and second switches, respectively. The first timestamp is associated with receipt of the transmitted data unit by the first switch and the second timestamp associated with receipt of the transmitted data unit by the second switch. The first timestamp and the second timestamp are compared. Based on the comparison, a determination is made that the first switch is physically located between the third element and the second switch.