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

[ns] Problems with rtproto



Hello,

  I have ns-2.1b6 installed on my computer, and I have also installed MPLS 
Network Simulator (MNS). I have downloaded the rtProtoDV patches and I have 
made the changes, but when I execute $ns rtproto DV on my script, the next 
error appears:

[usuario@localhost aprendiendo_ns]$ ns gran_top_caida_enlace.tcl
invalid command name "proto(_o19)"
    while executing
"proto($node) add-peer $nbr [$rtproto set agent_addr_] [$rtproto set 
agent_port_]	"
    (procedure "Agent/rtProto/DV" line 18)
    (Agent/rtProto/DV init-all line 18)
    invoked from within
"Agent/rtProto/DV init-all"
    ("eval" body line 1)
    invoked from within
"eval Agent/rtProto/$proto init-all $rtprotos_($proto)"
    (procedure "_o10" line 5)
    (RouteLogic configure line 5)
    invoked from within
"[$self get-routelogic] configure"
    (procedure "_o3" line 5)
    (Simulator run line 5)
    invoked from within
"$ns run"
    (file "gran_top_caida_enlace.tcl" line 70)

I have tried to change DV for the LS (linkstate) protocol, but the same 
error appears again. So I think it is not a specific problem of DV. Can 
anybody help me?
Thanks in advance,
                Toni.

P.S. I can't use newer versions because MNS does not work well on these 
versions.

_________________________________________________________________
Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.es/intl.asp