Re: [ns] Routing by user choice

2008-02-29 Thread pdommay
You first have to select the source routing mode $ns src_rting 1 and then specify the route you want. For example if you want to send packets between a TCP Agent in node 0, and a sink in node 1, you can do it as follows: #Create a TCP agent and attach it to node n0 set cbr0 [new Agent/TCP] $

[ns] Manual routing - add-route

2008-01-11 Thread pdommay
Continuing with the problem i mention on previous post, and to simplify the question, i'm trying to use command add-route to configure my tables. I have nodes in a simple square like this... n0 -- n1 -- n2 -- n3 |__| and i want to send information betwe

[ns] problem working with manual routing (correction)

2008-01-10 Thread pdommay
Hi all again!! I've been working on the problem i post before and i get it :). Sorry for posting it :(. Unfortunately i didn't manage it as i wanted, because i do it establishing default routes with "add-route-to-adj-node" command Ex. [$n0 get-module "Manual"] add-route-to-adj-node -defaul

[ns] problem working with manual routing

2008-01-10 Thread pdommay
Hi all!! I'm doing my Ends Career Proyect with Matlab and i need to use ns to do some simple simulations. Unfortunately i'm new on it. I want to work with Manual Routing, over wired networks. I've read the Marc Greis's tutorial and the NS for Beginners tutorial but they don't talk about it :

[ns] modify manual routing

2008-01-03 Thread pdommay
Hi!! I'm investigating on routing algorithms with matlab, comparing algorithms to construct trees. Now i have to simulate them, and looking for networks simulators i've seen ns-2 has a simple way to implement my simulations with Manual Routing. Unfortunately i don't know how can i modify this r

[ns] Floyd-Warshall algorithm

2007-12-05 Thread pdommay
Hello!! I need to use the Floyd-Warshall algorithm to run some simulations with ns-2. I've been reading documentation and i've seen this algorithm is implemented in ns-2 but for routing with mobile nodes. Unfortunately i searched more information but i haven't found how to work with the alg

[ns] multicast routing algorithms

2007-11-27 Thread pdommay
Hi!! I have to doy my End's Career Proyect working with ns2 and I'm new on it. My tutor wants me to test some multicast routing algorithms: the Floyd-Warshall algorithm and the Kompella one. I've been looking for information and i've seen the first one is implemented in some way on ns but for