Network emulation with two PCs

56 views
Skip to first unread message

Marius Adams

unread,
Jan 12, 2023, 2:06:36 PM1/12/23
to ns-3-users
Hello community,
I want to build a test-setup where I run a ns-3 simulation in emulation mode but I am unsure, if this is event going to work. The setup I have in mind is as follows:
 On PC_01 There is a native App running (maybe in a VM) and generation messages. This messages are sent to the ns- 3 simulator which is running on the same PC (but maybe in another VM). In the simulation, the messages traverse a 5G protocolstack and a 5G network which consists of a gNB and all the things a 5G network needs (I have in mind to use 5G-LENA). The messages then get received in the simulation by a second UE so they traverse the 5G stack the other way and then get sent over a real ethernet connection to a second pc (PC_02). On PC_02 the messages get received by a native application.
I have made a picture to demonstrate this better.

Do you think this is possible? Screenshot_20230112_195841.png

Tom Henderson

unread,
Jan 13, 2023, 12:28:26 AM1/13/23
to ns-3-...@googlegroups.com, Marius Adams
Yes, in general, this kind of setup should be possible but I don't know of any worked example of how to split the UE in this way.

Please keep in mind that you will want to build your ns-3 in optimized mode for best performance and you need to make sure that the ns-3 simulation portion of the setup doesn't exhaust the resources of the PC in trying to run in real-time (LTE simulations can be slow depending on number of nodes and complexity of the channel model).

- Tom
--
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/43feba9b-5345-4450-961b-047d78a71556n%40googlegroups.com.


Reply all
Reply to author
Forward
0 new messages