Giter VIP home page Giter VIP logo

network_sim's Introduction

network_sim

Network Simulator using CPP

This project is a network simulator implemented in C++. It provides a simulation of various layers of a computer network, including the Physical Layer, Data Link Layer, Network Layer, and DNS Protocol. The simulator allows users to create end devices, hubs, bridges, switches, and routers, and simulate the communication and functionality of these network components. The program is interactive and easy to use.

Features

The network simulator includes the following features:

  1. Physical Layer:

    • Creation of end devices and hubs.
    • Establishment of connections between devices using star topology.
    • Sending and receiving data between devices.
  2. Data Link Layer:

    • Addition of bridges and switches to the network.
    • Address learning in the case of switches.
    • Implementation of an access control protocol (token passing).
    • Implementation of two flow control protocols for noisy channels (stop and wait ARQ, selective repeat ARQ).
  3. Network Layer:

    • Introduction of routers to the network.
    • Assignment of well-formatted classless IPv4 addresses to devices.
    • Utilization of ARP (Address Resolution Protocol) to find the MAC address of a host within a network.
    • Implementation of static routing.
    • Implementation of the OSPF (Open Shortest Path First) protocol for dynamic routing.
  4. DNS Protocol:

    • Integration of the DNS (Domain Name System) protocol into the network simulation.

Note : The C++ libraries used to add DNS protocol may not work on Windows, Mac OS is preferred.

network_sim's People

Contributors

mridulms8 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.