1. Homepage
  2. Homework
  3. Network Design and Modeling - Lab II: NS2 Simulation - A network with multi-routes and losses
This question has been solved

Network Design and Modeling - Lab II: NS2 Simulation - A network with multi-routes and losses

Engage in a Conversation
FranceSorbonne UniversitéNetwork Design and ModelingNS2 Simulation

M1 – Sorbonne Université Network Design and Modeling CourseNana.COM

Lab II: Implementation of a simulation model and its application In this second Lab, you will study a simple network with multi-routes. You will use the manual routing in order to simulate a model of the studied network. CourseNana.COM

IMPOR TANT . At the end of this part of the lab (03:45pm), you must send a first versi on of your lab report. This first version will include the tcl script of the simulation and some texts that explain the solution you implemented in the script to simulate the required topology and network parameters, plus the result of one simulation run. (No final report for this part of the lab. It will be required later in conjunction with lab II followup report.) CourseNana.COM

A network with multi-routes and losses CourseNana.COM

The network to study is composed by 4 nodes, and 4 links. Packets of 1000 bytes are generated by a Poisson source at node 0. The sending rate is b in kbits. The destination of these packets is node 3 (see the figure below). ¼ of the traffic is routed through node 2. Links 1-2 and 2-3 may drop packets with the probability p (Uniform losses). All queues are FIFO. In addition, we assume that the application at node 3 cannot support more than 64 packets per second. We would like to study the maximum performance of the network as a function of b and p. CourseNana.COM

1) Complete the TCL script lab2.tcl in order to create a simulation model of the above network for ns2 so that you generate both trace and nam files. We assume that DropTail queues are of “infinite” size and that the propagation delay over all links is negligible. CourseNana.COM

Note 1: ns2 do not support probabilistic routing. However, you can implement a solution using manual routing (See slides 19, 20, 13 and 11) and using the fact that the aggregation of two Poisson processes is also a Poisson process with a rate parameter equals to the sum of the two rate parameters of the aggregated Poisson processes. CourseNana.COM

Note 2 : The network used in the simulation model does not correspond necessarily to the real network to study. You can add nodes and/or links in order to simulate the 64 packets/s constraint of the application. CourseNana.COM

T h e s e t w o a b o v e n o t e s i n d i c a t e t h a t w h a t y o u s i m u l a t e c a n b e d i f f e r e n t f r o m t h e r e a l s y s t e m y o u w a n t t o e v a l u a t e a s l o n g a s t h e s i m u l a t i o n r e s u l t s p r o v i d e t h e p e r f o r m a n c e t h a t y o u w o u l d m e a s u r e i n t h e r e a l s y s t e m . CourseNana.COM

G e n e r a l r u l e : D o n o t t r y t o s i m u l a t e e v e r y t h i n g f r o m t h e s y s t e m y o u w a n t t o e v a l u a t e . I m p l e m e n t i n t h e s i m u l a t o r o n l y t h e m i n i m u m r e q u i r e d t o b e a b l e t o c o m p u t e t h e t a r g e t p e r f o r m a n c e m e t r i c s . CourseNana.COM

Once your tcl code is ready, run one simulation and check globally the correctness of the simulation by looking at the trace file and the nam animation. In order to find the required TCL code to create the nam trace file, see the previous lab tcl code. CourseNana.COM

To be continued CourseNana.COM

Get in Touch with Our Experts

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
France代写,Sorbonne Université代写,Network Design and Modeling代写,NS2 Simulation代写,France代编,Sorbonne Université代编,Network Design and Modeling代编,NS2 Simulation代编,France代考,Sorbonne Université代考,Network Design and Modeling代考,NS2 Simulation代考,Francehelp,Sorbonne Universitéhelp,Network Design and Modelinghelp,NS2 Simulationhelp,France作业代写,Sorbonne Université作业代写,Network Design and Modeling作业代写,NS2 Simulation作业代写,France编程代写,Sorbonne Université编程代写,Network Design and Modeling编程代写,NS2 Simulation编程代写,Franceprogramming help,Sorbonne Universitéprogramming help,Network Design and Modelingprogramming help,NS2 Simulationprogramming help,Franceassignment help,Sorbonne Universitéassignment help,Network Design and Modelingassignment help,NS2 Simulationassignment help,Francesolution,Sorbonne Universitésolution,Network Design and Modelingsolution,NS2 Simulationsolution,