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

How to access the routing table information



Hello, all

Is that possible in ns2 to access the routing table information in order
to know the cost or hop count from a particular node to some other
destination node? I looked up the ns notes and documentation in chapter 15
on unicast routing, it seems that there is a metric()? prodecure defined
under class rtObject, however rtobject is only meant for simulations that
use dynamic routing. According to my previous message posted two days ago,
the DV routing in ns2 seems not working right now. So is there any other
way to find out the cost/metric from a node to a destination node? 

I really appreciate any of your input about this question.

thank you,

shuqian