[ns] multiple interfaces in ns2

2008-09-08 Thread Tatiana Polishchuk
div dir=ltrHello, brI#39;m a new user of ns 2.33brI#39;m interested in constructing simulations for multihomed nodes, the hosts with multiple interfaces (both wired and wireless). In fact I just need one of the hosts to obtain 2 different IP addresses. NAM animation is also desirable. br As far

[ns] multiple interfaces in ns2

2008-09-08 Thread Tatiana Polishchuk
Hello, I'm a new user of ns 2.33 I'm interested in constructing simulations for multihomed nodes, the hosts with multiple interfaces (both wired and wireless). In fact I just need one of the hosts to obtain 2 different IP addresses. NAM animation is also desirable. As far as I understand there is

[ns] how to add some logic to the UDP flow sending

2008-09-12 Thread Tatiana Polishchuk
Hi, I need to add some logic to the source of UDP flow. For each packet I need to make a decision whether to send it to one path or another. Could anybody point me to an appropriate example or give an I idea where in the TCL script should I add this code (which code, again?) Please, give me an

[ns] tracking the incoming packets

2008-09-15 Thread Tatiana Polishchuk
Hi, I need to collect information from each incoming packet's header on the receiving node. Does anybody have any experience with such a task? Any examples to consults? Please, share...

[ns] send() funtction in tcp.cc

2008-09-18 Thread Tatiana Polishchuk
Hi, I'm trying to understand the logic of tcp agent code. In the tcp.cc there is a function output() which sends tcp packets. It uses send (p, 0) function inside. Could anybody explain where the function send is defined? Can't find it in the included files.. Is it standard networking send? If

[ns] TCP ACKs - change route

2008-09-30 Thread Tatiana Polishchuk
I remember I saw related question in the list, but without answer. I'm trying to send the ACKs for the TCP packets using specific routes. In the tcp-sink.cc module there is a function ack() which sends ACK packets using send(P, 0) method. Does anybody know where the function is defined and there

[ns] link bandwidth info from the tcp module

2008-09-30 Thread Tatiana Polishchuk
I'm making adjustments to the tcp.cc module. Is that possible to access the link information like bandwidth and delay from this module? Of course I mean the links attached to the node which is connected to the tcp agent../

[ns] Fwd: generate tcp traffic on a run-time

2008-11-11 Thread Tatiana Polishchuk
Hi, I have a trivial configuration of 2 nodes. Node 0 has a TCP agent attached and Node1 - sink and a tcp 1 traffice between then. I need Node 0 to start sending additional sequence of packets - generate anothor tcp flow (tcp 2) traffic at some point of my simulation then a particular

[ns] Convert out.nam to video format???

2008-11-12 Thread Tatiana Polishchuk
Does anybody know how to convert the out.nam file to any nice video format like .avi? I need to make a presentation and show my animated results on Windows computer where I don't have any ns or nam installed. Any ideas?