Answer
We should use mesh configuration in which all nodes are directly connected to all other nodes.
Work Step by Step
If we want to protect the network from being disconnected then the best configuration will be mesh network because in mesh network every node have a direct point-to-point link with every other node so even if some node or link fails there will be a lot of other links which can connect the nodes.