Skip to content

ashawe/CNL

Repository files navigation

ABOUT

This repo is for students who want to study / complete their CN assignments / submit code folders. It will also help students better understand which path to take while studying for the assignments by themselves. I am writing this when my practical exams are going on. Therefore, you can be sure that each program will surely run and perform the task it is supposed to do. Although, you must be aware that there might be some corner cases which might get left out.

If you just want the codes you can go to each assignment's folder and get it. If you are doing this while your lab is going on / you're studying for practicals, you might want to go through the study plan and look through the study folder for a better understanding of the practical.

FEEL FREE TO CONTRIBUTE YOUR OWN STUDY MATERIAL TO HELP OTHER STUDENTS. CREATING A PR IS FREE!

I suggest at improving/adding at least one thing in this repo.

INDEX

List of assignments:

A1 ) Wired & Wireless lan

Wired

  • cable making
  • connecting PCs
  • PINGING

Wireless

  • connecting PCs
  • PINGING
  • wireshark

A2) HAMMING & CRC ( c / c++ )

  • 7-8 bit ASCII codes
  • wireshark

A3) Subnetting

  • WAP for subnetting
  • INPUT
    • ip address
    • subnet mask
  • OUTPUT
    • first & last address
    • range

A4) Go back N and Selective Repeat

  • WAP for sliding window protocol
  • INPUT
    • window size
    • Number of packets to transfer
    • drop or recieve
  • OUTPUT
    • sent / recieved
  • wireshark

A5) UDP Socket ( C / C++ )

  • transfer file

A6) TCP Socket ( C / C++ )

  • Hello
  • File Transfer
  • Calculator ( Arithmatic / Trig )
    • expression based. ( Must handle -10*54 )

A7) Analyzing wireshark packets ( c / c++ )

A8) DHCP

  • connect 2 machines
  • SSH into another machine
  • WAP ( c++ / JAVA / Python ) to install / remove software to / from remote machine

B1 ) NS2 Study

  • 3 Nodes
  • TCP

B2 ) NS2

  • Monitoring traffic for the given topology.
  • Analysis of CSMA and Ethernet protocols.
  • Network Routing: Shortest path routing, AODV.
  • Analysis of congestion control (TCP and UDP).

B3 ) Configure RIP/OSPF/BGP using packet Tracer

B4 ) TCP / UDP ( Java / Python )

  • Peer to Peer
  • Multi User

Study Plan

Each topics will have additional study materials and links inside their respective folders.

  • Error Detection. Hamming Codes. CRC Codes.
    • Hamming & CRC ( C++ )
  • Subnetting
    • Subnetting Program ( Java )
  • Sliding Window
    • Go Back N ( C++ / Java )
    • Selective Repeat ( C++ / Java )
  • UDP Programming in C++
    • UDP File Transfer
  • TCP Programming in C++
    • TCP File Transfer
    • TCP Arithmatic
  • UDP & TCP Programming in JAVA
    • Peer to Peer Chat
    • Multi User Chat
  • What is TCL & Syntax of TCL
  • NS2
    • NS2 Basics
    • Simple with 3 nodes: TCP/FTP
    • Complex ( TCP as well as UDP )
      • Star Topology
  • Packet Tracer
    • Simple topology
    • Complex topology
    • RIP, OSPF, BGP
  • DHCP
    • Installation
    • SSH using terminal
    • SSH using PYTHON (SSHPASS)
  • Analyzing wireshark packets using C++

Don't forget to star and share this REPO!