Re: [ns] multichannel interface

2011-01-10 Thread Dhara Buch

Hello,

I want to user multiple channel support in ns-2.33. If a node has two 
interfaces, is there any way by which we can set the channel no with which it 
will start communication? i.e. The node should receive data from one channel 
and send it through other one. How to do this?

Thank you,

Dhara Buch



  


Re: [ns] multichannel interface

2011-01-10 Thread Mubashir Rehmani

Hello,

This could be easily done. Please take a look at the aodv.cc file
(sendHello()) function of the CRCN patch, in which a loop is declared to
send the packets on multiple interfaces. But you need to specifiy the
channel in the packet header, so that the mac layer transmit on that
channel. You also need to specify the channel at the receiver end (i mean,
some how receiver should know at which channel it has to tune itself to
receive the packet). For this, you can use the strategy packets sent by the
sender to the receiver, so that receiver tune itself in future for that
particular channel for reception.

Thanks
Regards
Mubashir Husain Rehmani

On 11 January 2011 07:43, Dhara Buch dharab...@yahoo.com wrote:


 Hello,

 I want to user multiple channel support in ns-2.33. If a node has two
 interfaces, is there any way by which we can set the channel no with which
 it will start communication? i.e. The node should receive data from one
 channel and send it through other one. How to do this?

 Thank you,

 Dhara Buch







-- 
Mubashir Husain Rehmani