Does NS-3 support Multi-channel Multi-interface Simulation?

2,222 views
Skip to first unread message

Xiaozhou Li

unread,
Aug 23, 2009, 11:30:41 PM8/23/09
to ns-3-users
Hi,

My current project requires multi-channel MAC and multi-interface simulation.

Does NS-3 support Multi-channel Multi-interface Simulation? Or can
anyone give me some instructions on how to implement these features?

Thanks a lot!

Best regards,
Xiaozhou

Mathieu Lacage

unread,
Sep 15, 2009, 4:45:20 AM9/15/09
to ns-3-...@googlegroups.com
On Mon, Aug 24, 2009 at 5:30 AM, Xiaozhou Li <xiaozh...@gmail.com> wrote:

> My current project requires multi-channel MAC and multi-interface simulation.
>
> Does NS-3 support Multi-channel Multi-interface Simulation?  Or can
> anyone give me some instructions on how to implement these features?

yes, ns-3 supports this. Did you read the ns-3 tutorial ?
http://www.nsnam.org/tutorials.html

Mathieu
--
Mathieu Lacage <mathieu...@gmail.com>

Junling Bu

unread,
Sep 9, 2013, 9:40:10 AM9/9/13
to ns-3-...@googlegroups.com
Hi Alex,

Actually that is what I am working on now in GSoC project for 1609.4 and 802.11p.
My current implementation uses a special netdevice with single mac object and single phy object. So in one word, this device named WaveNetDevice can only in one channel. To support multiple channel operation named alternating access, I implement  WaveEdcaTxopN class which inherits from EdcaTxopN of wifi module, this class will use multiple internal mac queues, when channel switchs, current queue will not be flushed, but to switch another mac queue for next channel. So the packets will not be dropped by channel switch operation,
If you are interested in my work, you can see this wiki page https://www.nsnam.org/wiki/index.php/GSOC2013WAVE_MAC.
My code is still under work, if you want to use immediately, you can also use other simulations which can find in reference of my wiki page.

Junling

在 2013年9月9日星期一UTC+8下午9时22分57秒,Alexandre Ligo写道:
well, I read the tutorial several times and it is not obvious to me how to implement a multichannel 802.11p link. Since the 802.11p standard defines 7 x 10MHz channels that can be used by a mobile node or AP, should I create 7 phy in each node and 7 separate Wifichannels? If this is the case, does a node's mac switches between the 7 phy's in a packet or application basis?

I appreciate if anyone who went through that with any flavor of 802.11 could give a hint. Thanks,

Alex

Alexandre Ligo

unread,
Sep 9, 2013, 6:42:30 PM9/9/13
to ns-3-...@googlegroups.com
hey Junling,

That's a really useful project, congratulations!
I've already implemented a somewhat large model in ns-3, so using another simulator is not really an option for me. On the other hand, I am more interested on overall network capacity (with multichannel) than detailed phy/mac performance, so I think your model will be quite useful for me even if it is not yet completed :)

Anyway, are you planning to finish by the end of this September, as it is outlined in your wiki?

Thank you very much,
Alex

--
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/8_CqgJgxehI/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.


Junling Bu

unread,
Sep 10, 2013, 9:38:49 AM9/10/13
to ns-3-...@googlegroups.com
Hi Alex,

Actually I have completed my model, it can work but  seems fragile and my mentor Tom suggested me more work to do before it can be merged. So you can use my code from my github https://github.com/linlinjava/ns-3-dev-git, and I have implemented a simulation named wave-multiple-channel to study the impact of WAVE 1609.4 , you can try it. And don't forget to give me any comments even you can tell somewhere is not good. I am glad to make my code better.

在 2013年9月10日星期二UTC+8上午6时42分30秒,Alexandre Ligo写道:

Scapegoat

unread,
Dec 1, 2014, 10:34:57 PM12/1/14
to ns-3-...@googlegroups.com, xiaozh...@gmail.com

Hi,Li.I also study WLAN with multi-interface multi-channel recently.However i have some problems at simulation by NS3 simulation tool.So,i hope you can give me a helping hand.
Thank you very much!
     Best Regards
       Your sincerely
           Su
在 2009年8月24日星期一UTC+8上午11时30分41秒,Xiaozhou Li写道:

Alexandre Ligo

unread,
Sep 9, 2013, 9:22:57 AM9/9/13
to ns-3-...@googlegroups.com
well, I read the tutorial several times and it is not obvious to me how to implement a multichannel 802.11p link. Since the 802.11p standard defines 7 x 10MHz channels that can be used by a mobile node or AP, should I create 7 phy in each node and 7 separate Wifichannels? If this is the case, does a node's mac switches between the 7 phy's in a packet or application basis?

I appreciate if anyone who went through that with any flavor of 802.11 could give a hint. Thanks,

Alex

On Tuesday, September 15, 2009 4:45:20 AM UTC-4, Mathieu Lacage wrote:
Message has been deleted

arthur seokwon choi

unread,
Mar 23, 2016, 7:37:55 AM3/23/16
to ns-3-users, xiaozh...@gmail.com

Hi,

 

I'm new to the NS3. I'm trying to install different channel for each Wi-Fi ad hoc channel. 

I have 2 nodes used by Wi-Fi ad hoc. N1 and N2 connection has 2 different channel. Then n1 node transmit data through two channels(channel number 1 and 11)

The purpose of this implementation is that it reduce the packet delay. I already install two Wi-Fi net-device(Wi-Fi module) in none node container.

However, I must implement multi channel in one Wi-Fi physical layer not using two Wi-Fi modules.

How to implement multiple channels in one Wi-Fi physical layer?
 
A simple diagram.
 
N1=========  N2       

It transmit packets through multiple channel (channel number 1 and 11)   

 

I attached my code that use two Wi-Fi module in one node container. Please see my code. 


2009년 8월 24일 월요일 오후 12시 30분 41초 UTC+9, Xiaozhou Li 님의 말:
multiple_channel.cc
Reply all
Reply to author
Forward
0 new messages