<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Thanks for your replies.</p>
    <p>I added manually faces to the FIB. Packets still not forwarding.
      <br>
    </p>
    <p>Also I'm noticed that p2p network devices have a MAC address in
      FIB(netdev://[00:00:...:0d]258), but UAN devices that I added
      don't have them (netdev://256). Maybe this is a problem?<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 08/03/2017 10:38 PM, Narges Mehran
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAGQooKXet3ct9pMeFHOpo60c-B04XcTVM5LcJv6rFa=BzMphKg@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr"><img class="mailtrack-img" alt=""
          style="display:flex"
src="https://mailtrack.io/trace/mail/00e9db8067944ecb1b70f786f14c4f6fb18845d0.png?u=1311299"
          moz-do-not-send="true" width="0" height="0">
        <div>Hello Junxiao,</div>
        <div><br>
        </div>
        <div>Thanks a million for your responses.</div>
        <div><br>
        </div>
        <div>Oleg is right. Actually, I have checked it with other
          versions. Also, in a paper named: "<span
            style="font-size:12.8px">A Named-Data Networking Approach to
            Underwater Monitoring Systems</span><span
            style="color:inherit;font-size:inherit">", the application
            of NDN layer has been exploited with the newer version of
            ndnSIM; however, it seems that the authors of this paper are
            so busy to guide us.</span></div>
        <div><span style="color:inherit;font-size:inherit">Anyway,
            ndnSIM is OK with the WiFi protocols and I have tested it
            myself. But with the underwater acoustic protocols, it seems
            that the structures do not agree with each other properly. U
            R right. I should go through the routing to see if it is
            working truly.</span></div>
        <div><span style="color:inherit;font-size:inherit"><br>
          </span></div>
        <div><span style="color:inherit;font-size:inherit">Regards, </span></div>
        <div><span style="color:inherit;font-size:inherit">Narges</span></div>
        <div><br>
        </div>
        <div style="display:inline"> </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Aug 3, 2017 at 5:38 PM, Junxiao
          Shi <span dir="ltr"><<a
              href="mailto:shijunxiao@email.arizona.edu" target="_blank"
              moz-do-not-send="true">shijunxiao@email.arizona.edu</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div class="HOEnZb">
              <div class="h5">
                <div><br>
                  <div class="gmail_quote">
                    <div>On Thu, Aug 3, 2017 at 00:40 Junxiao Shi <<a
                        href="mailto:shijunxiao@email.arizona.edu"
                        target="_blank" moz-do-not-send="true">shijunxiao@email.arizona.edu</a>>
                      wrote:<br>
                    </div>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div>
                        <div dir="auto">Hi Oleg</div>
                        <div dir="auto"><br>
                        </div>
                        <div dir="auto">FibHelper::AddRoute in ndnSIM
                          2.3 only recognizes PointToPointNetDevice, and
                          does not support UAN. <a
href="https://github.com/named-data-ndnSIM/ndnSIM/blob/ndnSIM-2.3/helper/ndn-fib-helper.cpp#L137"
                            target="_blank" moz-do-not-send="true">https://github.com/named-data-<wbr>ndnSIM/ndnSIM/blob/ndnSIM-2.3/<wbr>helper/ndn-fib-helper.cpp#L137</a></div>
                        <div dir="auto">You may manipulate the FIB
                          directly. Look at FibHelper code to get an
                          idea about how to do that.</div>
                        <div dir="auto"><br>
                        </div>
                        <div dir="auto">I guess the reason
                          FibHelper::AddRoute(node, prefix, nexthopNode,
                          metric) being limited to PointToPointNetDevice
                          is that, ndnSIM is incapable of unicasting
                          over a broadcast or ad hoc wireless face. It
                          would be semantically incorrect if this
                          FibHelper::AddRoute overload causes a node to
                          broadcast Interests onto a channel where
                          nexthopNode and potentislly other nodes are
                          present.</div>
                        <div dir="auto">However, it would be nice for
                          this overload to install a route to the
                          broadcast face if the underlying channel only
                          contains {node, nexthopNode}, which exactly
                          fulfills your use case. I suggest reporting an
                          issue with Tracker=Feature on ndnSIM Redmine
                          site.</div>
                        <div dir="auto"><br>
                        </div>
                        <div dir="auto">Yours, Junxiao</div>
                      </div>
                      <div><br>
                        <div class="gmail_quote">
                          <div>On Wed, Aug 2, 2017 at 22:49 Oleg Surnin
                            <<a href="mailto:o.surnin@innopolis.ru"
                              target="_blank" moz-do-not-send="true">o.surnin@innopolis.ru</a>>
                            wrote:<br>
                          </div>
                          <blockquote class="gmail_quote"
                            style="margin:0 0 0 .8ex;border-left:1px
                            #ccc solid;padding-left:1ex">I have the same
                            problem as a Narges. The first part of the
                            code looks<br>
                            very similar. But I'm using the ndnSIM 2.3.
                            In my case the packets<br>
                            didn't transfered between nodes.<br>
                            <br>
                            The code is here: <a
                              href="https://pastebin.com/iVNz5cnX"
                              rel="noreferrer" target="_blank"
                              moz-do-not-send="true">https://pastebin.com/iVNz5cnX</a><br>
                            <br>
                            I'm tried to setup FIB manually by<br>
                            <br>
                            ndn::FibHelper::AddRoute(nc.<wbr>Get(1),
                            "/prefix", nc.Get(0), 1);<br>
                            <br>
                            but have an error:  "Cannot add route: Node#
                            1 and Node# 0 are not<br>
                            connected"<br>
                            <br>
                            <br>
                          </blockquote>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>