6lowpan implementation using ns3

225 views
Skip to first unread message

paw...@iitj.ac.in

unread,
Apr 9, 2017, 10:19:56 PM4/9/17
to ns-3-users
Hi,

I am using ns-3.26 for 6lowpan. There are some sample codes available in the package for it but I am facing some difficulties while running it.

Can you tell me how can I run src/sixlowpan/test files?

program 'src/sixlowpan/test/sixlowpan-fragmentation-test' not found; available programs are: ['aodv', 'src/aodv/examples/aodv', 'csma-bridge', 'src/bridge/examples/csma-bridge', 'csma-bridge-one-hop', 'src/bridge/examples/csma-bridge-one-hop'......

Also, I have tried to run it in scratch but still it is not working. Please reply asap.

Konstantinos

unread,
Apr 10, 2017, 4:56:09 AM4/10/17
to ns-3-users
Hi,

Please refer to the documentation

Tests are run through the test.py script, not as example scenarios.

Regards
K

Pranali Pawar

unread,
Apr 11, 2017, 6:32:57 AM4/11/17
to ns-3-...@googlegroups.com
Thank you sir. I have followed the suggested instructions but I am still getting those errors while running the scripts of sixlowpan (even for examples files of 6lowpan).

Now, what should I do? Hope to hear from you soon.

Regards,

--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/aPqGFWrkZjM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+unsubscribe@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.



--
Pranali Pawar
Pre-Final Year Undergraduate
System Science (Major CSE)
Indian Institute of Technology Jodhpur
Mobile :- +917062111720

Konstantinos

unread,
Apr 11, 2017, 12:56:32 PM4/11/17
to ns-3-users
Are you getting the same errors? Then you do not follow the documentation - how to run a scenario and how to run a test.
Also, before posting your next reply, please read the posting guidelines.

paw...@iitj.ac.in

unread,
Apr 14, 2017, 2:47:15 AM4/14/17
to ns-3-users
Hi,

I am working on security issues and fragment integrity in 6lowpan. And for that I need to implement a hashing scheme. Briefly, I want to send the hash values(obtained using a hash function) of every two fragment before sending the actual data. For example if i want to send frag1, frag2, frag3 and frag4 then firstly i will send two index packet which contains the hash values of frag1&frag2 and frag3&frag4 then I will send the 4 actual fragments.

Can you please tell me how can I do this in ns3. I could not find in the package from where the raw data is coming. Is it not possible that i make a file having fragmented data then after some computational work for index fragments I can send the index fragments and then actual fragment so that i need not to make any changes in the ns3 package's codes.

Please reply asap.

Thank you so much.

Tommaso Pecorella

unread,
Apr 22, 2017, 1:05:00 PM4/22/17
to ns-3-users
Please note that here the term "asap" will be translated "as soon as you have some spare time and you can forgive my rudeness for trying to rush you".

About your question, you're switching topic. One thing is not being able to run the examples, another thing is to suggest you how to develop your code.

Anyway, either way you'll need to change the ns-3 code. As a consequence, it's better to change it in the "right" way.
You asked where the packets are first processed in sixlowpan. In SixLowPanNetDevice::Send and SixLowPanNetDevice::SendFrom

T.
Reply all
Reply to author
Forward
0 new messages