<div dir="ltr"><div>Hi Peter</div><div><br></div><div>According to <a href="https://www.nsnam.org/docs/release/3.30/models/html/emulation-overview.html">Emulation Overview</a>, ns-3 should be able to connect to a real network via FdNetDevice or TapBridge.</div><div>Therefore, the limitation lies in ndnSIM <a href="https://ndnsim.net/2.7/doxygen/ndn-stack-helper_8cpp_source.html#l00069">not being able to support</a> any NetDevice other than PointToPointNetDevice.</div><div>Question for ndnSIM developers is that, why ndnSIM cannot support other NetDevice types?</div><div><br></div><div>Direct Code Execution (DCE) would not allow you to connect to an external host. It integrates an application into the ns-3 experiment, by dynamically replacing its network-related syscalls with equivalent calls into ns-3 network stack.</div><div>In the past, I managed to run ccnd (predecessor of NFD) through DCE. However, running real NFD in DCE would be difficult due to NFD's use of pcap and netlink sockets.</div><div><br></div><div>Yours, Junxiao</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 1, 2019 at 10:07 PM Spyridon (Spyros) Mastorakis <<a href="mailto:mastorakis@cs.ucla.edu">mastorakis@cs.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Yes, this limitation is still there and is due to the way that ns-3 operates. It might be possible to relax this assumption (to some extent which I am not aware of) if someone could look into the Direct Code Execution (DCE) mode of ns-3.<div><div><div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div><br><br></div></div></div></div></div><div><blockquote type="cite"><div>On Oct 1, 2019, at 4:08 AM, Peter Maynard <<a href="mailto:pmaynard01@qub.ac.uk" target="_blank">pmaynard01@qub.ac.uk</a>> wrote:</div><br><div><div>Is it still true that ndnSIM is unable to connect to an application<br>running on an external host? (section 7.1 Current ndnSIM Limitations)<br>If so, is that an NS-3 limitation or ndnSIM?<br><br></div></div></blockquote></div></div></div>
</blockquote></div></div>