<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: "segoe ui", "segoe ui web (west european)", "segoe ui", -apple-system, system-ui, roboto, "helvetica neue", sans-serif; font-size: 11.25pt; color: rgb(32, 31, 30); background-color: rgba(0, 0, 0, 0);">Hi </span><span style="color: rgb(32, 31, 30); font-family: "segoe ui", "segoe ui web (west european)", "segoe ui", -apple-system, system-ui, roboto, "helvetica neue", sans-serif; font-size: 11.25pt; background-color: rgba(0, 0, 0, 0); display: inline !important;">Anurag, </span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(32, 31, 30); font-family: "segoe ui", "segoe ui web (west european)", "segoe ui", -apple-system, system-ui, roboto, "helvetica neue", sans-serif; font-size: 11.25pt; background-color: rgba(0, 0, 0, 0); display: inline !important;"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(32, 31, 30); font-family: "segoe ui", "segoe ui web (west european)", "segoe ui", -apple-system, system-ui, roboto, "helvetica neue", sans-serif; font-size: 11.25pt; background-color: rgba(0, 0, 0, 0); display: inline !important;">see
 inline. </span></div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Mini-NDN <mini-ndn-bounces@lists.cs.ucla.edu> on behalf of Anurag Muttur via Mini-NDN <mini-ndn@lists.cs.ucla.edu><br>
<b>Sent:</b> Wednesday, August 26, 2020 6:38 AM<br>
<b>To:</b> mini-ndn@lists.cs.ucla.edu <mini-ndn@lists.cs.ucla.edu><br>
<b>Subject:</b> [Mini-NDN] Custom experiments in MiniNDN, Sending data, Error: No default identity</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hello,
<div><br>
</div>
<div>I have a few questions regarding MiniNDN,</div>
<div><br>
</div>
<div>1. How do I make and execute custom experiments on MiniNDN? Should I just run the python file? But some older experiments like the ping server and client as shown in the demo do not work if I just run the python file (I get an error like 'No module named
 experiment'). In the previous version of MiniNDN, I could run the experiment and check the list of experiments available with sudo minindn --experiment and sudo minindn --experiment-list. I would like to know if there is such a feature on this latest version
 of MiniNDN. I would like to know if there is more documentation that shows me how to run custom experiments apart from <a href="http://minindn.memphis.edu/experiment.html">http://minindn.memphis.edu/experiment.html</a>.</div>
<div><br>
</div>
<div>- We have done a major update since Mini-NDN 0.4.0, next release is on its way. Please check minindn website for more details, specifically <a href="http://minindn.memphis.edu/experiment.html" id="LPlnk121509">http://minindn.memphis.edu/experiment.html</a> to
 know more on how to write and run custom experiments. Also, check <b>/examples </b>
folder for more examples. </div>
<div></div>
<div><br>
</div>
<div>2. When I create my own three node topology, eg. a-b-c all linked together, I can ping a-c but cannot ping c-a unless I mention the IP address of a. Is there another way to create this link without mentioning the IP address? I have seen something on using
 a 'route' command, but I am unsure how to use it.</div>
<div><br>
</div>
<div>- For every link, minindn creates a veth pair, meaning a-c is different than c-a. So, if you have a-c link in the topology, you can do
<b>a ping c</b> but not the other way around. You can use Ip Routing Helper if you want nodes to ping each other. For more details check: <br>
<br>
code: <a href="https://github.com/named-data/mini-ndn/blob/master/minindn/helpers/ip_routing_helper.py" id="LPNoLPOWALinkPreview_0">https://github.com/named-data/mini-ndn/blob/master/minindn/helpers/ip_routing_helper.py</a></div>
<div>example: <a href="https://github.com/named-data/mini-ndn/blob/master/examples/ip_rounting_experiment.py" id="LPNoLPOWALinkPreview_1">https://github.com/named-data/mini-ndn/blob/master/examples/ip_rounting_experiment.py</a></div>
<br>
<b>More important info: </b></div>
<div dir="ltr"><a href="https://redmine.named-data.net/issues/3054" id="LPNoLPOWALinkPreview_2">https://redmine.named-data.net/issues/3054</a></div>
<div dir="ltr"><a href="https://redmine.named-data.net/issues/4069" id="LPNoLPOWALinkPreview_3">https://redmine.named-data.net/issues/4069</a></div>
<div dir="ltr">
<div><br>
<br>
3. Everytime I start MiniNDN, I get an error message that says 'Error: No default identity'. That being said, this doesn't seem to have an impact on the network created but I would like to know what the significance behind this error message is.</div>
<div><br>
</div>
<div>- Yes, the message is something we need to suppress. Thanks for pointing it out. As you have said, yes, it doesn't cause any problems. It comes from the following line: <a href="https://github.com/named-data/mini-ndn/blob/master/minindn/minindn.py#L99" id="LPNoLPOWALinkPreview_0">https://github.com/named-data/mini-ndn/blob/master/minindn/minindn.py#L99</a> which
 checks if the dummy key chain is installed in the system or not. And if it's not, and also if there is no default identity installed in the system you get that message.</div>
<div><br>
</div>
<div>Let me know if you have more questions. </div>
<div><br>
</div>
<div>Regards,</div>
<div>Saurab Dulal</div>
<div><br>
</div>
<div>Thanks and Regards,</div>
<div>Anurag</div>
</div>
</div>
</body>
</html>