vehicle message to RSU

27 views
Skip to first unread message

belhadj aissa

unread,
Mar 28, 2024, 11:17:15 AM3/28/24
to Network Simulator 2 (NS2)
hy, i have the network with nodes and RSUs configuration and i want to send messages from vehicules to nearby RSU how can i do it i test v2v it works normally

knudfl

unread,
Mar 28, 2024, 1:14:55 PM3/28/24
to Network Simulator 2 (NS2)
RSU is a static node. i.e. a node with no movement.
Say "rsu" (or rsu1) is node_(0) .
Create or find a traffic file with "node_(0)" communication.
Or edit an existing example → traffic-files_cbr-tcp-vbr.tar.xz
https://drive.google.com/file/d/16HW9f51tOLtHihQjxoN-j8RD33WqR07T/view?usp=drive_link

Movement files:  movement-files-1.tar.xz
https://drive.google.com/file/d/1C1-iJoX2y71kgZx59cjZR-ZyMwsQD5SQ/view?usp=drive_link

Vanet-ex-0822.tar.xz
https://drive.google.com/file/d/1KlpyhnZ5P9id-V3LyYanJ6uwjkNlzXnO/view?usp=drive_link
... and → https://neo.lcc.uma.es/staff/jamal/vanet/index.html%3Fq=node%252F11.html
→  urban-VANET-scenario-U1-2-3/   backup   ns2-examples → u →
https://drive.google.com/drive/folders/1h7hTT0OTiNBgtgtz00ivK9TpkI-PydhX?usp=sharing

vanet-RSU-ex.tar.xz  
https://drive.google.com/file/d/1EWcvdSdUzqAti1e-S-iVyd1ZFa2HYwAJ/view?usp=sharing

belhadj aissa

unread,
Mar 29, 2024, 6:44:13 AM3/29/24
to ns-u...@googlegroups.com
sorry, but i want to broadcast a safety message from source node to broadcast address (RSUs) using AODV

--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-users/fb3eb976-9768-4e87-a6b3-136af79bca5cn%40googlegroups.com.

knudfl

unread,
Mar 29, 2024, 8:52:15 AM3/29/24
to Network Simulator 2 (NS2)
" i want to broadcast a safety message from source node to broadcast address (RSUs) using AODV"
...  What I read is that the `source node´ is a moving vehicle broadcasting a secure (encrypted ??) to RSU.

Lots of examples with the AODV protocol.
And "security" has recently been discussed  https://groups.google.com/g/ns-users/c/fmrSKu6AZTc/m/Mo2roWvbAQAJ

Add basic security to ns-2.35 :
tar xvf ns-allinone-2.35_gcc5.tar.gz
https://drive.google.com/file/d/0B7S255p3kFXNVVlxR0ZNRGVORjQ/view?usp=sharing
cd ns-allinone-2.35/
patch -p0 < security_ns235.patch
https://drive.google.com/file/d/0B7S255p3kFXNZFNxcnppMDN4R2M/view?usp=sharing
export CC=gcc-4.8 CXX=g++-4.8 && ./install
cd ns-2.35/
cp ns ns-security
# cp ns-security /usr/local/bin/
---------- Simulation ---------
ns-security security.tcl
Reply all
Reply to author
Forward
0 new messages