[Ndn-interest] Launching several instances of nlsr

César A. Bernardini mesarpe at gmail.com
Fri Dec 2 07:34:59 PST 2016

I don't remember the parameters of nslr . Maybe the thing you could try is
to create tap devices in Linux and attach the app to this fake interfaces.
I remember I did this three years ago.


On Dec 2, 2016 15:40, "Matteo Bertolino" <Matteo.Bertolino at eurecom.fr>

> Good morning, I need to perform a complicate question.
> I would like to launch several NDN nodes in different processes (i.e. 3
> processes) on the same machine. Exactly the same behaviour of mini-ndn, but
> without.
> Then, about the NFD I had no problem:
> 1- Open three terminals.
> 2- On each terminal, change the HOME environment variable.
> 3- Put on the new home a new nfd.conf, changing the socket name (nfd.sock,
> nfd1.sock, nfd2.sock), the port numbers, and repeat in the
> client.config.sample.
> 4- On each terminal, launch nfd --config ~/nfd.conf &
> It works well. The problem arrives with NLSR.
> In each HOME, I put a different version of nlsr.conf, where I changed the
> names and the ip of the neighborhoods.
> Then I run on each node nlsr -d -f  ~/nlsr.conf
> And here I noticed a strange thing: all the output, nlsr related,
> converges in one terminal. So I started to think that actually there are
> not 3 separated nlsr instances despite the three different processes.
> If I try to do nlsrc advertise /prefix , it tells me "success in
> advertisement", but no FIBS are actually updated. This demonstrate that the
> three instances are actually one.
> But, however, mini obtains a perfect separation. I tried to replicate
> exactly the same steps in nlsr.py, but I have no success. In your opinion,
> what do I forgot ? Thanks
> ------------------------------------------------------------
> -------------------
> This message was sent using EURECOM Webmail: http://webmail.eurecom.fr
> _______________________________________________
> Ndn-interest mailing list
> Ndn-interest at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20161202/18ca17e8/attachment.html>

More information about the Ndn-interest mailing list