Dual interface in routing protocol

497 views
Skip to first unread message

ns3user

unread,
Aug 19, 2016, 1:52:17 AM8/19/16
to ns-3-users
Hi all,

I read somewhere that routing protocols like aodv, dsr works only for one interface. I want to change aodv to work for dual interface.one for control channel and another 6 for data. How can I extend routing protocol to work for two interfaces. WAVE module works for single radio, multiple channels. I am also trying to change wave module to work for dual interface.

Thanks in advance

Tommaso Pecorella

unread,
Aug 19, 2016, 8:08:10 PM8/19/16
to ns-3-users
Hi,

perhaps you're misunderstanding what it means having (or using) two interfaces.

It is true that some protocols (i don't remember the list) are only able to work with one IP interface, but this means that they are using only one IP address, and that they will not consider all the other ones (if present).
Now, if a node have more than one NetDevice, it will have either more than one IP interface, or it will have one IP interface masquerading all the other ones (like in the Bridge case). MeshNetDevice works like this.

About using one "interface" for signalling and another one for data communication, the problem (and here is your misunderstanding) is that you have to define what do you mean by interface. If you mean that you want to have 2 NetDevices, both available at IP level, and you will use one for sending data and one for the control flows... well, there's no problem, but it won't be a simple change for any of the existing protocols.
Perhaps it is possible, but I don't have any suggestion other than to study in detail how a protocol works and its implementation.

T.
Message has been deleted

reena kasana

unread,
Aug 19, 2016, 11:04:14 PM8/19/16
to ns-3-...@googlegroups.com
Thanks T,

"dual radio interfaces, considered by ETSI, have one radio tuned to the CCH and other radio tunable to one of the available service channel"
What does dual radio interface mean in the above statement in ns3? I am really confused. I thought, i have to install two net devices. Please explain.

Thanks in advance

On 20 August 2016 at 08:22, reena kasana <reena...@gmail.com> wrote:
Thanks T,

"dual radio interfaces, considered by ETSI, have one radio tuned to the CCH and other radio tunable to one of the available service channel"
What does dual radio interface mean in the above statement? Please explain.

Thanks in advance.

--
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/9Wr1bjFz38s/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.


Madan Pande

unread,
Aug 20, 2016, 1:43:18 AM8/20/16
to ns-3-...@googlegroups.com

Hi,

           Your problems definition is not clear...

         Allthesame, IMHO, one case where control and data plane splits have been used to achieve better dual RF connectivity is LTE Rel.12. implementation derivatives. [A Google or IEEE digital lib search will throw up a few papers...]

                       However, such implementations are not easy and require modifying code at PHY and MAC levels

I hope it helps...

What Guru Tomasso has said is so very true.... (As Always)

Regards,

madan

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.

reena kasana

unread,
Aug 20, 2016, 2:08:54 AM8/20/16
to ns-3-...@googlegroups.com
Thanks Madan, 

I might sound silly.

The following statement id from one of the paper:

each node has two interfaces (transreceiver): the first (transreceiver1) is always tuned to the control channel (channel 172) for safety message broadcasts and the second one (transreceiver2), which can be tuned to any of the six service channels.

I have following questions:

1. I want a node with dual radio. I don't know how to implement it in ns3. 

2. Do i have to modify AODV(i am using this protocol) so that it can work with dual radio interface.

I hope my problem will be more clear now. 


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.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.

reena kasana

unread,
Aug 20, 2016, 2:19:31 AM8/20/16
to ns-3-...@googlegroups.com
I have attached the research paper also. I might not be making myself clear.
07279130.pdf

Madan Pande

unread,
Aug 21, 2016, 12:08:15 AM8/21/16
to ns-3-...@googlegroups.com

Hi,

           I have not worked with AODV, the goto guy for AODV is Dr. Konstantinos for it.

2. To do a project or to simulate a scenario using NS-3, you definitely need to dirty your hands with the tutorials, examples and have a good working knowledge of C++... [In this task you can go through some great slide shows by Dr. K, which are on his personal webpage]...Having gone past that you should be able to define the scenario script and choose the modules to use, the net devices to use, the protocol stacks to add... you could do some derivative script writing, by looking at the examples you worked with...

To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.

reena kasana

unread,
Aug 21, 2016, 12:25:49 AM8/21/16
to ns-3-...@googlegroups.com
Thanks Madan for replying,

I have already gone through tutorial, manual and models of NS3. I have some basic understanding. Also, i am  reading these again, thinking that i might have missed something.
I have to work on a project related to multi channel switching with VANET nodes having dual radio interface.   As Dr. T correctly mentioned in his reply, i want two channels (CCH and one SCH) associated with a VANET node, to be active at any time. I know, i have to change routing protocol to work with dual interface.  I really don't know how to proceed.

 

reena kasana

unread,
Aug 21, 2016, 12:28:19 AM8/21/16
to ns-3-...@googlegroups.com
Also, i am looking forward to reply from Dr. K. I know he must have done some work related to my work. 

Tommaso Pecorella

unread,
Aug 21, 2016, 12:04:47 PM8/21/16
to ns-3-users
You're trying to cook too much meat at the same time (i.e., to do too many things together). Split your problem.

1) Study the AODV module and learn how it works - in detail.
2) Learn how to access a NetDevice attributes and to change its parameters (like the channel).
3) Learn how to send messages through a specific NetDevice (it can be done in many ways).
and themes important ones...
4) Measure your time and efforts, what you're trying to do isn't a matter of weeks, and
5) Do not try to replicate the paper's results - unless you have the original code your results will be different.

Cheers,

T.
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.
--
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.
--
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/9Wr1bjFz38s/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.
--
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.

--
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/9Wr1bjFz38s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages