[ns] link up and down with CBQ
fox.nar at tiscali.it
Fri May 21 08:51:04 PDT 2004
Dear NS users,
I have written a simulation in which a link is teared down and up. As I
can see I have no problem if the queueing discipline is DropTail. When I
use CBQ and I tear up the link, I get an "unknown flow" error. I read different
posts and I discovered that when a link is taken down, "all-connectors reset"
is invoked in tcl/lib/ns-link.tcl. This function clears the queues of the
link but it does something more. It also clears a table (I can't find it,
do you know where is it?) so the flows can't be classified when the link
comes up again. I would like to change the reset behaviour so that it cleans
all the queues but still leaves unchanged the table with all flows.
Quoting the line and recopiling makes the simulation run correctly but packets
aren't dropped anymore during link failure: they just cross the link that
is down without beeing discarded. Do you know what "all-connectors reset"
could you tell me which files I should modify so that the link behaves correctly
Thanks in adavance,
Tiscali ADSL libera la velocita'!
Attiva Senza Canone entro il 31 maggio: navighi a 1,5 euro l'ora per i primi
3 mesi,se scegli il modem e' tuo in comodato gratuito e in piu' hai gratis
SuperMail per 12 mesi. Non aspettare, attivala subito!
More information about the Ns-users