RSU (road side unit) implementation in VANET using ns-3

586 views
Skip to first unread message

prossi.p...@gmail.com

unread,
Mar 7, 2019, 8:59:20 AM3/7/19
to ns-3-users
Hello everyone,

I am using the vanet-routing-compare script. I found it very well done and useful for my porposes. I was wondering if someone knows the best way or at least some ways to set some RSUs in the simulation scenario since they are not present in the original script.

I found some comments online about setting RSU as simple static nodes, is it really the best way or the way to choose?

Thank you for your help.

Paolo R.

scarpe...@windstream.net

unread,
Mar 7, 2019, 9:45:16 AM3/7/19
to ns-3-users
In my opinion, I would suggest treating RSU nodes as their own collection, separate from the OBU nodes.  This may give you some advantages, since those two classes or nodes may be different.  For example, you correctly note that RSUs are static.  There may be several other configuration-related items that you may want to assign to all nodes of the same type.  For example:  RSU-nodes may use a different (higher) transmit power.  They may need to have a "height" (say, 10m), depending on the propagation loss model you assume.  They may support additional or different protocols. They may "do something very different" every time they receive a BSM from an OBU (like, send it off on the backhaul).  They might handle channel switching differently than the OBU-nodes.  RSUs may be directly connected to the internet, or some other network that OBUs cannot consistently connect to.  Thus, if you collect all of the RSUs into one set that is separate from the OBU nodes, then it is easier to "set up" the entire collection of nodes all at once.  As far as the "fixed position" of the RSUs themselves, you may consider hard-coding that within your script, or you can use the technique similar to the positions of the OBU (cars) - that is, you can (manually) create a separate ns2-style positions-playback file that you associate with your RSU nodes.  In that case, then your playback file might have only the initial positions of the RSUs, and then would NOT have any movement items within its playback file.

In summary, collect all the RSU nodes into one node-set, and leave the OBU-nodes in a different node-set.  You will still be able to access all-nodes that is the union of them both., but having separate node-sets gives you some flexibility that I suspect you will appreciate later.

I have often wanted to see someone extend the vehicle-only script to also incorporate static RSUs.  Thank you for considering this important work.

Paolo Rossi

unread,
Mar 7, 2019, 10:34:31 AM3/7/19
to ns-3-...@googlegroups.com
Hi scarpenter44, I really thank you for your fast reply. I will try to follow your instructions since you confirmed me some ideas I alredy got in mind.

Best regards,
Paolo R.

--
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 the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@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.

Hiba Tamimi

unread,
Jan 2, 2022, 7:45:58 AM1/2/22
to ns-3-users
Hi all,
Can any one tell me if this have work with it, because I want to do something like that.

Samuel Are

unread,
Jan 2, 2022, 3:26:19 PM1/2/22
to ns-3-...@googlegroups.com
Please I need your assistance with my final year project I need a source code for detection of wormhole attack

faisal Lone

unread,
May 19, 2023, 1:50:05 AM5/19/23
to ns-3-users
Hello, did you manage to create RSUs? if you could please share that. 

Regards
Faisal

Aya Aya

unread,
May 19, 2023, 6:38:08 PM5/19/23
to ns-3-...@googlegroups.com
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-3-users/0da0300a-ea0d-4858-8e57-0ced689925afn%40googlegroups.com.


Hello sir , i need the code of road side unit for my pratique in ns3 for protocol tcp.

Reply all
Reply to author
Forward
0 new messages