Simulation of packets traversing a weighted network going through the shortest path using omnet++.