[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Mobile IP & RSVP help!!!



Dear all,
I was attempting to make certain changes to ns-mip.tcl
in order to include RSVP.Since MIPBS and MIPMH are
actually extensions of wireless nodes and the earliest
implementation of mobile IP uses these nodes and
creates link I tried to substitute the links that are
dynamically created  by the MIPMH with the MIPBS by
duplex-rsvp-links.
However not the validation test input gives the foll.
error-
ns: _o32 get-link 4 2: can't schedule command in past
    (_o6 cmd line 1)
    invoked from within
"_o6 cmd at 0.0 {_o185 start}"
    invoked from within
"catch "$self cmd $args" ret"
    (procedure "_o6" line 2)
    (SplitObject unknown line 2)
    invoked from within
"_o6 at 0.0 {_o185 start}"
    ("eval" body line 1)
    invoked from within
"eval $scheduler_ at $args"
    (procedure "_o4" line 3)
    (Simulator at line 3)
    invoked from within
"$ns_ at 0.0 "$adc_ start""
    (procedure "_o180" line 39)
    (IntServLink init line 39)
    invoked from within
"_o180 init _o29 _o15 1Mb 1s _o179 {intserv WFQ
RSVPLink Param Null CL}"
    (Class create line 1)
    invoked from within
"IntServLink create _o180 _o29 _o15 1Mb 1s _o179
{intserv WFQ RSVPLink Param Null CL}"
    invoked from within
"catch "$className create $o $args" msg"
    (procedure "new" line 3)
    invoked from within
"new IntServLink    $n1 $n2 $bw $delay $q       
[concat $qtypeOrig $args"
    ("intserv" arm line 2)
    invoked from within
"switch -exact $qtypeOrig {
RTM {
set c [lindex $args 1]
set link_($sid:$did) [new CBQLink        $n1 $n2 $bw
$delay $q $c]
}
CBQ -
CBQ/WRR {
if {[llen..."
    (procedure "_o4" line 27)
    (Simulator simplex-link line 27)
    invoked from within
"_o4 simplex-link _o29 _o15 1Mb 1s intserv WFQ
RSVPLink Param Null CL"
    ("eval" body line 1)
    invoked from within
"eval $self simplex-link $n1 $n2 $bw $delay $type
$args"
    (procedure "_o4" line 9)
    (Simulator duplex-link line 9)
    invoked from within
"_o4 duplex-link _o29 _o15 1Mb 1s intserv WFQ RSVPLink
Param Null CL"
    ("eval" body line 1)
    invoked from within
"eval $self duplex-link $n1 $n2 $bw $pd intserv $sched
$signal $adc $args"
    (procedure "_o4" line 2)
    (Simulator duplex-intserv-link line 2)
    invoked from within
"$self duplex-intserv-link $n1 $n2 $bw $delay WFQ
RSVPLink $adc $est CL"
    (procedure "_o4" line 2)
    (Simulator duplex-rsvp-link line 2)
    invoked from within
"$ns duplex-rsvp-link [$ns get-node-by-addr $src] 
[$ns get-node-by-addr $dst] 1Mb 1s 0.5 200 5000 Param
Null"
    (procedure "_o32" line 7)
    (Agent/MIPMH get-link line 7)
    invoked from within
"_o32 get-link 4 2"


Has anyone got any ideas as to what i am missing??
Please help...
Thanks in advance
Prashant

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/