Giter Site home page Giter Site logo

pechimuthumithil / cs433_assignment-2 Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 5.83 MB

This repository contains the submissions for assignment 2 of CS433 (https://docs.google.com/document/d/1d2-9nIXBMrXnIJEmeEHZ5eNNO7k5iLcC4R52v454-Ik/edit)

Python 100.00%

cs433_assignment-2's Introduction

CS433_Assignment-2

This repository contains the submissions for assignment 2 of CS433 (https://docs.google.com/document/d/1d2-9nIXBMrXnIJEmeEHZ5eNNO7k5iLcC4R52v454-Ik/edit)

Team Member Name Roll Number
Kaushal Kothiya 21110107
Mithil Pechimuthu 21110129

Please find the answers to the assignment in the "WriteUp.pdf" file.

Instruction


1. Clone the repository

Run

git clone https://github.com/PechimuthuMithil/CS433_Assignment-2.git 

2. Part 1

Start Openv Switch

sudo systemctl start openvswitch-switch.service

Run Part1.py

 sudo python3 Part1.py

In the mininet prompt type the following comand to to test the ping reachability

pingall

To change the routing path of routing from subnet A to subnet C through B, open xterm ra and run

ip route change 10.2.0.0/24 via 10.100.1.10 dev ra-eth2

and open xterm rc and run

ip route change 10.0.0.0/24 via 10.102.3.10 dev rc-eth3

Verify the path by running the following on xterm h1

traceroute 10.2.0.252

One can also view the routing table of the routers by opening their respective xterms and running

ip route

3. Part 2

Run the program by executing the following command. You can change the arguments for different resuls.

sudo python3 Part2.py --congestion=reno --config=c --linkloss=2

The program will generate .pcap files for all hosts and we can do throughput analysis with the help of Wireshark then. For analysis using graphs: Go to statistics -> TCP stream graphs -> Throughput.

cs433_assignment-2's People

Contributors

pechimuthumithil avatar kaushal-003 avatar

Stargazers

 avatar  avatar

Watchers

 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.