[ns]route metric

=?gb2312?B?0e7P5rrN?= yxhliyi at mail.nankai.edu.cn
Tue Apr 26 02:56:12 PDT 2005


Hi

In routing-protocol like DV,Direct,the ns uses metric to pick out
the best routine.I check the process "Agent/rtProto/Direct instproc
compute-routes" in file route-protocol.tcl and then I know the initial metric to
neigbour nodes is link cost.So I check the file ns-link.tcl and find that the
default value of cost is 1.My question is :if I don't use the command cost to set
the link cost,do all of the links with different bandwich and delay having the
same cost of 1 ? If not,how does it works?
regards
Yang




More information about the Ns-users mailing list