Hello,
I am a new ns user i am trying to simulate a wireless topology using OLSR as a routing protocol. I need to simulate a link failure for a short period of time to study the reactions of OLSR to the failure. while searching through nsDOC and the user list i found that the only way to simulate a link or node failure would be using the rtmodel-at command which i added to my Tcl script. I first tried the $ns rtmodel-at 3.9 down $node_(3) $node_(5) command in a wired topology simulating the failure of the link between node 3 and node 5 which worked perfectly. I also tried the $ns rtmodel-at 3.9 down $node_(3) to simulate the failure of the node 3 in a wired topology which worked as well. I tried these procedures in my wireless topology network Link failure simulation: $ns rtmodel-at 3.9 down $node_(3) $node_(5) wouldnt work and returned an error message which i supposed was due to the absence of links explicitly created between the nodes (like it would be in the wired topology)since the medium was radio. Node failure simulation: $ns rtmodel-at 3.9 down $node_(3) did not return any error and the simulation worked correctly but i noticed when analyzing the trace files that node 3 was still up and active in the network. Could anyone tell me what the problem is and the command i need to use to simulate a node or even a link failure ( if possible ) in a wireless scenario? Any help or tips would be greatly appreciated, Thank you, Patrick Chammas Telecom Paris
