Re: [ns] Multi-interface support howto

2011-09-13 Thread mudy
Hi sir I am just want to ask how i can create a node with two interfaces one to connect to UMTS network and another to connect to IEEE802.11. thanks

[ns] Multi-interface support howto, by Ramon Aguero---really need help!!!

2008-06-12 Thread 刘宇婷
Hello, I am trying to modify NS-2.29 to support multiple interface according to Adding Multiple Interface Support in NS-2 by Ramon Aguero, http://personales.unican.es/aguerocr. For routing agent, I choose AODV like some people. I encountered some problems and really need help. 1.I have two

[ns] Multi-interface support howto, by Ramon Aguero---really need help!!!

2008-06-12 Thread 刘宇婷
Hello, I am trying to modify NS-2.29 to support multiple interface according to Adding Multiple Interface Support in NS-2 by Ramon Aguero, http://personales.unican.es/aguerocr. For routing agent, I choose AODV like some people. I encountered some problems and really need help. 1.I have two

[ns] Multi-interface support howto

2007-03-06 Thread Raja Zahilah Raja Mohd. Radzi
Hi there, Is the coding working for 802_15_4 (LR-WPAN)?

Re: [ns] Multi-interface support howto

2007-02-26 Thread Tim Elschner
hi, i guess there is something wrong on ns-lib.tcl for some reason chan is set as a usual variable. if you follow the modifications of the document correctly, chan is used as an array in case of mutliple interfaces. the problem might hide somewhere in here: if {[info exists

Re: [ns] Multi-interface support howto

2007-02-21 Thread Ramon Aguero
Hello Laurent, Nguyen, all, Thanks for the discussion. In my opinion, it's sort of difficult to compare both approaches. It seems that the work that Laurent has done is quite much more comprehensive and detailed, since it uses a different approach from what the current ns-2 architecture uses

Re: [ns] Multi-interface support howto, Ramon Submission

2007-02-19 Thread Christos Gavos
In fact is not the enable-debug itself but -Wall in yout CCOPT CCOPT = -Wall On 2/20/07, Christos Gavos [EMAIL PROTECTED] wrote: I believe you get these warnings because you have configure with --enable-debug. If you try to reconfigure without debug support these should go away. hope

Re: [ns] Multi-interface support howto

2007-02-16 Thread Laurent Paquereau
Nguyen, I try in this post to sum up and explicit the main differences between the approach proposed by R.Aguero et al. in their how-to and ours with the MW-Node. I hope it helps you choosing what better fits your needs. 1) R.Aguero et al., Adding Multiple Interface Support in NS-2

Re: [ns] Multi-interface support howto, Ramon Submission

2007-02-13 Thread Ramon Aguero
Hello, Ok, I'm glad that you solved the problems related to the extension. I don't really know how to address these warnings or whether they are relevant (at least the virtual destructor one should not). Cheers, Ramón At 13:25 13/02/2007, Nguyen Lan wrote: Hello Ramon et al, My problem is

Re: [ns] Multi-interface support howto, Ramon Submission

2007-02-13 Thread Nguyen Lan
Hello Ramon et al, My problem is that I declared nIfaces, targetlist and ifqueuelist in the aodv.h file but out of the class declaration. Now I can recompile ns but I still had many many warnings like that /usr/local/ns/mulf/ns-allinone-2.27/tclcl-1.15/tracedvar.h:49: warning: ‘class

Re: [ns] Multi-interface support howto

2007-02-12 Thread Tim Elschner
hi ramon, file: ns-mobilenode.tcl function: Node/MobileNode instproc add-target-rtagent here is a bigger part of the code (see the lines marked with ;#tim): if { [Simulator set RouterTrace_] == ON } { # # Send Target # if {$newapi != } {;# set sndT [$self mobility-trace Send RTR] } else { set

Re: [ns] Multi-interface support howto, Ramon Submission

2007-02-10 Thread Ramon Aguero
Hello, Why have you declared nIfaces, targetlist and ifqueuelist in common/packet.h? Cheers, Ramón At 07:34 06/02/2007, Nguyen Lan wrote: Hi Ramon and all, After following the document when I recompile ns I got this error. Maybe I was wrong some where

Re: [ns] Multi-interface support howto

2007-02-10 Thread Ramon Aguero
Hello Tim, I've not personally used the NoAH extension myself, so I cannot completely figure out which would be your problem. Nevertheless, why do you use the prev_hop? I don't see the difference here between NoAH and any other routing protocol. If you have received a message from a base

Re: [ns] Multi-interface support howto

2007-02-10 Thread Ramon Aguero
Hi Tim, I should have read this message before, sorry for the spam. Can you clarify where did you add these two lines? Cheers, Ramón At 10:49 09/02/2007, Tim Elschner wrote: i got the wirless tracing back to business: replaced: set sndT [cmu-trace Send RTR $self] (see below) with:

Re: [ns] Multi-interface support howto, Ramon Submission

2007-02-10 Thread Nguyen Lan
Hello, I have not declared them in common/packet.h. The only place I put them in is aodv.h (as in the document). I think this problem came from other place and I should read the document carefully but now I don't know yet. Thank you very much. Cheers, Nguyen Ramon Aguero wrote: Hello,

Re: [ns] Multi-interface support howto

2007-02-09 Thread Tim Elschner
i got the wirless tracing back to business: replaced: set sndT [cmu-trace Send RTR $self] (see below) with: set sndT [$self mobility-trace Send RTR] $sndT namattach $namfp Tim Elschner schrieb: i found out that a missing line in ns-mobilenode.tcl caused that strange behaviour.

Re: [ns] Multi-interface support howto

2007-02-08 Thread Tim Elschner
i found out that a missing line in ns-mobilenode.tcl caused that strange behaviour. since i correctly added set sndT [cmu-trace Send RTR $self] the traffic seems to be fine, except that the wireless packets don't appear in NAM anymore. -tim Tim Elschner schrieb: hi, i'm trying to user

Re: [ns] Multi-interface support howto, by Ramon Aguero

2007-02-05 Thread Ramon Aguero
Hello Nguyen, (see inline) At 02:11 30/01/2007, Nguyen Lan wrote: Hi Razmon, I have a question related to the multi-interface support in ns2 - In Listing 4.4: hdr-iface() = addr(), addr is index of the interface that received this packet. But how can I get that value (which variant or

Re: [ns] Multi-interface support howto, Ramon Submission

2007-02-05 Thread Ramon Aguero
Hi Anthony, thanks for your feedback; I think that your proposal is perfectly fine. I've sent an email previously, about the same changes. I think that the problem was that in the first version of the document we did not highlight a couple of lines (the ones that you've modified); in the

Re: [ns] Multi-interface support howto, Ramon Submission

2007-02-05 Thread Nguyen Lan
Hi Ramon and all, After following the document when I recompile ns I got this error. Maybe I was wrong some where aodv/aodv.o:/usr/local/ns/mulf/ns-allinone-2.27/tclcl-1.15/tclcl.h:60: multiple definition of `nIfaces' aodv/aodv_logs.o:./common/packet.h:413: first defined here

[ns] Multi-interface support howto

2007-02-02 Thread Laurent Paquereau
Ramón, I have been reading your how-to and as your statements and concerns are quite similar to a subset of those we presented last year in [1], you might find interesting reading this paper. [1] Laurent Paquereau and Bjarne E. Helvik, A Module-based Wireless Node for ns-2, in Proceedings

Re: [ns] Multi-interface support howto

2007-02-02 Thread Tim Elschner
hi, i'm trying to user mutliple interfaces with the adhoc routing agent noah - which stands for NO AdHoc routing. i use only one mobile node, and some basestations with foreign agents, an home agent and a corresponding node. as noah doesn't need a routing table, i use a map for storing the

Re: [ns] Multi-interface support howto

2007-01-29 Thread Ramon Aguero
Hello, I already gave an answer regarding this (especially on Listings 5.3, 5.4 and 5.5. - Regarding Listing 5.1: you have to add that in the definition of the routing agent (i.e. the aodv.h file). - Regarding Listing 5.2: you have to modify the command method of the routing agent, which is

Re: [ns] Multi-interface support howto

2007-01-29 Thread Ramon Aguero
Hi, The mail I was referring to, when I gave the is: http://mailman.isi.edu/pipermail/ns-users/2007-January/058433.html Cheers, Ramón At 12:00 29/01/2007, Ramon Aguero wrote: Hello, I already gave an answer regarding this (especially on Listings 5.3, 5.4 and 5.5. - Regarding Listing 5.1:

Re: [ns] Multi-interface support howto, by Ramon Aguero

2007-01-29 Thread Nguyen Lan
Hi Razmon, I have a question related to the multi-interface support in ns2 - In Listing 4.4: hdr-iface() = addr(), addr is index of the interface that received this packet. But how can I get that value (which variant or function) - And in struct hdr_cmn (packet.h) there is a field name iface_

[ns] Multi-interface support howto, by Ramon Aguero

2007-01-18 Thread Shahatha
Hello, did any one implement the extension of ns-2 for multi-channel from Ramon Aguero at: http://personales.unican.es/aguerocrhttp://personales.unican.es/aguerocr many thanks for Ramon Aguero for his Dokument. i have some problems at Chapter 5, where to add the listing

Re: [ns] Multi-interface support howto

2007-01-18 Thread Ramon Aguero
Hello Shahatha, In addition to the answers we have given before, see some more answers inline... Cheers, Ramón At 12:00 17/01/2007, you wrote: chapter 4 4.2 Listing 4.1 the variable MAX_CHANNELS i have declared it like a follow in mobilenode.h : #define MAX_CHANNELS XXX but which value? or

Re: [ns] Multi-interface support howto, by Ramon Aguero

2007-01-18 Thread Ramon Aguero
Hi Shahatha, As we say in the report we didn't use aodv, so we really appreciate that you work on this, it would be good trying to extend the report with your own experience on AODV. We have been doing a quick overlook of the aodv code (which we have not personally used that much) and this

Re: [ns] Multi-interface support howto

2007-01-18 Thread Tim Elschner
great job as far as i can see. anyway i ran into problems with ns-mobilenode.tcl: in Node/MobileNode instproc reset i couldn't find any differences to the original. i got an error, that arptable_ is an array. so i changed every arptable_ into arptable. now ns2 complains about the missing variable

Re: [ns] Multi-interface support howto

2007-01-18 Thread Ramon Aguero
Hello Tim, thanks for pinpointing the error! Somehow I made a mistake when copying and pasting the code to the file. The correct procedure would be the following one (note that the arptable_ is now within the 'for' cycle). In this sense, I don't think you need to change all arptable_ into

Re: [ns] Multi-interface support howto

2007-01-16 Thread Pedro Vale Estrela
, 15 de Janeiro de 2007 10:12 To: ns-users@ISI.EDU Cc: [EMAIL PROTECTED] Subject: [ns] Multi-interface support howto Dear all, We have seen a lot of requests about the possibility to extend the NS-2 framework to support multiple interfaces. Although there is some information available

[ns] Multi-interface support howto

2007-01-15 Thread Ramon Aguero
Dear all, We have seen a lot of requests about the possibility to extend the NS-2 framework to support multiple interfaces. Although there is some information available, according to the messages that have been sent to this list, it seems that a more thorough description may be required. In