Hello, I am trying to implement multiple wireless interfaces on same node (each with same or different different antenna) in ns-2.33. here I summarize the resources I found and my approaches and I need some advices: 1. "TENS" extension based on ns-2.1b9http://www.cse.iitk.ac.in/users/braman/tens/#Instructions_for_Installation This extension provide all necessary files (for ns-2.1b9 though) and example scripts to add multiple interfaces on one node, however, I could not find detailed information about changes I need to make, especially the modified tcl/c++ code. Although the ChangeLog is available, I couldn't figure out which exactly c++ and tcl files have been changed to enable multi-interface, to be specific: By searching keyword "forthesakeofMI", I found shadowing.cc, tworayground.cc, propagation.cc, ns-lib.tcl, ns-mobilenode.tcl are involved, so I replaced these files accordingly in ns-2.33 - but it didn't work ("set netif_ 2" does not take effect so wireless-phy complain! s abt netif_(1) index), possibly due to some changes made in lower levels in new ns. So if anyone knows how to use TENS in ns-2.33 please let me know and I will greatly appreaciate. 2. ns2 extension based on ns-2.29 http://www.cse.msu.edu/~wangbo1/ns2/nshowto8.html I have not tried this approach on 2.33 since I don't know wether there is any changes from 2.29 to 2.33 will affect the function in this extension. 3. "Adding multiple interface support in ns2" by Ramon and Campo http://personales.unican.es/aguerocr/files/ucMultiIfacesSupport.pdf This doc provides very detailed instruction, it is developed based on ns-2.30, but I am not sure if anyone has successfully implement it in ns-2.33. I understand different extensions has different purposes. My goal is to has each node with multiple interface, each has its own MAC/LL layer etc and evaulate freq/spatial reuse. I am currectly trying to apply Ramon's method in a file-by-file manner in ns-2.33, meaning I will compare each ! involved file in ns-2.30 in their doc and ensure it won't cause proble m in ns-2.33. I am sure someone else is working on the similar problem in ns-2.33. But obviously it's non-trivial to make extension based on old version of ns in ns-2.33. So it will be great if you can share some thoughts here. Thanks! Tony
Stay up to date on your PC, the Web, and your mobile phone with Windows Live. See Now _________________________________________________________________ Get more out of the Web. Learn 10 hidden secrets of Windows Live. http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008
