Vanet simulation on NS3

8,208 views
Skip to first unread message

profentzas chris

unread,
Mar 29, 2011, 4:31:44 AM3/29/11
to ns-3-users
Hello to all ,

I'm new to the ns3 , I wand to make some simulations about Vanets
(Vehicular Ad hoc Networks)
and I wand some help . Specifically I wand to make some simulations
in the Mac and Network layer .
If someone can give me some advices about how to create a topology and
run in it on ns3 I will be very grateful!
Also I'm wondering where can I find a list with some modulus
(protocols) what has already implemented on ns3 ?

Thanks in Advance ,
Profentzas Christos

Lalith Suresh

unread,
Mar 29, 2011, 6:23:02 AM3/29/11
to ns-3-...@googlegroups.com, profentzas chris
Hello,


For a list of modules, you can see this (modules as per current ns-3-dev): http://code.nsnam.org/ns-3-dev/file/4b68e211540c/src
 

Thanks in Advance ,
Profentzas Christos

--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.




--
Lalith Suresh
Department of Computer Science and Engineering
Instituto Superior Técnico
www.lalith.in

Sérgio Vieira

unread,
Mar 29, 2011, 7:12:30 AM3/29/11
to ns-3-...@googlegroups.com
Hi,

There is a paper and implementation about VANET Highway mobility and ns3 at http://www.cs.odu.edu/~vanet/Software/ns3-highway/. Anther issue is about transmission range. I did an simulation using different transmissions range. If you want, I can send it to you.

with regards,
Sérgio Vieira

2011/3/29 Lalith Suresh <suresh...@gmail.com>



--
Sérgio Vieira
Master program in Computer Networks
State University of Ceará (UECE)

Mohammad Nozari

unread,
Mar 29, 2011, 7:20:29 AM3/29/11
to ns-3-...@googlegroups.com
Hi Sergio,
Could you please send your simulation code here or by email, then we can have a look and use it at a good start point.
Thanks
Mohammad

2011/3/29 Sérgio Vieira <sergio...@gmail.com>

pradyumna mahanta

unread,
Mar 29, 2011, 3:47:10 PM3/29/11
to ns-3-...@googlegroups.com

Hi Guillame Remy 

I am also trying to work on the VANET simulations using LTE interface and I am quite new to it. Is it possible for you to share the work you have done. I am trying to simulate VANET for an intersection scenario. So I can probably base my scenario on similar lines to yours. 

Regards 
Pradyumna 

I was wondering if it is possible to get the code you were 
On Tue, Mar 29, 2011 at 9:28 PM, Gremz <g.re...@gmail.com> wrote:
Hi,

I also used this vanet-highway code, and I added LTE interface to vehicles. The main problem is that it simulates an highway and can't generate other topology. I modified this code to use VanetMobiSim traces. Then, it can simulate any kind of topology.

The advantage of the original vanet-highway is that received messages can have effects on the mobility model (the vehicles can react to received message, brake or accelerate when they receive a warning message for example). Of course, the fact to use VanetMobiSim traces prevents this behavior, but I am mentoring students who are working on implementing a Manhattan model which will be as integrated in the NS-3 code as the original vanet-highway. I don't know what you really need for your simulations, then tell me what you are interested in.

Regards,
Guillaume Rémy

rodolfo meneguette

unread,
Mar 29, 2011, 3:58:45 PM3/29/11
to ns-3-...@googlegroups.com
My doctorate project is following the same subject, if you could share your code i would be very grateful
I am having problem with my topology because I still can't integrate lte with vanet


thanks
Rodolfo

profentzas chris

unread,
Mar 30, 2011, 3:50:41 AM3/30/11
to ns-3-users
Hello Guillaume Rémy,

I wand to make an V2V topology and test a Geographic based routing
protocol ,
perhaps I have to implement the protocol in ns3 because I can't find
one,
I will be very grateful, if you could share your code .

Regards,
Profentzas Christos

Gremz

unread,
Mar 30, 2011, 7:49:17 AM3/30/11
to ns-3-...@googlegroups.com
Hello all,

I will of course give you the code, and I will probably upload it on the mercurial repository when I finish it.
I'm quite overbooked this week, then I will send a message with a .tar.gz archive containing my code during this week-end.

@Profentzas: Indeed, Geographic based routing is not implemented in NS-3 source code, you will have to implement it by yourself. But after that you could use the code I will send to test your protocol.

@Rodolfo: I'm also a PhD. student and work on VANETs, I think it could be interesting to exchange ideas and information about our work... What exactly is your thesis on ?

Regards,
Guillaume

Pasquale Cataldi

unread,
Mar 30, 2011, 9:34:17 AM3/30/11
to ns-3-...@googlegroups.com
Hello all,

I think you guys might take a look at the open source iTETRIS project (http://www.ict-itetris.eu/), which is based on ns-3.

I don't know the latest iterations with the ns3 people, but part of the things done in iTETRIS could be used in the official ns3 (and maybe already have been). I have no clear idea about the current discussions between the ns3 guys and the iTETRIS consortium, as I did not take part of the interactions that happened between the two projects. However, I guess that some discussion is pending or might be resumed.

The iTETRIS platform might need some additional work, but as it is open source, help is always welcome and appreciated, as much as any suggestion or proposal.

Cheers,
Pasquale

--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.



--
Pasquale Cataldi (Ph.D.)

This email may contain material that is confidential and/or privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.

rodolfo meneguette

unread,
Mar 30, 2011, 9:42:09 AM3/30/11
to ns-3-...@googlegroups.com
Hi Guillaume,

I am working with handoff between VANET and LTE ussing 802.21 protocol
to choose the best net interface.
So, I need integrate VANET with LTE using MIPv6, But now I am having
problem with this integrate and with LTE using ipv6.

I belive that your code can help me.

What is your thesis on ?

thanks

Gremz

unread,
Mar 30, 2011, 10:21:48 AM3/30/11
to ns-3-...@googlegroups.com
Hi Pasquale,

iTETRIS seems indeed very interesting, I follow its progression... but it looks like it is not usable yet. Thanks for information though

Gremz

unread,
Mar 30, 2011, 10:30:44 AM3/30/11
to ns-3-...@googlegroups.com
My thesis is about complementarity between LTE and VANETs. Then I'm developing protocols which can take advantages of these two technologies to improve VANET applications efficiency, or offload the LTE cells.

I think my code can help you, I answered on the topic you opened: "LTE with IPv6"

Gremz

unread,
Apr 4, 2011, 3:04:46 PM4/4/11
to ns-3-...@googlegroups.com
Sorry to be late, I have a paper to submit tomorrow and then I don't had time to send you the code, but I will send it tomorrow or Wednesday

rodolfo meneguette

unread,
Apr 7, 2011, 8:11:44 AM4/7/11
to ns-3-...@googlegroups.com
On 04-04-2011 16:04, Gremz wrote:
> Sorry to be late, I have a paper to submit tomorrow and then I don't
> had time to send you the code, but I will send it tomorrow
> or Wednesday --
OK
I am waiting to your code lte with ipv6 :)

Gremz

unread,
Apr 7, 2011, 8:52:16 AM4/7/11
to ns-3-...@googlegroups.com
All right, sorry again, I usually respects the deadlines I give, but I had unexpected work to do and I didn't had time to make a usable package with the NS-3 vanet sources. Here is the first code with IPv4. I will post the code for IPv6 in the following hour... 

I put doxygen documentation along with the code.

To use it, you have to extract it in the root NS-3 directory, and modify the wscript (of the NS-3 root directory): add the line "bld.add_subdirs('vanet_wave-lte')" after the line "bld.add_subdirs('utils')". And then you can run "./waf --run vanet_wave-lte"
vanet_wave-lte.tgz
Message has been deleted
Message has been deleted

Gremz

unread,
Apr 7, 2011, 9:26:16 AM4/7/11
to ns-3-...@googlegroups.com
Ok I added an #include in Vehicle.cc because it won't compile instead, and I fixed the position of the eNodeB.

Here are the two version (IPv4 and IPv6)

If you have question you can also speak with me on the #ns-3 IRC channel (freenode server). My nickname is Gremz
vanet_wave-lte_ipv4.tgz
vanet_wave-lte_ipv6.tgz

Gremz

unread,
Apr 7, 2011, 9:34:55 AM4/7/11
to ns-3-...@googlegroups.com
If it can help, I used VanetMobiSim to generate the trace file, and I attach the .xml configuration file to this post
simulations_urban.xml

rodolfo meneguette

unread,
Apr 7, 2011, 12:47:40 PM4/7/11
to ns-3-...@googlegroups.com
Hello,

But when i ran your code ./waf --run vanet_wave-lte//vanet-highway
the message below still appear

assert failed. cond="m_device->IsMulticast ()",
msg="Ipv6Interface::SendTo (): Sending multicast packet over
non-multicast device", file=../src/internet/model/ipv6-interface.cc,
line=351
terminate called without an active exception

I use ns3.10 maybe was some modification of version. i don't know

Thanks a lot.
Rodolfo

On 07-04-2011 10:34, Gremz wrote:
> If it can help, I used VanetMobiSim to generate the trace file, and I

> attach the .xml configuration file to this post --

Guillaume Rémy

unread,
Apr 7, 2011, 1:00:23 PM4/7/11
to ns-3-...@googlegroups.com
It is normal, I explained it on the "LTE with IPv6" topic, you have to modify the line 320 of the file lte-net-device.cc, and put true instead of false. 

rodm...@gmail.com

unread,
Apr 7, 2011, 1:26:47 PM4/7/11
to ns-3-...@googlegroups.com
Sorry :)

Now, It is working

Thanks


2011/4/7 Guillaume Rémy <g.re...@gmail.com>



--
______________________________________

Rodolfo Ipolito Meneguette                                 
Doutorando - Ciência da Computação
Universidade de Campinas - Unicamp

Lattes http://lattes.cnpq.br/4981889689994770

_____________________________________

Guillaume Rémy

unread,
Apr 7, 2011, 1:58:25 PM4/7/11
to ns-3-...@googlegroups.com
You're welcome, don't hesitate if you have more questions

rodolfo meneguette

unread,
Apr 8, 2011, 12:24:29 PM4/8/11
to ns-3-...@googlegroups.com
How can I identify what network interface the udp packet was received, if it was by lte device or wifi device.

Because The wireshark only show me the IEEE 802.11 protocol.

The question is:

How to know what interface network received or send udp packet?

Do you know?

thanks
rodolfo

Guillaume Rémy

unread,
Apr 8, 2011, 1:03:56 PM4/8/11
to ns-3-...@googlegroups.com
It depends on the application. Most of the time you provide the interface on which you want to install the application, and then you know it will use this interface. Prsonnaly, I developped a custom application which assumes that there is two interfaces and knows that first interface is WiFi and twice is LTE. What application did you use to test the code ? Ping6 ? There is a comment in my code to indicate where you shoud add your application.

rodolfo meneguette

unread,
Apr 8, 2011, 1:54:35 PM4/8/11
to ns-3-...@googlegroups.com
My application is like gnutella, but I am using the  upd-client-server as example.
Below of this application I will put a management class of packet, it will chose the best network interface to connect and send the packet.
Then I need to know what network interface the packet the "application" received to calculate delay, etcs.

Do you know how I can do it?
I am thinks use IP to identify the APs

thanks
rodolfo

On 08-04-2011 14:03, Guillaume Rémy wrote:
It depends on the application. Most of the time you provide the interface on which you want to install the application, and then you know it will use this interface. Prsonnaly, I developped a custom application which assumes that there is two interfaces and knows that first interface is WiFi and twice is LTE. What application did you use to test the code ? Ping6 ? There is a comment in my code to indicate where you shoud add your application.
My application is like gnutella, but I have mo

Yes I saw your comment, its help me a lot.
Message has been deleted

Gremz

unread,
Apr 10, 2011, 5:23:01 AM4/10/11
to ns-3-...@googlegroups.com
You can indeed use the IP addresses to differentiate the network interface: WiFi interfaces have 2001:0db8:ac10:fe01:: addresses and LTE interfaces have 2001:0db8:ac10:fe02:: addresses. The application you install on the Vehicle objects and Roads can access the interfaces through the
GetNode()->GetObject<Ipv6>()->GetAddress(i,j)->GetAddress(), where i is the network interface number, and j the address index. You could also use the GetNetDevice(i) function instead of GetAddress(i,j)

Look at the documentation of the Ipv6 object, it was very helpful to me.

yilei

unread,
May 5, 2011, 9:13:47 AM5/5/11
to ns-3-...@googlegroups.com

Gremz <g.remy00@...> writes:

Dear Gremz,
How are you.
I am a beginner of NS-3 and I am very interesting of your code. I met some
problem when integrate it. I am using NS3.10, the first problem is when I do waf
in the root folder, the console display "ns3/internet-module.h:there is no such
file or class". what should I do?

Best regards,
Yilei

Guillaume Rémy

unread,
May 5, 2011, 12:56:51 PM5/5/11
to ns-3-...@googlegroups.com
Hi,

The problem is you probably don't have the latest NS-3.10 version. There has been some structure changes few weeks ago, and this "internet-module" was part of this changes.
Don't hesitate to tell me if you meet other problems.

Best regards,
Guillaume




--

Cristinna

unread,
May 12, 2011, 2:36:48 PM5/12/11
to ns-3-users
hi,
I'm new to the ns3, can you help me please
I want to know the file contenent 802.11p this protocol is implement
on ns3.10 or not??
what are the files that i need it in vanet project??

thanks in advance

Guillaume Rémy

unread,
May 12, 2011, 3:17:25 PM5/12/11
to ns-3-...@googlegroups.com
Hi,

Currently, there is no strictly valid 802.11p implementation, but the "WIFI_PHY_STANDARD_80211_10Mhz" model (which can be chosen with the SetStandard function of the WifiHelper class) is the closest one.

Regards,
Message has been deleted

Muhammad Imran Khan

unread,
Sep 22, 2012, 7:45:55 PM9/22/12
to ns-3-...@googlegroups.com
Hello Sérgio Vieira, 

I hope you will find this email with the best of your health.
Nice to see your discussion on the vanet simulation in ns3. I find you because your work interest me. I am also working on the transmission range in vanet. I want to change the transmission range with respect to density and packet loss.  As I am wondering, how I could do that, I saw your post that interest me. 
I would like to request you, please help me in this regard. 
1) Could you please share your code, Thanks in advance 
2) How you implemented that in ns3, any help , suggestion, please 
3) I was a vanet highway project on this link http://code.google.com/p/ns-3-highway-mobility/wiki/HighwayMobilityAndVehicularNetworksInNs3, but I could not come to integrate it into the specified version and also on the latest version. :(,  I hope I will come out of this problem , as the discussion is going on this link, https://groups.google.com/forum/?fromgroups=#!searchin/ns-3-users/vanet$20highway$20simulation/ns-3-users/aOXi5A9tCy8/flVOJFgDr54J
but meanwhile, your code could boost my efforts. :)

I will be grateful to you for your cooperation. I thank you in advance as well. 


Best Regards,
Imran Khan




El martes, 29 de marzo de 2011 13:12:30 UTC+2, Sérgio Vieira escribió:
Hi,

There is a paper and implementation about VANET Highway mobility and ns3 at http://www.cs.odu.edu/~vanet/Software/ns3-highway/. Anther issue is about transmission range. I did an simulation using different transmissions range. If you want, I can send it to you.

with regards,
Sérgio Vieira

 
2011/3/29 Lalith Suresh <suresh...@gmail.com>
Hello,

On Tue, Mar 29, 2011 at 9:31 AM, profentzas chris <paro...@gmail.com> wrote:
Hello to all ,

I'm new to the ns3 , I wand to make some simulations about Vanets
(Vehicular Ad hoc Networks)
and I wand some help .  Specifically I wand to make some simulations
in the Mac and Network layer .
If someone can give me some advices about how to create a topology and
run in it on ns3 I will be very grateful!
Also I'm wondering where can I find a list with some modulus
(protocols) what has already implemented on ns3 ?


For a list of modules, you can see this (modules as per current ns-3-dev): http://code.nsnam.org/ns-3-dev/file/4b68e211540c/src
 

Thanks in Advance ,
Profentzas Christos


--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.




--
Lalith Suresh
Department of Computer Science and Engineering
Instituto Superior Técnico
www.lalith.in

--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.



--
Sérgio Vieira
Master program in Computer Networks
State University of Ceará (UECE)

tahere jamalvandy

unread,
Sep 25, 2012, 4:13:06 AM9/25/12
to ns-3-...@googlegroups.com

 I'm new to the ns3 ,My thesis is about delay of vanet-lte.
 I wand to make some simulations about Vanet-lte.
please help me..

But when i ran your code ./waf --run vanet_wave-lte//vanet-highway
the  error message accured
I use ns3.11 maybe was some modification of version. i don't know
Thanks a lot.


در پنجشنبه 7 آوریل 2011، ساعت 17:56:16 (UTC+4:30)، Guillaume Rémy نوشته:

thamarai selvan

unread,
Sep 25, 2012, 5:11:55 AM9/25/12
to ns-3-...@googlegroups.com
hello to every one ..im doing M.E in chennai ..my project area is vanet..anybody know about vanet MOBISIM and ARCGIS tool if u know means please reply me...thank you

thamarai selvan

unread,
Sep 25, 2012, 5:14:44 AM9/25/12
to ns-3-...@googlegroups.com
hai ...i need mobisim software for linux ..and mobisim tutorial ..please help me..

chandra

unread,
Oct 11, 2012, 6:15:00 AM10/11/12
to ns-3-...@googlegroups.com, pasquale...@gmail.com

Hi Pasquale,

I have registered in the project page, but have so far not got a confirmation.
Could you kindly share the source code of this project or any other alternate mirror sites, if any.

Thanks,
Chandra

On Wednesday, March 30, 2011 3:34:17 PM UTC+2, Pasquale Cataldi wrote:
Hello all,

I think you guys might take a look at the open source iTETRIS project (http://www.ict-itetris.eu/), which is based on ns-3.

I don't know the latest iterations with the ns3 people, but part of the things done in iTETRIS could be used in the official ns3 (and maybe already have been). I have no clear idea about the current discussions between the ns3 guys and the iTETRIS consortium, as I did not take part of the interactions that happened between the two projects. However, I guess that some discussion is pending or might be resumed.

The iTETRIS platform might need some additional work, but as it is open source, help is always welcome and appreciated, as much as any suggestion or proposal.

Cheers,
Pasquale

On Wed, Mar 30, 2011 at 1:49 PM, Gremz <g.re...@gmail.com> wrote:
Hello all,

I will of course give you the code, and I will probably upload it on the mercurial repository when I finish it.
I'm quite overbooked this week, then I will send a message with a .tar.gz archive containing my code during this week-end.

@Profentzas: Indeed, Geographic based routing is not implemented in NS-3 source code, you will have to implement it by yourself. But after that you could use the code I will send to test your protocol.

@Rodolfo: I'm also a PhD. student and work on VANETs, I think it could be interesting to exchange ideas and information about our work... What exactly is your thesis on ?

Regards,
Guillaume

--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.



--
Pasquale Cataldi (Ph.D.)

This email may contain material that is confidential and/or privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.
Message has been deleted

tahere jamalvandy

unread,
Dec 9, 2012, 8:54:28 AM12/9/12
to ns-3-...@googlegroups.com
hi 



On Tue, Sep 25, 2012 at 12:44 PM, thamarai selvan <thamarai...@gmail.com> wrote:
hai ...i need mobisim software for linux ..and mobisim tutorial ..please help me..

--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/ns-3-users/-/KtYGVj-4I0YJ.

Muhammad Imran KHAN

unread,
Dec 9, 2012, 12:47:33 PM12/9/12
to ns-3-...@googlegroups.com
Thank you so much Tahere Jamalvandy to share that link. 

I hope it could be helpful. 

arunn...@gmail.com

unread,
Mar 16, 2013, 1:05:22 AM3/16/13
to ns-3-...@googlegroups.com
I am also working on VanetMobiSim, I have used the trace file generated by it and used it on NS-2.35.  Now I am trying to modify AODV routing algorithm so that next node chosen is one the basis of relative velocity. Can you help in this regard. This is really important and urgent...I am little weak in coding. May be you can help with some code.

s13g...@gmail.com

unread,
Aug 12, 2013, 10:32:19 AM8/12/13
to ns-3-...@googlegroups.com
Any body can help me how to make cluster in VANET i already have pseudocode and i don't know how to implement it in NS3 and Eclipse ...

this is the pseudocode
[Xi, Yi] = Get _Pos ( n);
Track the positions of nodes in cluster areas
[Ai,Bi]=Subset(Xi,Yi);
for(k=0;k<count(Ai);k++)
{
Find Movement Speed(N[k])
}
if(average movement of all node speed is slow)
{
Take the cluster size as smaller
}
else
Take the cluster as some larger
end if
function Get_Pos(int n)
for(i=0;i<n;i++)
{
Xi,Yi=FindGps_xy(i)
}
return X,Y

 Plz help me ....

Tanuj Chauhan

unread,
Aug 29, 2013, 2:40:14 AM8/29/13
to ns-3-...@googlegroups.com
any one still working on Vehicular simulation?, I am working on congestion control in Wireless vehicular environment


On Tuesday, March 29, 2011 2:01:44 PM UTC+5:30, profentzas chris wrote:
Hello to all ,

I'm new to the ns3 , I wand to make some simulations about Vanets
(Vehicular Ad hoc Networks)
and I wand some help .  Specifically I wand to make some simulations
in the Mac and Network layer .
If someone can give me some advices about how to create a topology and
run in it on ns3 I will be very grateful!
Also I'm wondering where can I find a list with some modulus
(protocols) what has already implemented on ns3 ?

Guillaume Rémy

unread,
Aug 29, 2013, 3:06:25 AM8/29/13
to ns-3-...@googlegroups.com

Hi, yes we are still working on vanet simulation! In fact, there is a GSoC project currently running about implementing wave in ns-3 : http://www.nsnam.org/wiki/index.php/GSOC2013WAVE_MAC

> --
> 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/jq2XIvqsAso/unsubscribe.
> To unsubscribe from this group and all its topics, 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 http://groups.google.com/group/ns-3-users.
> For more options, visit https://groups.google.com/groups/opt_out.

Tanuj Chauhan

unread,
Aug 29, 2013, 3:18:42 AM8/29/13
to ns-3-...@googlegroups.com
Thats the good news , I am working on Reducing congestion in vehicular broadcast environment.
Do you have any idea or suggestion on this?
Please let me know.

Please provide your gmail ID.

Thanks

Ali J. Ghandour

unread,
Sep 9, 2013, 11:41:03 AM9/9/13
to ns-3-...@googlegroups.com
Hi T Chauhan,

I am active in the domain of congestion control in vehicular environment.
What is your current research focus? which layer are you targeting?
Message has been deleted

Hadded Mohamed

unread,
Jan 21, 2014, 10:24:48 AM1/21/14
to ns-3-...@googlegroups.com
Hi,
I'm PHD student.

Please Any body can help me how to make cluster in VANET by using NS3.  I would be very grateful if you help me

Best regards

Le mardi 29 mars 2011 20:28:44 UTC+1, Guillaume Rémy a écrit :
Hi,

I also used this vanet-highway code, and I added LTE interface to vehicles. The main problem is that it simulates an highway and can't generate other topology. I modified this code to use VanetMobiSim traces. Then, it can simulate any kind of topology.

The advantage of the original vanet-highway is that received messages can have effects on the mobility model (the vehicles can react to received message, brake or accelerate when they receive a warning message for example). Of course, the fact to use VanetMobiSim traces prevents this behavior, but I am mentoring students who are working on implementing a Manhattan model which will be as integrated in the NS-3 code as the original vanet-highway. I don't know what you really need for your simulations, then tell me what you are interested in.

Regards,
Guillaume Rémy

jaipratap singh

unread,
Feb 9, 2014, 3:28:36 AM2/9/14
to ns-3-...@googlegroups.com
Hello 
this message to all.
currently i am orking on VANET Security and routing. So i want to simulate it on NS2/NS3.
if anybody having fully working simulation code then kindly mail it to me.

Lucas Dreger

unread,
Feb 28, 2014, 12:44:31 PM2/28/14
to ns-3-...@googlegroups.com
Hi guys,

Have you ever tried implementing P2P management applications on VANET simulations? Do you know if it is possible to do it on NS-3?
I'm currently working with this subject on my thesis, but I'm a little bit lost..
Anyway.. any help will be appreciated..

Also, does any of you have a simple NS-3 simulation of VANET to share? No matter what mobility trace you are using...

Thanks again
Lucas

Fraser Burnett

unread,
Mar 13, 2015, 8:09:02 PM3/13/15
to ns-3-...@googlegroups.com
Hi, 

I am new to NS2 and NS3 as well as SUMO and MOVE etc. But I am trying to do a comparison of routing protocols for VANET, for example compare throughput and jitter for example. Can anyone point me in the right direction for such things?

Any help would be greatly appreciated.

Thanks

Konstantinos

unread,
Mar 14, 2015, 1:15:16 PM3/14/15
to ns-3-...@googlegroups.com
Hi Fraser,

As this is a generally old thread, please open new for future questions on this subject.
Just a quick answer to your question, look at the example introduced with ns-3.22 vanet-routing-compare in /src/wave/examples/

Gremz

unread,
Mar 29, 2011, 3:28:44 PM3/29/11
to ns-3-...@googlegroups.com

Hanan Al-malki

unread,
Jan 6, 2017, 12:56:24 PM1/6/17
to ns-3-users
Hello .,,
Every body i want some hellper
I want to simulate vanet to descripe how can determine the position of car which not has gps

baddi youssef

unread,
Jan 6, 2017, 1:52:36 PM1/6/17
to ns-3-...@googlegroups.com
hello,

   Many techniques are proposed in literature to determine the position of a node without gps, you can read this paper (https://pdfs.semanticscholar.org/8119/fc9bcc06dc5289d14eb578fd43c62ac9fd46.pdf) which present references of some solutions that you can implement with ns3.
 


--
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+unsubscribe@googlegroups.com.

To post to this group, send email to ns-3-...@googlegroups.com.



--
cordialement
-------------------------------------------------------------------------
                   BADDI YOUSSEF   
                     ENSIAS, RABAT
                www.baddiyoussef.com
                 Tel: +212 672 43 54 15
---------------------------------------------------------------------------

samira.ra...@gmail.com

unread,
Oct 8, 2017, 9:39:50 AM10/8/17
to ns-3-users
I've just started working with NS3 and I want to run Vanet. But I do not know how to code.please help me

Janaka Wijekoon

unread,
Feb 21, 2018, 12:28:07 AM2/21/18
to ns-3-users

Hi,

Could you pls send me the simulation, as I am kind of new to vanet and willing to do several testings.
Particulerly, I am trying to simulate some communication network among eliphants using LoRa transmission.
I recon, to do that simulation, its better to start with VAnets.

Else, falks pls suggest me some other alternative to simulate aforementioned. Sorry tobe bit vague. But still me also at the ground level and doing the feasibilty of simulating that communication network in ns-3.

Appriviate any support.

On Tuesday, March 29, 2011 at 4:42:30 PM UTC+5:30, Sérgio Vieira wrote:
Hi,

There is a paper and implementation about VANET Highway mobility and ns3 at http://www.cs.odu.edu/~vanet/Software/ns3-highway/. Anther issue is about transmission range. I did an simulation using different transmissions range. If you want, I can send it to you.

with regards,
Sérgio Vieira

2011/3/29 Lalith Suresh <suresh...@gmail.com>
Hello,

On Tue, Mar 29, 2011 at 9:31 AM, profentzas chris <paro...@gmail.com> wrote:
Hello to all ,

I'm new to the ns3 , I wand to make some simulations about Vanets
(Vehicular Ad hoc Networks)
and I wand some help .  Specifically I wand to make some simulations
in the Mac and Network layer .
If someone can give me some advices about how to create a topology and
run in it on ns3 I will be very grateful!
Also I'm wondering where can I find a list with some modulus
(protocols) what has already implemented on ns3 ?


For a list of modules, you can see this (modules as per current ns-3-dev): http://code.nsnam.org/ns-3-dev/file/4b68e211540c/src
Thanks in Advance ,
Profentzas Christos
--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.




--
Lalith Suresh
Department of Computer Science and Engineering
Instituto Superior Técnico
www.lalith.in

--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.



--

anju km

unread,
Mar 24, 2018, 5:16:35 AM3/24/18
to ns-3-users
Hai Guillaume Rémy,
I use ns3.27,
what are the changes needed to work this code in ns3.27?


pls reply fast..

On Thursday, April 7, 2011 at 4:52:16 AM UTC-8, Guillaume Rémy wrote:
All right, sorry again, I usually respects the deadlines I give, but I had unexpected work to do and I didn't had time to make a usable package with the NS-3 vanet sources. Here is the first code with IPv4. I will post the code for IPv6 in the following hour... 

I put doxygen documentation along with the code.

To use it, you have to extract it in the root NS-3 directory, and modify the wscript (of the NS-3 root directory): add the line "bld.add_subdirs('vanet_wave-lte')" after the line "bld.add_subdirs('utils')". And then you can run "./waf --run vanet_wave-lte"

manish...@gmail.com

unread,
Apr 25, 2018, 7:49:08 AM4/25/18
to ns-3-users

Hai Guillaume Rémy,
I am using ns3.26,
what are the changes required to work this code in ns3.26?
please reply asap

Malik Saad

unread,
Feb 18, 2020, 8:16:04 PM2/18/20
to ns-3-users
Hi i am trying to simulate Vanetsin ns3 but failed. I have tried many examples such as Vanet Highway mobility but some header files and modules are not found in the current version such as ( no common module found) some modules does not have member function. So its been obsolete. Please help for the simulation of Vanets in ns3.27 and later. 

Malik Saad

unread,
Feb 19, 2020, 9:02:28 PM2/19/20
to ns-3-users

Hi Sergio Vieria, Hope you are fine. Since its been long time to your post. But in my case i found it now because i am wondering about vanet simulation. Can you please help me in this regard. I have tried many examples from the internet but some modules are not available in the current version of ns3.27. I would be very grateful if you guide me. Thanks

On Tuesday, March 29, 2011 at 8:12:30 PM UTC+9, Sérgio Vieira wrote:
Hi,

There is a paper and implementation about VANET Highway mobility and ns3 at http://www.cs.odu.edu/~vanet/Software/ns3-highway/. Anther issue is about transmission range. I did an simulation using different transmissions range. If you want, I can send it to you.

with regards,
Sérgio Vieira

2011/3/29 Lalith Suresh <suresh...@gmail.com>
Hello,

On Tue, Mar 29, 2011 at 9:31 AM, profentzas chris <paro...@gmail.com> wrote:
Hello to all ,

I'm new to the ns3 , I wand to make some simulations about Vanets
(Vehicular Ad hoc Networks)
and I wand some help .  Specifically I wand to make some simulations
in the Mac and Network layer .
If someone can give me some advices about how to create a topology and
run in it on ns3 I will be very grateful!
Also I'm wondering where can I find a list with some modulus
(protocols) what has already implemented on ns3 ?


For a list of modules, you can see this (modules as per current ns-3-dev): http://code.nsnam.org/ns-3-dev/file/4b68e211540c/src

Thanks in Advance ,
Profentzas Christos

--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.




--
Lalith Suresh
Department of Computer Science and Engineering
Instituto Superior Técnico
www.lalith.in

--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.
Message has been deleted

Malik Saad

unread,
Apr 3, 2020, 1:53:51 AM4/3/20
to ns-3-...@googlegroups.com
I am also looking for the simulation of Vanets in ns3 current version, but did not found help yet.

On Fri, Apr 3, 2020 at 1:47 AM Alemu Woldie <woldie...@gmail.com> wrote:
Hello everyone,

I'm unable to run this program on ns3.30.

Any idea, any support.

And if you have sample vanet clustering, please share me.

@Gremez

On Thursday, April 7, 2011 at 4:26:16 PM UTC+3, Gremz wrote:
Ok I added an #include in Vehicle.cc because it won't compile instead, and I fixed the position of the eNodeB.

Here are the two version (IPv4 and IPv6)

If you have question you can also speak with me on the #ns-3 IRC channel (freenode server). My nickname is Gremz

--
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/0e9e8823-e434-4c99-998a-f34e3421484c%40googlegroups.com.

Alejandro Correa Vila

unread,
Apr 22, 2020, 4:01:53 AM4/22/20
to ns-3-users
Newer versions of NS-3 no longer use  "ns3/common-module.h"  "ns3/node-module.h" and  "ns3/helper-module.h" you can try to substitute them by "ns3/network-module.h". You will probably also need to substitute the  "ns3/contrib-module.h" by "ns3/config-store-module.h". Additionally the random number generators have change since version 3.8 to 3.30 so you will need to update the generation of random variables in the code from the old "ns3/random-variable.h" to the new  "ns3/random-variable-stream.h". This implies the modification of not only the includes but also the way of how the random variables are created and employed.
Message has been deleted

Umair Munir

unread,
Sep 2, 2020, 7:42:15 AM9/2/20
to ns-3-users
Hi, the same error I am facing.
do you find any solution for this? Please also help me in resolving this error.

NaolyTech

unread,
Sep 2, 2020, 7:57:43 AM9/2/20
to ns-3-...@googlegroups.com
Dear Alemu, Is the 'vanet-highway module' worked for you ? ? ?  I also faced the same problem now. 

Naol G. 

On Thu, Apr 23, 2020 at 1:05 PM Alemu Woldie <woldie...@gmail.com> wrote:
Thank you, @Alejandro Correa Vila.

--
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/jq2XIvqsAso/unsubscribe.
To unsubscribe from this group and all its topics, 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/c2a90d25-5ca5-4692-9710-ae1204f2b362%40googlegroups.com.


--
With Regards.
Alemu Woldie
Wolkite University
Lecturer, Department of Software Engineering
Phone #: +251912786015

--
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.

Hareesh K S (MT19AIE238)

unread,
Oct 6, 2021, 11:39:57 AM10/6/21
to ns-3-users
Hi,
Were you able to get any references for this?

Regards,
Hareesh
On Monday, August 12, 2013 at 8:02:19 PM UTC+5:30 s13g...@gmail.com wrote:
Any body can help me how to make cluster in VANET i already have pseudocode and i don't know how to implement it in NS3 and Eclipse ...

this is the pseudocode
[Xi, Yi] = Get _Pos ( n);
Track the positions of nodes in cluster areas
[Ai,Bi]=Subset(Xi,Yi);
for(k=0;k<count(Ai);k++)
{
Find Movement Speed(N[k])
}
if(average movement of all node speed is slow)
{
Take the cluster size as smaller
}
else
Take the cluster as some larger
end if
function Get_Pos(int n)
for(i=0;i<n;i++)
{
Xi,Yi=FindGps_xy(i)
}
return X,Y

 Plz help me ....

Charles Pandian

unread,
Oct 6, 2021, 2:16:19 PM10/6/21
to ns-3-...@googlegroups.com
To do a realistic VANET simulation, we will need a multichannel DSRC (dedicated short-range communication) protocol stack implementation.
A "multichannel, time-slot based multiband/priority-based/scheduled message/packet transmission" of DSRC mac implementation is technically a complex one(Read RFCs and White papers of DSRC to understand it fully).

As far as I know, up the resent version ns-3.35, ns-3 doesn't have a full DSRC stack implementation. I mean, DSRC protocol stack that was practically available in Cars/vehicles is not at all available in any simulation ( omnet++ simulator has DSRC-enabled wireless communication capability - but I am not sure whether it is a multichannel DSRC or not)

No one is implemented such DSRC protocol stack for ns-3. Anyway, you are free to implement such a one.

But we can do some elementary VANET simulations using the WAVE application implementation of ns-3 along with  802.11p mac (this mac is somewhat fit into VANET standards). I mean, we can do some basic VANET short messaging-based communication under ns-3 using WAVE.

The following post explains the way of doing some primitive VANET simulations on ns-3 and visualization with NetAnim. (With this kind of simple code, you can incorporate 802.11pmac and do some VANET messaging using WAVE.)

VANET Mobility Trace file Generation using Mobisim for ns-2 and ns-3 Simulations

Simulating Freeway Mobility Model under ns-3 Using Trace Files Generated by Mobisim

Even it is possible to simulate a primitive level  3D VANET scenario using NetSimulyzer. The following posts explain the way of installing NetSimulyze ns-3 add-on module and NetSimulyzer 3D visualization tool:

Installing NetSimulyzer 3D Visualization Support Add-on Module in ns-3 under Debian/Ubuntu
Installing NetSimulyzer 3D Visualization Tool under Debian/Ubuntu

The above-mentioned posts are only for doing some basic VANET simulations. Detailed, realistic simulations may need DSRC protocol stack which is not available under ns-3.

Charles Pandian,



--
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.

saba riaz

unread,
Oct 18, 2022, 9:22:02 AM10/18/22
to ns-3-users
i need helpin vehicles mobility
Reply all
Reply to author
Forward
0 new messages