[ndnSIM] Fib for Wifi and P2P

Marzieh Babaeianjelodar babaeim at clarkson.edu
Mon Aug 7 12:03:36 PDT 2017


Hi Spyridon,

I have a producer installed on node 2 in my wifi scenario. 
I understand now. Yes in the P2P I have two distinct faces.

Best Regards,
Marzieh 

> On Jul 31, 2017, at 8:40 PM, Spyridon (Spyros) Mastorakis <mastorakis at CS.UCLA.EDU> wrote:
> 
> Hi,
> 
> I would guess that you have not installed a producer application on node 2 for the wifi scenario plus for node 1 (p2p scenario) you have 2 distinct faces, because you have 2 separate links connecting this node with node 0 and node 2.
> 
> Hope that this helps,
> 
> Spyridon (Spyros) Mastorakis
> Personal Website: http://cs.ucla.edu/~mastorakis/ <http://cs.ucla.edu/~mastorakis/>
> Internet Research Laboratory
> Computer Science Department
> UCLA
> 
>> On Jul 31, 2017, at 7:22 AM, Marzieh Babaeianjelodar <babaeim at clarkson.edu <mailto:babaeim at clarkson.edu>> wrote:
>> 
>> Dear ndnSIM friends,
>> 
>> I have made two simple scenarios, one with P2P and the other with Wifi based on the scenarios inside the examples folder and they have 3 nodes. 
>> I ran them and printed the fib table for both of them, and they look different.
>> 
>> This is for p2p:
>> 
>> FIB content on: Node 0
>> ----------------------------------------------------------------------------------------------
>> |            prefix            |             face             |           towards            |
>> ----------------------------------------------------------------------------------------------
>> |              /               | netdev://[00:00:00:00:00:01 <netdev://[00:00:00:00:00:01>] |                              |
>> ----------------------------------------------------------------------------------------------
>> |      /localhost/nfd/rib      |         internal://          
>> ----------------------------------------------------------------------------------------------
>> |        /localhost/nfd        |         internal://          
>> ----------------------------------------------------------------------------------------------
>> 
>> FIB content on: Node 1
>> ----------------------------------------------------------------------------------------------
>> |            prefix            |             face             |           towards            |
>> ----------------------------------------------------------------------------------------------
>> |              /               | netdev://[00:00:00:00:00:02 <netdev://[00:00:00:00:00:02>] |                              |
>> |                              | netdev://[00:00:00:00:00:03 <netdev://[00:00:00:00:00:03>] |                              |
>> ----------------------------------------------------------------------------------------------
>> |      /localhost/nfd/rib      |         internal://          
>> ----------------------------------------------------------------------------------------------
>> |        /localhost/nfd        |         internal://          
>> ----------------------------------------------------------------------------------------------
>> 
>> FIB content on: Node 2
>> ----------------------------------------------------------------------------------------------
>> |            prefix            |             face             |           towards            |
>> ----------------------------------------------------------------------------------------------
>> |              /               | netdev://[00:00:00:00:00:04 <netdev://[00:00:00:00:00:04>] |                              |
>> ----------------------------------------------------------------------------------------------
>> |      /localhost/nfd/rib      |         internal://          
>> ----------------------------------------------------------------------------------------------
>> |        /localhost/nfd        |         internal://          
>> ----------------------------------------------------------------------------------------------
>> |           /prefix            |          appFace://          
>> ----------------------------------------------------------------------------------------------
>> 
>> and this is for wifi:
>> FIB content on: Node 0
>> ----------------------------------------------------------------------------------------------
>> |            prefix            |             face             |           towards            |
>> ----------------------------------------------------------------------------------------------
>> |              /               | netdev://[00:00:00:00:00:01 <netdev://[00:00:00:00:00:01>] |                              |
>> ----------------------------------------------------------------------------------------------
>> |      /localhost/nfd/rib      |         internal://          
>> ----------------------------------------------------------------------------------------------
>> |        /localhost/nfd        |         internal://          
>> ----------------------------------------------------------------------------------------------
>> 
>> FIB content on: Node 1
>> ----------------------------------------------------------------------------------------------
>> |            prefix            |             face             |           towards            |
>> ----------------------------------------------------------------------------------------------
>> |              /               | netdev://[00:00:00:00:00:02 <netdev://[00:00:00:00:00:02>] |                              |
>> ----------------------------------------------------------------------------------------------
>> |      /localhost/nfd/rib      |         internal://          
>> ----------------------------------------------------------------------------------------------
>> |        /localhost/nfd        |         internal://          
>> ----------------------------------------------------------------------------------------------
>> 
>> FIB content on: Node 2
>> ----------------------------------------------------------------------------------------------
>> |            prefix            |             face             |           towards            |
>> ----------------------------------------------------------------------------------------------
>> |              /               |          appFace://           netdev://[00:00:00:00:00:03 <netdev://[00:00:00:00:00:03>] |                              |
>> ----------------------------------------------------------------------------------------------
>> |      /localhost/nfd/rib      |         internal://          
>> ----------------------------------------------------------------------------------------------
>> |        /localhost/nfd        |         internal://          
>> ----------------------------------------------------------------------------------------------
>> 
>> I was wondering why they act differently?
>> 
>> Best Regards,
>> Marzieh
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170807/5c135fe2/attachment.html>


More information about the ndnSIM mailing list