<div dir="ltr"><div dir="auto"><div dir="auto">I've checked it out and I can't find a way to resolve the problem, it seems if I don't configure my fib manually it can't see the faces, i've been wondering if there is a way to get the face from the node variable and then use <span style="color:rgb(50,50,50);font-family:Roboto,sans-serif;font-size:14px;font-weight:700;background-color:rgb(232,232,232)">FibHelper</span>::<a class="m_907844820150665117el" href="https://ndnsim.net/2.0/doxygen/classns3_1_1ndn_1_1FibHelper.html#a778df0d68eafc7dd3898aff9adae5a00" style="color:rgb(104,104,104);font-weight:bold;font-family:Roboto,sans-serif;font-size:14px" target="_blank">AddRoute</a><span style="color:rgb(0,0,0);font-family:Roboto,sans-serif;font-size:14px;background-color:rgb(250,250,250)"> (Ptr< Node > node, const </span><a class="m_907844820150665117el" href="https://ndnsim.net/2.0/doxygen/namespacens3_1_1ndn.html#a929e852c0890fcaf036d9cea962a0241" style="color:rgb(104,104,104);font-weight:bold;font-family:Roboto,sans-serif;font-size:14px" target="_blank">Name</a><span style="color:rgb(0,0,0);font-family:Roboto,sans-serif;font-size:14px;background-color:rgb(250,250,250)"> &prefix, shared_ptr< </span><a class="m_907844820150665117el" href="https://ndnsim.net/2.0/doxygen/classnfd_1_1Face.html" style="color:rgb(104,104,104);font-weight:bold;font-family:Roboto,sans-serif;font-size:14px" target="_blank">Face</a><span style="color:rgb(0,0,0);font-family:Roboto,sans-serif;font-size:14px;background-color:rgb(250,250,250)"> > face, int32_t metric) to add the route</span>.</div><div dir="auto">I can't find another way to resolve the problem.</div><div dir="auto"><br></div><div>Thanks in advance </div><div dir="auto"><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 3, 2019, 21:41 Spyridon (Spyros) Mastorakis <<a href="mailto:mastorakis@cs.ucla.edu" target="_blank">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>Using (or not) the chronosync example is orthogonal to the communication environment (CSMA or not).<div><br></div><div>For a CSMA simulation example, take a look here: <a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/master/examples/ndn-csma.cpp" rel="noreferrer" target="_blank">https://github.com/named-data-ndnSIM/ndnSIM/blob/master/examples/ndn-csma.cpp</a></div><div><br></div><div>Thanks,</div><div><br><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>Spyridon (Spyros) Mastorakis<br>Assistant Professor<br>Computer Science Department<br>University of Nebraska, Omaha<br>Peter Kiewit Institute Room 175A<br><a href="https://sites.google.com/site/spyridonmastorakis" rel="noreferrer" target="_blank">https://sites.google.com/site/spyridonmastorakis</a><br><br></div></div></div></div></div><div><blockquote type="cite"><div>On Sep 3, 2019, at 5:40 AM, SIMON DAHDAL <<a href="mailto:simon.dahdal@student.unife.it" rel="noreferrer" target="_blank">simon.dahdal@student.unife.it</a>> wrote:</div><br class="gmail-m_907844820150665117gmail-m_-6228646367383674900gmail-m_4017479967616933080m_7638960971614536723Apple-interchange-newline"><div><div dir="ltr">Hello everyone,<br>I am quite new in ndnsim, i was using the Chronosync App implemented by Spyridon (Spyros) Mastorakis, that uses p2p links between nodes and manually configure the FIB routes like in the <a class="gmail-m_907844820150665117gmail-m_-6228646367383674900gmail-m_4017479967616933080m_7638960971614536723gmail-js-navigation-open" title="chronosync-simple.cpp" id="gmail-m_907844820150665117gmail-m_-6228646367383674900gmail-m_4017479967616933080m_7638960971614536723gmail-9477dded6102b5a40d778b80ff9d5496-99c6475f567ebe58f30171b7d1cc4ae4845273c8" href="https://github.com/spirosmastorakis/scenario-ChronoSync/blob/master/scenarios/chronosync-simple.cpp" style="box-sizing:border-box;background-color:rgb(246,248,250);color:rgb(3,102,214);outline-width:0px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;white-space:nowrap" rel="noreferrer" target="_blank">chronosync-simple</a> scenario .<br>Now I've decided to try to use Csma (Ethernet) to connect the nodes but by only implementing csma helper and install it on all the nodes but it doesn't work and  they only exchange interests and sync interests but not the data sync.<div><br></div><div><br>I would appreciate it very much if you could advise me anything that would resolve my problem.<br>I've attached the modified chronosync-simple scenario.<br></div><div></div></div>
<span id="gmail-m_907844820150665117gmail-m_-6228646367383674900gmail-m_4017479967616933080m_7638960971614536723cid:f_k03p8j8b0"><chronosync-simple-csma.cpp></span>_______________________________________________<br><br></div></blockquote></div><br></div></div></blockquote></div>