<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>The mn --nat option attaches the nat to s1 (See: s1 ifconfig)</p>
<p><br>
</p>
<p>If you try s1 ping google.com that should work.</p>
<p><br>
</p>
<p>If you want h1 to reach google, I think this will help:</p>
<p><a href="https://techandtrains.com/2013/11/24/mininet-host-talking-to-internet/" class="x_OWAAutoLink" id="LPlnk882899">https://techandtrains.com/2013/11/24/mininet-host-talking-to-internet/</a></p>
<p><br>
</p>
<p>Can also study the nat example:</p>
<p><a href="https://github.com/mininet/mininet/blob/master/examples/natnet.py" class="x_OWAAutoLink" id="LPlnk479541">https://github.com/mininet/mininet/blob/master/examples/natnet.py</a></p>
<br>
<p>For routes to reach non-neighbors I don't remember how to set it up but you can try to use "route" or "ip route" command to add static routes to non neighbors.</p>
<p>Can also look into switches: <a href="https://github.com/mininet/openflow-tutorial/wiki/Router-Exercise" class="x_OWAAutoLink" id="LPlnk783586">https://github.com/mininet/openflow-tutorial/wiki/Router-Exercise</a></p>
<p>(Mini-NDN conf parser does handle switches if you want to insert them, but I have not tested it).</p>
<p>You will have to experiment with this as I don't know the exact steps for the setup. I will try to find them.</p>
<p></p>
<p><br>
</p>
<p>Can you describe the topology, where do you want to put the Http server?</p>
<p><br>
</p>
<p>Ashlesh</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Matteo Bertolino <Matteo.Bertolino@eurecom.fr><br>
<b>Sent:</b> Tuesday, October 25, 2016 11:33:32 AM<br>
<b>To:</b> Lan Wang (lanwang)<br>
<b>Cc:</b> Ashlesh Gawande (agawande); mini-ndn@lists.cs.ucla.edu; ndn-interest@lists.cs.ucla.edu<br>
<b>Subject:</b> Re: [Mini-NDN] Mininet: connection refused</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Dears,<br>
thank you for the interest. I have still some questions unsolved.<br>
<br>
1- The sentence:<br>
> You will have to experiment how to integrate NAT with Mini-NDN.<br>
Does it mean that this feature is not available now? I have no idea  <br>
how to integrate miniNDN with nat. In mininet I see --nat option, but  <br>
here it does not work.<br>
<br>
2- However, also writing mn --nat , the command h1 ping google.fr fails.<br>
<br>
3- The sentence:<br>
> If you run some form of IP routing (eg RIP or OSPF) then you can  <br>
> ping non-neighbors.<br>
Can you explain me how can I perform it?<br>
<br>
4- (Final): My purpose is putting a little http server in the ndn  <br>
network. To do it,I am confused about what can I do.<br>
<br>
Thank you,<br>
Matteo<br>
<br>
Quoting "Lan Wang (lanwang)" <lanwang@memphis.edu>:<br>
<br>
><br>
><br>
> On Oct 25, 2016, at 10:09 AM, Ashlesh Gawande (agawande)   <br>
> <agawande@memphis.edu<mailto:agawande@memphis.edu>> wrote:<br>
><br>
> For reaching the Internet:<br>
> <a href="https://github.com/mininet/mininet/wiki/FAQ#NAT">https://github.com/mininet/mininet/wiki/FAQ#NAT</a><br>
> You will have to experiment how to integrate NAT with Mini-NDN.<br>
><br>
><br>
> In Mini-NDN you can't ping non-neighbors because there is no routing.<br>
><br>
> Just want to clarify that this is because *IP* routing is not   <br>
> running in Mini-NDN.  If you run some form of IP routing (eg RIP or   <br>
> OSPF) then you can ping non-neighbors.<br>
><br>
> We do run NLSR in Mini-NDN so you can do ndnping.<br>
><br>
> Need to use route command to set it up.<br>
> <a href="https://redmine.named-data.net/issues/3054">https://redmine.named-data.net/issues/3054</a><br>
><br>
> Ashlesh<br>
> ________________________________<br>
> From: Mini-NDN   <br>
> <mini-ndn-bounces@lists.cs.ucla.edu<mailto:mini-ndn-bounces@lists.cs.ucla.edu>> on behalf of Matteo Bertolino  
<br>
> <Matteo.Bertolino@eurecom.fr<mailto:Matteo.Bertolino@eurecom.fr>><br>
> Sent: Tuesday, October 25, 2016 9:53:13 AM<br>
> To: mini-ndn@lists.cs.ucla.edu<mailto:mini-ndn@lists.cs.ucla.edu><br>
> Cc: ndn-interest@lists.cs.ucla.edu<mailto:ndn-interest@lists.cs.ucla.edu><br>
> Subject: [Mini-NDN] Mininet: connection refused<br>
><br>
> Good morning,<br>
> I've to run an NDN node on miniNDN, but this ndn node at a certain<br>
> time should perform a network operation like an http connection, a<br>
> wget, a ping etc.<br>
> I obtain two kind of error:<br>
> 1- Connection refused (when I try to connect the special ndn node to<br>
> an http server)<br>
> 2- Network unreachable (for example, when I try a wget or to ping the<br>
> other node).<br>
><br>
> Do you have a solution?<br>
> Thanks,<br>
> Matteo<br>
><br>
> -------------------------------------------------------------------------------<br>
> This message was sent using EURECOM Webmail:   <br>
> <a href="http://webmail.eurecom.fr<http://webmail.eurecom.fr/">http://webmail.eurecom.fr<http://webmail.eurecom.fr/</a>><br>
><br>
> _______________________________________________<br>
> Mini-NDN mailing list<br>
> Mini-NDN@lists.cs.ucla.edu<mailto:Mini-NDN@lists.cs.ucla.edu><br>
> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn">http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn</a><br>
> _______________________________________________<br>
> Mini-NDN mailing list<br>
> Mini-NDN@lists.cs.ucla.edu<mailto:Mini-NDN@lists.cs.ucla.edu><br>
> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn">http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn</a><br>
><br>
><br>
<br>
<br>
<br>
-------------------------------------------------------------------------------<br>
This message was sent using EURECOM Webmail: <a href="http://webmail.eurecom.fr">
http://webmail.eurecom.fr</a><br>
<br>
</div>
</span></font>
</body>
</html>