
--
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 on the web visit https://groups.google.com/d/msgid/ns-3-users/a4860d61-bf4e-4177-a65a-b86d8afd78a4n%40googlegroups.com.
Hello,
Thank you Tim for the details on how to collect traces. I previously did not succeed in enabling them for all interfaces because I was trying to enable them on the nrHelper directly, like one can do on the csmaHelper.
This did the trick: internetStackHelper.EnablePcapIpv4 ("prefix", NodeContainer::GetGlobal ());
Looking at the traces, I found that the packets are not send correctly when they reach the PGW node. The illustration below illustrates it.

I will now try to modify and forward the IPv4 packets when they reach ueNode0: replace origin and destination, then forward the packet. Kind of like NAT I guess.
Thanks Tomm and Tim for the time you have taken to help!
Kind regards,
Bruno