I am working on retrieving some network statistics from the ping test between an sta and an AP. The propagationModel.py file in the examples folder does not set the IP addresses of the APs, and therefore uses the lo interface address during the ping test.
So, I have set the wireless interface of the APs as showed in my topology to enable me perform the ping test between an sta and AP.
In the do_handover function, I test the connection status after an sta has been associated with an AP. Then, I perform a ping test between that sta and its associated AP.
When an sta is successfully connected to AP1, I get 0% packet loss.
However, when sta is successfully connected to ap2, I get 100% packet loss.
It happens throughout the entire simulation period.
Can you please help with why this is happening?
Thank you.