I have a proc in my page that does this in a very easy way! http://tagus.inesc-id.pt/~pestrela/ns2/ns2_haddr_tips.html
Pedro vale estrela > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Sérgio Alexandre > Sent: quinta-feira, 7 de Junho de 2007 11:16 > To: pankaj kumar > Cc: ns-users@ISI.EDU > Subject: Re: [ns] hierarchical addressing and number of nodes > > > if you : > > # Set NS Addressing > AddrParams set domain_num_ 9 > AddrParams set cluster_num_ {9 9 9 9 9 9 9 9 9} > AddrParams set nodes_num_ {9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 etc..} > > p. example you will have no problema running your simulation. > Just raise the numbers. > > > > > pankaj kumar wrote: > > Hi All > > i have following hierarchical addressing > > > > # Set NS Addressing > > AddrParams set domain_num_ 2 > > AddrParams set cluster_num_ {1 5} > > AddrParams set nodes_num_ {1 1 3 1 1 1} > > > > when i am trying to add new a node to the topology its giving > segmentation > > fault without changing above NS addressing. > > > > How i can overcome by this this problem ( or i have to change into #Set > NS > > Addressing??? ) > > > > thanks and regards, > > pankaj > > > >