How to install Mininet on Ubuntu

Here, in this article you can get to know about the installation process of Mininet on Ubuntu. If you go through this article, you can install Mininet on Ubuntu of your own. Let’s start this!!!

Install Mininet on Ubuntu

To install Mininet on Ubuntu, open the Ubuntu terminal window and implement the following steps,

Step 1:

First, update the all packages and execute the command, if the password required to update packages please enter the password of the account you are currently logged into.

Command:

sudo apt-get update

Update packages

Step 2:

   Then install the Mininet package by executing the following command,

sudo apt-get install Mininet

Install Mininet package

Step 3:

Once the Mininet is installed, and then execute the command to start mininet’s Command Line Interface (CLI). This command creates a simple topology consisting of one switch (s1) and two hosts (h1, h2).

sudo mn

Command to get traffic details

Step 4:

After creating a topology using command line, then execute the following command in mininet’s CLI for get the traffic details,

Pingall

Start Mininet CLI

Step 5:

Once the traffic details is get, now start miniedit by entering the following command.

sudo python3 mininet/examples/miniedit.py

Update the packages

If you have any queries about installing Mininet on ubuntu, please reach us.

Opening Time

9:00am

Lunch Time

12:30pm

Break Time

4:00pm

Closing Time

6:30pm

  • award1
  • award2