anunciado / DIM0438-SimpleRouter

A simple router in mininet for UFRN DIM class DIM0438: Computer Network.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Router

A network with a simple router in mininet environment. In this project, each host connects to an openvswitch that have a different subnet IP address. With the aid of the router, the host with different subnet IP addresses can communicate with each other. In this case, there are five subnets, i.e. 10.0.1.0/24, 10.0.2.0/24, 10.0.3.0/24, 10.0.4.0/24 and 10.0.5.0/24. These are subnets that are connected by one router, i.e. r1, r2, r3, r4, r5, respectively. In each subnet, there is one openvswitch.

Prerequisites

You will need to install the modules below to run the program:

Running

First, Mininet requires a controller, which we implemented in POX. To run the controller, inside the pox folder, use the following command:

./run_pox.sh

There are two ways to run the simulation of the network:

  • Compile the IDE (PyCharm - Python IDE):
  1. Just open the IDE
  2. Import the project folder as a Project
  3. Choose Run network on the context menu or Press Ctrl+Shift+F10
  4. From this it only interacts with the system.
  • Compile by terminal:
  1. Enter the src folder and run the following command:
$ sudo python network.py
  1. From this it only interacts with the system.

Built With

Authors

Developers:

Project Advisor:

See also the list of contributors who participated in this project.

License

This project is licensed under the GPL 3.0 - see the LICENSE file for details

About

A simple router in mininet for UFRN DIM class DIM0438: Computer Network.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%