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

Re[2]: Link Cost



Hello Lloyd,

Yes, I also encounter your problem.

LW> On Sat, 20 Feb 1999, Wee Ching Wi wrote:

>> Does anyone know how to change the link cost for any pair of nodes. I know
>> there is an instproc cost{ } but  not too sure how to use it.

LW>  [$ns link $n($node2) $n($node1)] cost $thislinkcost

LW> AFAIK it only works at startup; I haven't been able to change this
LW> successfully dynamically. Anyone?

LW> In November 1998 Kannan wrote:
LW> | You can try invoking "$n0 intf-changed; $n3 intf-changed" after
LW> | changing the link cost.  However, since I don't recall ever
LW> | explicitly taking link cost changes into account, it may or may not
LW> | work.
LW> [..]
LW> | Again, setting costs as a function of the link delay definitely
LW> | works (barring unforeseen bugs) when the costs are configured
LW> | at startup; whether it works when the costs are changed during
LW> | simulation execution is a question.

LW> L.

LW> <[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>




Best regards,
 Huang                            mailto:[email protected]