[ns] please help: problem: str2addr:Address 1108533167 outside
range of address field length 2048
haldar at ISI.EDU
Tue Apr 5 15:37:01 PDT 2005
This error is raised when (while using hierarchical rtg) the address used
is larger than the size of the address field. Note hier addresses use
different number of bits to define the node and port address fields.
The function that checks this is str2addr. see ~ns/routing/address.cc
and tcl/lib/ns-address.tcl for details.
It seems like your script might be doing something strange. Iwould
step thru the debugger for a quick solution.
On Tue, 5 Apr 2005, Tripathi, Abhishek (UMR-Student) wrote:
> I am working on ns2.27.I am using wireless2.tcl given in Marc
> Greis. I have written a new routing agent. I got some directions from
> "Implementing a New Manet Unicast Routing Protocol in NS2" by Francisco
> J. Ros, Pedro M. Ruiz as suggested in tutorial. I am facing a problem
> when I am running wireless2.tcl
> script: I get this message
> str2addr:Address 1108533167 outside range of address field length 2048
> but this TCL script wireless2.tcl is working fine if I am running this
> script with some other routing agent like AODV or DSDV. Can anybody
> suggest me what could be the reasons? If someone can send me a reference
> TCL script for wired-cum-wireless simulations that will be great.
> Abhishek Tripathi
> Graduate Teaching Assistant,
> Dept. of Computer Science
> University of Missouri-Rolla
Be true to your work, your word, and your friend.
More information about the Ns-users