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

[ns] wired ad-hoc networking



hi all;

i want to create a scenario of nodes on wired links that uses a
ad-hoc routing protocols ( for the sake of example, aodv ).

is there an easy way to do this?

i tried changing the routing strategy by:

$ns rtproto LS/DV ( i.e. i tried both )

i do not think that either the DV or linkstate options work
for me; they seem to send their packets every so often and not
when a packet needs a path, that is, they aren't ad hoc.

in a tangentially related question; does anyone know why the
linkstate routing calls it's route-changed method so often, even
when the route has not changed? this is even after the initial
path discovery at the beginning.

in particular, in <ns-install-dir>/ns-2.1b7a/tcl/rtglib/ns-rtProtoLS.tcl
the method with this signature:
    Agent/rtProto/LS instproc route-changed {}
gets called an obscene amount.

could anyone shed some light on either of these things?

thank you.

seye