[ns] Is FTP traffic over TCP connection uses always the same route?

Filippos Kolovos f.kolovos at gmail.com
Tue Feb 13 22:56:11 PST 2007


-
You could define the routing protocol to use
during the simulation, at the start of the tcl script
with the $ns rtproto command.
Then you could see what happens when changing the queue limits and
sizes.

NS, by default uses static routing with all routes pre-calculated
before the start of the simulation and hence the traffic follows
always the same route.

In addition you could simulate a drop of one or more lines by using the
dynamic models
of NS and in that case if you use a dynamic routing protocol you will see
the traffic changing
route, while if not the traffic will experience a major "packet drop" at the
precalculated intermediate node.

-Fk

On 2/14/07, ns-users-request at isi.edu <ns-users-request at isi.edu > wrote:
>
> ---------- Forwarded message ----------
> From: "Dr. Mohamed Ben Othman" < mtothman at yahoo.ca>
> To: <ns-users at ISI.EDU>
> Date: Tue, 13 Feb 2007 11:10:47 -0500
> Subject: [ns] Is FTP traffic over TCP connection uses always the same
> route?
> Dear all,
>
>
>
> I have a topology of 6 nodes: a src, dst and 4 connected routers:
>
> Src connected to r1
>
> Dst connected to r4
>
>
>
> r1 connected to r2 and r3
>
> r2 connected to r4
>
> r3 connected to r4
>
>
>
>             Src ---- r1 --------r2
>
>                        |           |
>
>                        R3-------r4-------dst
>
>
>
> I sent traffic from src to dst and monitored the different queues. The
> problem is that the traffic always passes through r1, r2 and then r4.
>
> The queue of r3 is always empty.
>
> I tried to modify the queues sizes, the delay etc but I didn't succeed.
>
> I thought that TCP connection may take more than one route and the traffic
>
> passes via all possible routes.
>
> Can anyone help me.
>
> Thank you.
>
> Mohamed ben Othman
>
>
>
>
>
> --===============0022760753==--
> _______________________________________________
> Ns-users mailing list
> Ns-users at isi.edu
> http://mailman.isi.edu/mailman/listinfo/ns-users
>
>


-- 
Filippos N Kolovos

Software Systems Analyst & Engineer
M.Sc. (Eng.) in Data Communications

Automation & Networking Department
University of Macedonia Library
Egnatia 156, P.O.Box 1591
540 06 Thessaloniki, Greece

E-Mail: f.kolovos at ieee.org,
           filippos at uom.gr
-------------------------------------------------------


More information about the Ns-users mailing list