point to point wireless link

373 views
Skip to first unread message

Mahmudul Islam

unread,
Jul 1, 2021, 3:11:19 AM7/1/21
to ns-3-users
Hello everyone,
I am new to ns-3. Is is possible to create a point to point wireless link between two mobile nodes?

Anjana Bhadra

unread,
Jul 1, 2021, 3:13:14 AM7/1/21
to ns-3-users
Please check third.cc in scratch folder in ns3
You will get an idea about how to connect wireless network in ns3

On Thu 1 Jul, 2021, 12:41 PM Mahmudul Islam, <mahmud...@gmail.com> wrote:
Hello everyone,
I am new to ns-3. Is is possible to create a point to point wireless link between two mobile nodes?

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/ns-3-users/13313615-1b78-458b-ba96-c6702fe75becn%40googlegroups.com.

Mahmudul Islam

unread,
Jul 1, 2021, 3:18:01 AM7/1/21
to ns-3-users
I already went through third.cc example. But in that example, one node is AP which has constant position mobility and the second one is not a mobile node. But in my case both of the nodes are mobile. So that's why I wanted to know is it possible to create a dedicated channel between those two nodes?

Anjana Bhadra

unread,
Jul 1, 2021, 5:23:22 AM7/1/21
to ns-3-users
Check other .cc file in src> tutorial >example folder

WAQAS MALIK

unread,
Jul 1, 2021, 6:14:36 PM7/1/21
to ns-3-...@googlegroups.com
https://www.fiverr.com/s2/d982f1fbba
Whatsapp#03035141515
Virtual support Group that will provide all problems solutions with in moments 

WAQAS MALIK

unread,
Jul 1, 2021, 6:19:09 PM7/1/21
to ns-3-...@googlegroups.com

Vignesh K

unread,
Jul 5, 2021, 5:12:09 AM7/5/21
to ns-3-users
Hi Mahmud,

I also have the same question of creating a point to point wireless channel as like wired, however I cannot able to find the suitable model in NS3. Have you found any suitable open source NS3 model for this. I looked on the following models for my case, but I don't know how to achieve Point to point wireless from this.


Thanks,Vignesh.

Hemant Saini

unread,
Jul 5, 2021, 5:17:56 AM7/5/21
to ns-3-...@googlegroups.com

Hinmahmud
Can you help me am also working in ns3 in uav need a scenario to compare aodv but need CBR throughput don't know what code pl help


To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-3-users/d2ef2b2a-d241-4b31-bff2-3431c3836922n%40googlegroups.com.

Adil Alsuhaim

unread,
Jul 5, 2021, 8:51:37 AM7/5/21
to ns-3-users
Hmmmm, PointToPoint in ns-3 is between exactly two points (nodes) that are wired using PointToPointNetDevice where you can specify the data rate and the latency.

Simulation of wireless communication is different. A wireless signal originating from a node that has, say a WifiNetDevice, can be heard by any other node that has WifiNetDevice. Just think about the time you open your laptop and check the list of available WiFi network to connect though. That list is generated from beacon frames that are broadcast by different WiFi access points. In addition, wireless communication depends on the nodes positions (because signal fades over distance) so nodes must have mobility information (i.e. positions). The latency of the communication and loss of WiFi are determined by PropagationDelayModel & PropagationLossModel respectively, so you cannot just specify the latency of wireless packets, it is calculated based on the propagation models.

You cannot technically have two nodes connected with a wireless link that cannot be heard by other nodes.The closest thing I can think of that would closely mimic a point-to-point connection is to have both node's WifiNetDevice configured with AdhocWifiMac, and then in these two nodes we'll make sure we adjust the routing table would forward IP packets to the IP of the other.

I can help you more if I knew what you are trying to accomplish.

Cheers,
Adil

Vignesh K

unread,
Jul 5, 2021, 9:23:46 AM7/5/21
to ns-3-users
Hi Adil,

Thank you so much for your inputs and I really appreciate your efforts in making NS3 tutorial videos in youtube ( I started my learning from there:) ). I would like to extend the discussion for long distance communication scenario, let us consider a microwave communication between two nodes with a distance of 2km and operating in the K band spectrum (24.25 – 27.50  GHz). To simulate this scenario, I can't able to find the suitable model in NS3 for this simulation (where I can able to find only wifi models 802.11 standards, pls. correct me here if I'm wrong). I also investigated on available opensource models for this simulation scenario, however I'm unable to spot the suitale package. I don't know whether I'm missing something. Kindly let me know your inputs.

Thanks and Regards,
Vignesh.

Mahmudul Islam

unread,
Jul 7, 2021, 5:52:48 AM7/7/21
to ns-3-users
Hi Adil,
Thank you so much for your suggestion. I have learned a lot from your videos, those videos are really helpful. I also realized that it is not possible to create a point-to-point wireless link. Actually, I am working on UAV assisted vehicular network where RSU needs to communicate with UAV through a dedicated channel. So I used two netdeives for both RSU and UAV and a single netdevice for the vehicle. In my scenario, RSU sends the data packets to vehicles. If vehicles are in the communication range of RSU they can directly communicate otherwise RSU will send the packet to the UAV first through the 2nd netdevice and the UAV will relay the packet back to the vehicle. That's why I wanted to use a point-to-point link between UAV and RSU. As it is not possible, now I am using two different frequencies, one is for netdevice one and another is for the second netdevice. I don't know if there is any other better solution.
Reply all
Reply to author
Forward
0 new messages