<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>The problem with that file is it should be:</p>
<p>general</p>
<p>{</p>
<p><br>
</p>
<p>and not general{</p>
<p>The curly should be on a new line.</p>
<p><br>
</p>
<p>For the neighbor section, the face-uri is the IP of the neighbor.</p>
<p><br>
</p>
<p>Ashlesh</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Mini-NDN <mini-ndn-bounces@lists.cs.ucla.edu> on behalf of sepehr abdous <sepehrabdous1375@gmail.com><br>
<b>Sent:</b> Tuesday, November 8, 2016 8:56:16 AM<br>
<b>To:</b> mini-ndn@lists.cs.ucla.edu<br>
<b>Subject:</b> [Mini-NDN] Fwd: nemune mail</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hello all,<br>
<div class="gmail_quote">
<div dir="ltr">
<div>
<div class="gmail_quote">
<div dir="ltr">
<div>
<div class="h5">I'm new to nlsr and I'm trying to configure the following network topology, means I want to produce a nlsr.conf for these nodes:<br>
<br>
<img alt="Inline image 1" height="169" width="386" src="cid:ii_158413f1eb8043b8"><br clear="all">
</div>
</div>
<div>
<div>
<div class="h5">
<div>I'm learning from the nlsr.conf file in mini-ndn nodes(like 'a' node), but when I do I get the following error using the following command while I don't encounter this error for the 'a' node:<br>
<br>
</div>
<div>the command is:<br>
<br>
# nlsr -f /home/sepehr/Desktop/projectch<wbr>eck/node1/nlsr.conf <br>
<br>
</div>
<div>and the error is:<br>
</div>
<div><br>
Failed to parse configuration file <br>
/home/sepehr/Desktop/projectch<wbr>eck/node1/nlsr.conf<br>
Error in configuration file processing! Exiting from NLSR<br>
<br>
</div>
<div>also my configuration for node1 is :<br>
<br>
general{<br>
  network /ndn/<br>
  site /edu<br>
  router /%C1.Router/cs/node1<br>
  log-level DEBUG<br>
  log-dir /home/sepehr/Desktop/projectch<wbr>eck//node1/log<br>
  seq-dir /home/sepehr/Desktop/projectch<wbr>eck//node1/log<br>
  lsa-refresh-time 1800 ;30 minutes<br>
}<br>
<br>
neighbors<br>
{<br>
    neighbor<br>
    {<br>
          name /ndn/edu/%C1.Router/cs/node2<br>
          face-uri udp://<a href="http://1.0.0.2" target="_blank">1.0.0.2</a>        ;not so sure about it<br>
          link-cost 10<br>
    }<br>
    neighbor<br>
    {<br>
          name /ndn/edu/%C1.Router/cs/node3<br>
          face-uri udp://<a href="http://1.0.0.3" target="_blank">1.0.0.3</a>        ;not so sure about it<br>
          link-cost 10<br>
    }<br>
}<br>
<br>
hyperbolic<br>
{<br>
    state off<br>
    radius 0.0<br>
    angle 0.0<br>
}<br>
<br>
fib<br>
{<br>
    max-faces-per-prefix 3<br>
}<br>
<br>
advertising<br>
{<br>
    prefix /ndn/edu/node1<br>
}<br>
<br>
<br>
security<br>
{<br>
  validator<br>
  {<br>
    trust-anchor<br>
    {<br>
      type any<br>
    }<br>
  }<br>
  prefix-update-validator<br>
  {<br>
    trust-anchor<br>
    {<br>
      type any<br>
    }<br>
  }<br>
}<br>
<br>
</div>
<div>which is like 'a' node in mini-ndn.<br>
</div>
<div>nodes 2 to 6's configuration is similar.<br>
<br>
</div>
<div>I'm not sure with the lines like<br>
face-uri udp://<a href="http://1.0.0.2" target="_blank">1.0.0.2</a><br>
</div>
<div>in neighbor sections? how can I understand how to specify this numbers for my nodes?<br>
</div>
<div><br>
</div>
<div>so can anyone please help me with my problem?<br>
<br>
</div>
</div>
</div>
<div>Thank you<span class="m_991664854587252241HOEnZb"><font color="#888888"><br>
</font></span></div>
<span class="m_991664854587252241HOEnZb"></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>