Network Measurements, Modeling and Simulations

Spring 2014, Room 4260, 14:10~17:00 Thursday

Instructor: Kun-chan Lan
(this course is offered in English)


  • Targeting audience: graduate students who are interested in pursuing research in networking.
  • Aim: introduce the whole process of an experimental research cycle from problem identification, proposing solution, experiment design, to finally evaluate the proposed solutions in the simulations or emulation.
  • We will cover basic techniques in experimental design, measurements, modeling and simulations. A number of tools frequently used in network research will be introduced.


  • Measurement strategies and techniques
  • Principles of network modeling
  • Fundamental of experimental design and performance evaluation
  • A collection of network research tools
  • Measurement tool: ping, traceroute, iperf
  • Collection tool: tcpdump, ethereal
  • Simulation: NS-2
  • Emulation: Nisnet, dummynet
  • Testbed: TinyOS/mote, Netfilter

Recommended reading

  • If you don't have sufficient background, try to review the following books
  • Computer Networks: A Systems Approach (Morgan Kaufmann Series in Networking), 3rd Edition, Larry L. Peterson and Bruce S. Davie , ISBN 1-55860-833-8
  • Computer Networking: A Top-Down Approach Featuring the Internet, 3rd Edition, James F. Kurose, Keith W. Ross, and Addison Wesley, ISBN 0-201-97699-4
Date Content  
02/27 please bring your laptop (installed tcpdump, Ethereal/Wireshark) to the class   
03/06 class is canceled today  
03/20 deadline for submitting homework 1 part1 (install ns2 and run the simple script)  
04/03 deadline for submitting homework 1 part2 via email  
04/17 class start at 3 pm  
04/24 Midterm exam: students are allowed to bring only one unfolded A4 sheet (two sides) of notes to the examination.  
05/15 No class, professor will be out of country on that day.    
05/15 deadline for submitting homework  3  
05/22 deadline for submitting homework 4  
05/29 deadline for submitting homework 5  
05/30 MPTCP code and Manual for your project   
06/19 Final exam: open book, you can bring your laptop for find the answer   



Prof. Kun-chan Lan
Office: Room 309 (East Block, Yun-Ping building, Kuang-Fu Campus)
Office hours: 3-4 pm on Tuesday, 3-4pm on Wednesday, or by appointment via e-mail
Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
TEL: +886 6 2757575 ext 62550


Paweeya Raknim 
Office: Room 402 (East Block, Yun-Ping building, Kuang-Fu Campus)
Office hours: 2-4 on Monday,1-3 pm on Thursday
Email: This email address is being protected from spambots. You need JavaScript enabled to view it.
TEL: 06-2757575 ext.62520 (and then another extension 35)


  • Have taken fundamental courses on data networks and know basic things from layer 3 and above
  • Know how TCP/IP network works and some basic networking terms
  • Some software skill such as Unix, C/C++, or experience with scripting language
  • Discuss with the instructor to get approval

Grading Policy   

Homework (6) – 30%
Midterm – 20%
Final – 20%
Term Project – 30%
Possible bonus from class participation – 10%


week 1 (2/20) Introduction and class admin
week 2 (2/27) Network modeling
week 3 (3/6) Class is canceled
week 4 (3/13) Queuing model --- HW1 due
week 5 (3/20) NS2 (I)
week 6 (3/27) NS2 (II)  -- HW2 due
week 8 (4/3) School holidays
week 9 (4/10) NS2 (III) – HW3 due
week 10 (4/17) Emulation
week 11 (4/24) Midterm
week 12 (5/1) TCP/IP -- HW4 due
week 13 (5/8) case study: Multipath TCP (MPTCP)
week 14 (5/15) Model and Simulate MPTCP -- HW5 due
week 15 (5/22) Experiment MPTCP (I) 
week 16 (5/29) Experiment MPTCP (II) -- HW 6 due
week 17 (6/5) Performance Evaluation
week 18 (6/12) In-class project presentation
week 19 (6/19) Final

Lecture Slides


  1. Using MPTCP to download youtube video >>>>Download>>>>> MPTCP code and manual <<<<<
  2. Study the performance of MPTCP with
    1. Different link bandwidth
    2. Different source traffic rate
    3. Different loss rate
    4. Different losses distributions
    5. Different receiver buffer sizes


Take-home exercise 

Your 1st homework  
  • Install a version of unix system (e.g. linux) on your laptop
  • Install ns2 on your laptop
  • Create a simple tcl script as in next slide
  • Run the tcl script and show it to TA (due on 3/6)