CS309

NETWORK PROGRAMMING LABORATORY

Credit: 2

Objectives

  • To create client and server applications using the "Sockets" API and the implementation of Data link layer protocol and TCP layer
  • To conduct computer communication network simulations
  • To have a hands on experience of computer network simulation and modeling techniques using NS-3 simulation software

 

Outcomes

  • Ability to invoke analytical studies of Computer Networks through network simulation
  • Technical knowhow of the various components in NS-3 toolkit and its importance in designing a real network

 

Experiments

  • Exercises on Socket Programming using C and Java
  • Exercises using NS-3 Network Simulator
    • Basics of Network Simulation
      • Introduction , Platform required to run network simulator, Backend Environment of Network Simulator, Agents and applications, Tracing
    • Simulating a Local Area Network
      • Local Area Network, LAN Topologies, MAC Protocol, Taking turns, Ethernet, Ethernet Frame Structure, Ethernet Versions, Simulating a LAN using Network Simulator 3
      • Implementation of various MAC protocols
      • Setting up of various network topologies
      • Measurement of routing protocols
    • Measuring Network Performance
      • Network Performance Evaluation, Performance Evaluation Metrics, Parameters Affecting the Performance of Networks, Performance Evaluation Techniques, Network Performance Evaluation using NS-3
      • Setting up of network that carries various application protocols and analyzing the performances
  • Hands on experiments on Network equipments
    • Switches, Routers
    • Hardware firewall

References

  1. W. Richard Stevens, “UNIX Network Programming – Networking APIs: Sockets and XTI”, Vol. 1, 2nd Ed, 1998, Prentice Hall
  2. Eitan Altman and Tania Jimenez, “NS Simulator for Beginners”, Morgan & Claypool Publishers, 2011
  3. Jack L. Burbank, “An Introduction to Network Simulator 3”, 1st edition, WileyBlackwell, 2015