Hi ns users
i got one problem i.e. how to store data(file) in
nodes.please help me.i got this problem since last 1 month.any one can reply
me.i am using ns-2 for windows tool.
On Wed, Dec 15, 2010 at 1:17 AM, jasmine Nforh Paula wrote:
>
> Thanks I solve the problem but I got this other problem. Not very good
> in program, I will appreciate a code that I can add in the
> tcl/lib/ns-lib.tcl script that has the Nsobject in this slot or is
> because the node address of my proxies are wrong or do I have tonnect
> both proxies out of the differential service domain?
>
> Will kind response will be highly appreciated.
>
> Below is my problem:
> --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
>
> _o151: no target for slot 1
>
> _o151 type: Classifier/Addr
>
> content dump:
>
> classifier _o151
>
> 0 offset
>
> 0 shift
>
> 2047 mask
>
> 1 slots
>
> slot 0: _o530 (Classifier/Port)
>
> -- Finished standard no-slot{} default handler --
>
>
>
> my simulation runs as follows:
> nf...@nlab11:~/Desktop$ /home/nforh/Desktop/ns-allinone-2.29/bin/ns
> newdiffserv102.tcl
> rnc: tcl=_o16; id=0; addr=0.0.0
> bsUMTS: tcl=_o30; id=1; addr=0.0.1
> iface0(UMTS): tcl=_o72; id=2; addr=0.0.2
> e1: tcl=_o96; id=3; addr=2.1.0
> core: tcl=_o104; id=4; addr=2.1.2
> e2: tcl=_o112; id=5; addr=2.1.3
> ar: tcl=_o120; id=6; addr=2.1.4
> host0: tcl=_o128; id=7; addr=1.0.1
> host1: tcl=_o136; id=8; addr=1.0.2
> proxy_1 _o144
> proxy_2 _o152
> multiFaceNode: tcl=_o163; id=11; addr=5.0.0
> num_nodes is set 17
> INITIALIZE THE LIST xListHead
> bstation802: tcl=_o342; id=12; addr=3.0.0
> bss_id for bstation 1=4
> _o351 channelID = 241200.00
> _o379 channelID = 241200.00
> iface1: tcl=_o370; id=13; addr=3.0.1
> INITIALIZE THE LIST xListHead
> bstation802_16: tcl=_o418; id=14; addr=4.0.0
> iface3: tcl=_o448; id=15; addr=4.0.1
> At 0.00 in 0.0.0 ND module added RA target
> 0.0.2
> At 0.00 in 3.0.0 MIH is adding mac 4
> At 0.00 in 4.0.0 MIH is adding mac 6
> At 0.00 in 5.0.0 Interface Manager : Flow added
> warning: no class variable Session/RTP::debug_
>
> see tcl-object.tcl in tclcl for info about this warning.
>
> At 0.00 in 5.0.0 Interface Manager : Flow added
> At 0.00 in 5.0.0 Interface Manager : Flow added
> At 0.00 in 5.0.0 Interface Manager : Flow added
> tcp stream made from 2.1.0 and 0.0.2
> At 0.00 in 5.0.0 MIH is adding mac 0
> At 0.00 in 5.0.0 MIH is adding mac 5
> At 0.00 in 5.0.0 MIH is adding mac 7
> Policy Table(2):
> Flow
> (11 to 7): trTCM policer, initial code point 10, CIR 200.0 bps, CBS
> 2.0 bytes, PIR 200.0 bps, PBS 3.0 bytes.
> Flow (11 to 8): trTCM policer, initial code point 11, CIR 1000.0 bps, CBS
> 200.0 bytes, PIR 1000.0 bps, PBS 300.0 bytes.
>
> Policer Table:
> trTCM policer code point 10 is policed to
> yellow code point 11 and red code point 12.
>
> Calling MIH_Get_Status
> At 0.001000 in 5.0.0, MIH receives get_status for local MIH
> MIH_Get_Status results for 3 interface(s):
> Link ID: linkType=23, macMobileTerminal=0, macPoA=-1
> Capabilities are: commands:3, events:3
> MIH User subscribing for events 1fb on Mac 0
> Subscription status: requested=1fb, result=3
> Link ID: linkType=19, macMobileTerminal=5, macPoA=-1
> Capabilities are: commands:f, events:1bf
> MIH User subscribing for events 1fb on Mac 5
> Subscription status: requested=1fb, result=1bb
> Link ID: linkType=27, macMobileTerminal=7, macPoA=-1
> Capabilities are: commands:f, events:1bf
> MIH User subscribing for events 1fb on Mac 7
> Subscription status: requested=1fb, result=1bb
> channel.cc:sendUp -
> Calc highestAntennaZ_ and distCST_
> highestAntennaZ_ = 1.5, distCST_ = 513.3
> SORTING LISTS ...DONE!
> SORTING LISTS ...DONE!
> At 1.00 in 5.0.0 MIH Agent received LINK UP trigger.
> At 1.00 in 5.0.0 Interface Manager received MIH event
> At 1.00 in 5.0.0 Handover1 received link up
> type 23, MacAddr=0, MacPoA=-1
> Case2: sending RS
> WARNING: At 1.00 MIPv6 Agent in 5.0.0 does not have ND to send RS
> --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
> _o151: no target for slot 1
> _o151 type: Classifier/Addr
> content dump:
> classifier _o151
> 0 offset
> 0 shift
> 2047 mask
> 1 slots
> slot 0: _o530 (Classifier/Port)
> -- Finished standard no-slot{} default handler --
> Regards
>
>
> Larry tobby
>
> --- On Mon, 12/13/10, Elham Noori wrote:
>
> From: Elham Noori
> Subject: [ns] Energy and delay!
> To: ns-users@ISI.EDU
> Date: Monday, December 13, 2010, 4:15 PM
>
>
> Hi ns users,
> I want to calculate the energy and delay of a scenario, I don't know what
> should I add to my tcl and how to show it in xgraph!
> Can anybody help me on this??
>
> Thanks in advance!!
>
> --
> Elham Noori
>
>
>
>
>