Integrating native application on real devices with NS3

39 views
Skip to first unread message

aradhya B

unread,
Jul 7, 2017, 3:40:47 PM7/7/17
to ns-3-users
Hi all,

I am developing a testbed with native application on real node and simulated network. While pursuing the same I came across the following :
https://www.nsnam.org/docs/models/html/emulation-overview.html
https://www.nsnam.org/wiki/HOWTO_make_ns-3_interact_with_the_real_world

These instructions mention that it is possible to have an application executing on a virtual node interacting with a simulated network in NS3.

Extending this further, I was wondering if there is a way to make real devices (with the application) communicate over a simulated network in NS3? Could something similar to "FdNetDevice" be used for the same?

Thanks,
Aradhya

aradhya B

unread,
Jul 9, 2017, 9:03:55 PM7/9/17
to ns-3-users
Hi all,

I could find that the above can be achieved by using "EmuFdNetDeviceHelper" as mentioned here.

Also I could like to point out a minor error in the document description for "EmuFdNetDeviceHelper" in here.
Current: (to associate the ns-3 device with a physical device in the host machine)
Proposed: (to associate the ns-3 device with a physical device)

Going ahead with the testbed, I plan to use a user space (Python) script as a source and sink for traffic. Although the doc (here) mentions this is possible using fd-net-device, but I could not find a suitable example for this case. Currently I am planning to use "TapFdNetDeviceHelper" for achieving this, but was wondering if there is a better way. Also I would be glad if some one could point me to a related example.

Thanks,
Aradhya
Reply all
Reply to author
Forward
0 new messages