Re: Can't see any Packets dropped

96 views
Skip to first unread message
Message has been deleted

Soulimane Mammar

unread,
Feb 18, 2022, 6:34:14 AM2/18/22
to ns-3-users
Hi, 
This is absolutely normal as you didn't specify any ErrorModel in your scenario. 
I did a couple of changes to your script (replace the Echo Udp Client/Server with Udp Server/Client and introduced an Error model ) and it works perfectly and as expected
Find attached the modified script
Regards

On Wednesday, February 16, 2022 at 9:24:14 PM UTC+1 Nadia1899 wrote:
Hi,

I have the simulation attached in the file. A client 10.1.1.1 in LAN1 sending udpechoPackets to a server 10.1.10.1 in LAN10.

I added the trace source PhyRxDrop to visualize the packets dropped by the server. However I can't see any dropped packets as numdrop in my simulation is always 0 (even If I increase the number of packets sent). Can you please tell me how I can force the server to drop some packets?

Thank you.


test2.cc
Reply all
Reply to author
Forward
0 new messages