[ndnSIM] Question about updating name prefix list of the routers

Junxiao Shi shijunxiao at email.arizona.edu
Thu May 18 14:14:43 PDT 2017


Hi Michał

onInterestReject generally means there is no FIB entry matching the Interest.
You are probably sending the command Interest too early, before NLSR initializes itself and registers the FIB entry for these commands.
Try adding a delay (using ns3::Schedule) because sending the command Interest.

Yours, Junxiao

> On May 18, 2017, at 10:08 AM, Michał Król <mharnen at gmail.com> wrote:
> 
> Is it necessary to start NLSR in a special way? After executing the same code the interest is rejected on my node. I installed bestroute2 strategy for all the prefixes "/", but it's not invoked here.
> 
> 
> 0.0200091s 1 nfd.Forwarder:onIncomingInterest(): [DEBUG] In: /localhost/nlsr/prefix-update/advertise/h%12%07%10%08%0Eupdated-prefix/%14/%01%DE1nbtU%BA/%160%1B%01%01%1C+%07%29%08%0Ctmp-identity%08%04%CD%A6%05%8A%08%03KEY%08%05ksk-0%08%07ID-CERT/%17%FD%01%00%D2%C2l%0B9%E7%F3r%ED%07%E1%07%5C%3B%84i%F7%FB%1A%F9%FD%B8N%F2%19%BE%CC%E4%7B%7F%18P%F6%90tLfU%16%B7%C4%FA%C0%95%16%DC%9A%99K%8AW%D6%D6%FA9%0A%E2%C5h%2A%B9eH%5E%02%C7%8E%D9%C4q%C7%EA%0BS%FE%0E%0A%E7%F4%05%FE%7D%C2%03%D59%24%90%84%FD%16%E8T%8D%F3%C8%A2%8E%11buux%1D%1A%19%7B4%B5k%B6%1Fh%03H0%CCam%DFT%FCM%23r%91%22%C93%8CX%FA%1C%7B%B5%EA%98%10%DA%84D%87%9D%F7%DD9%3C%B5b%3AP%7C%8B%8D%F4k%F3%E1%A7%C2%08%D1L%EC%F6QE%A6%1B%B8c%94q%FC%83%DB%96%1Bb%D7%1E%89%FB%80%EFg%D1%0DP%C4%96_0%DD%BE%B3%BF%C4H%18%D2a%1F%3Fa%90%FB%10%16%1Bh%A5%C8%E3%84%87J%8E%A2%C8%DByw%A7%14%CC%AE-%83%DE%1A%D8%C8%19%9F%18g%86%26%FE%F7%25%28%FEs%89%D0E%B7%C9%87%B7%BCDQ%E7 
> 
> 0.0200091s 1 nfd.Forwarder:onContentStoreMiss(): [DEBUG] onContentStoreMiss interest=/localhost/nlsr/prefix-update/advertise/h%12%07%10%08%0Eupdated-prefix/%14/%01%DE1nbtU%BA/%160%1B%01%01%1C+%07%29%08%0Ctmp-identity%08%04%CD%A6%05%8A%08%03KEY%08%05ksk-0%08%07ID-CERT/%17%FD%01%00%D2%C2l%0B9%E7%F3r%ED%07%E1%07%5C%3B%84i%F7%FB%1A%F9%FD%B8N%F2%19%BE%CC%E4%7B%7F%18P%F6%90tLfU%16%B7%C4%FA%C0%95%16%DC%9A%99K%8AW%D6%D6%FA9%0A%E2%C5h%2A%B9eH%5E%02%C7%8E%D9%C4q%C7%EA%0BS%FE%0E%0A%E7%F4%05%FE%7D%C2%03%D59%24%90%84%FD%16%E8T%8D%F3%C8%A2%8E%11buux%1D%1A%19%7B4%B5k%B6%1Fh%03H0%CCam%DFT%FCM%23r%91%22%C93%8CX%FA%1C%7B%B5%EA%98%10%DA%84D%87%9D%F7%DD9%3C%B5b%3AP%7C%8B%8D%F4k%F3%E1%A7%C2%08%D1L%EC%F6QE%A6%1B%B8c%94q%FC%83%DB%96%1Bb%D7%1E%89%FB%80%EFg%D1%0DP%C4%96_0%DD%BE%B3%BF%C4H%18%D2a%1F%3Fa%90%FB%10%16%1Bh%A5%C8%E3%84%87J%8E%A2%C8%DByw%A7%14%CC%AE-%83%DE%1A%D8%C8%19%9F%18g%86%26%FE%F7%25%28%FEs%89%D0E%B7%C9%87%B7%BCDQ%E7
> 
> 0.0200091s 1 nfd.Forwarder:onInterestReject(): [DEBUG] onInterestReject interest=/localhost/nlsr/prefix-update/advertise/h%12%07%10%08%0Eupdated-prefix/%14/%01%DE1nbtU%BA/%160%1B%01%01%1C+%07%29%08%0Ctmp-identity%08%04%CD%A6%05%8A%08%03KEY%08%05ksk-0%08%07ID-CERT/%17%FD%01%00%D2%C2l%0B9%E7%F3r%ED%07%E1%07%5C%3B%84i%F7%FB%1A%F9%FD%B8N%F2%19%BE%CC%E4%7B%7F%18P%F6%90tLfU%16%B7%C4%FA%C0%95%16%DC%9A%99K%8AW%D6%D6%FA9%0A%E2%C5h%2A%B9eH%5E%02%C7%8E%D9%C4q%C7%EA%0BS%FE%0E%0A%E7%F4%05%FE%7D%C2%03%D59%24%90%84%FD%16%E8T%8D%F3%C8%A2%8E%11buux%1D%1A%19%7B4%B5k%B6%1Fh%03H0%CCam%DFT%FCM%23r%91%22%C93%8CX%FA%1C%7B%B5%EA%98%10%DA%84D%87%9D%F7%DD9%3C%B5b%3AP%7C%8B%8D%F4k%F3%E1%A7%C2%08%D1L%EC%F6QE%A6%1B%B8c%94q%FC%83%DB%96%1Bb%D7%1E%89%FB%80%EFg%D1%0DP%C4%96_0%DD%BE%B3%BF%C4H%18%D2a%1F%3Fa%90%FB%10%16%1Bh%A5%C8%E3%84%87J%8E%A2%C8%DByw%A7%14%CC%AE-%83%DE%1A%D8%C8%19%9F%18g%86%26%FE%F7%25%28%FEs%89%D0E%B7%C9%87%B7%BCDQ%E7
> 
> 



More information about the ndnSIM mailing list