Hi,
I am new to NS3. I am trying to simulate a basic LTE-EPC scenario with one BS and one UE.
There are one uplink and one downlink packets transmission between UE and RemoteHost. For the Point-to-Point, I have added the commands to generate pcap and trace file.
-------------------------------------------------------------------------------------------
//Uncomment to enable PCAP tracing
p2ph.EnablePcapAll("lena-epc-first");
AsciiTraceHelper ascii;
p2ph.EnableAsciiAll (ascii.CreateFileStream ("
lte_first.tr"));
-------------------------------------------------------------------------------------------
I have the following doubts.
1. p2ph traces are only for the RemoteHost to pgw link. How to generate the traces for the communication between UE and eNB?
2. The code (attached) have generated four pcap files. Out of which, two files have data.
1 0.000000 1.0.0.2 7.0.0.2 UDP 1054 49153 → 1234 Len=1024
Where source (RemoteHost) address is 1.0.0.2 and destination (PGW) address is 7.0.0.2.
Why the address is 1.0.0.2? why not 1.0.0.1? Same for 7.0.0.2
What are the four pcap files signifies? "lena-epc-first-0-2", "lena-epc-first-0-3", "lena-epc-first-1-1", "lena-epc-first-2-2"
Node 0 is RemoteHost, Node 1 is eNB and Node 2 is UE. Why the device IDs (i.e. 2, 3, 1 and 2) are selected for the nodes?
3. If we want to change some parameters such as Tx power of UE, Tx power of eNB, how can I do that?
Please reply to this topic of you know the answer of my doubts. Thanks.
The code is attached.
Pradip
Research Scholar, IIT KGP