Dear ns-3 community,
I am working with ns-3 using WiFi and UDP. In my setup, I generated 5 nodes, each broadcasting one packet at a time 1s. In this case, none of the nodes received any packet, resulting in 100% packet loss.
However, when I configured each node to send multiple packets (e.g., the first at 1s, the next at 1.1s, and so on), the packet loss was no longer 100%.
I am unable to understand why there is complete packet loss when only a single packet is scheduled, but not when multiple packets are sent. Could you please help me understand this behaviour or suggest resources where I can look into it?
Thank you,
Vinita
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/CAEmnCDrEdAeio%2BVEK%3DQYkHBo6SsmP3pGpux6emuuAkN-%2B7cCqQ%40mail.gmail.com.
Hi Vinita,The 100% loss occurs because all nodes transmit simultaneously, and WiFi broadcasts have no ACKs or retransmissions. Collisions cause drops. Sending packets at slightly different times spreads transmissions, reducing collisions, so some packets get through.Could you also share your ns-3 code snippet? It will bolster giving more specific suggestions.Best,Idris A.A.
On Wednesday, October 8, 2025, 'Vinita Sao 2210705' via ns-3-users <ns-3-...@googlegroups.com> wrote:
--Dear ns-3 community,
I am working with ns-3 using WiFi and UDP. In my setup, I generated 5 nodes, each broadcasting one packet at a time 1s. In this case, none of the nodes received any packet, resulting in 100% packet loss.
However, when I configured each node to send multiple packets (e.g., the first at 1s, the next at 1.1s, and so on), the packet loss was no longer 100%.
I am unable to understand why there is complete packet loss when only a single packet is scheduled, but not when multiple packets are sent. Could you please help me understand this behaviour or suggest resources where I can look into it?
Thank you,
Vinita
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/CAEmnCDrEdAeio%2BVEK%3DQYkHBo6SsmP3pGpux6emuuAkN-%2B7cCqQ%40mail.gmail.com.
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/CAA9%3DhGPCtHP-u%2BwOM%3D1nxzKFA6SHhHUi7cXaBe4Zr%2B-_UCL-Bw%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/CAEmnCDrEdAeio%2BVEK%3DQYkHBo6SsmP3pGpux6emuuAkN-%2B7cCqQ%40mail.gmail.com.
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/CAA9%3DhGPCtHP-u%2BwOM%3D1nxzKFA6SHhHUi7cXaBe4Zr%2B-_UCL-Bw%40mail.gmail.com.
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/CAEmnCDrR-FmY%3D60ZD4k0EqEzDEmRPdkF6g1iL3D_e9vY%3DZSCVA%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/CAEmnCDrEdAeio%2BVEK%3DQYkHBo6SsmP3pGpux6emuuAkN-%2B7cCqQ%40mail.gmail.com.
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/CAA9%3DhGPCtHP-u%2BwOM%3D1nxzKFA6SHhHUi7cXaBe4Zr%2B-_UCL-Bw%40mail.gmail.com.
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/CAEmnCDrR-FmY%3D60ZD4k0EqEzDEmRPdkF6g1iL3D_e9vY%3DZSCVA%40mail.gmail.com.
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/CAA9%3DhGNaoOg189JMu%3D3TJjaHg9PPT3hOs82GsQsuShxzxC5d6g%40mail.gmail.com.
Thanks a lot
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/CAEmnCDrEdAeio%2BVEK%3DQYkHBo6SsmP3pGpux6emuuAkN-%2B7cCqQ%40mail.gmail.com.
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/CAA9%3DhGPCtHP-u%2BwOM%3D1nxzKFA6SHhHUi7cXaBe4Zr%2B-_UCL-Bw%40mail.gmail.com.
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/CAEmnCDrR-FmY%3D60ZD4k0EqEzDEmRPdkF6g1iL3D_e9vY%3DZSCVA%40mail.gmail.com.
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/CAA9%3DhGNaoOg189JMu%3D3TJjaHg9PPT3hOs82GsQsuShxzxC5d6g%40mail.gmail.com.
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/ns-3-users/CAEmnCDpWO_Eov40rDZFuisR%3D48SQyiOh8duBtrHsL98dCw9peg%40mail.gmail.com.