Questions tagged [mininet]

Mininet is a network emulator.

Mininet can be used to deploy a full network topology on your system. It runs a collection of end-hosts, switches, routers, and links on a single Linux kernel. It uses lightweight virtualization to make a single system look like a complete network, running the same kernel, system, and user code.

Resources:

636 questions
2
votes
1 answer

warning:lib openflow _01 fields ignored due to unspecified prerequisites nw_src nw _dst

This question has been asked previously and I have tried everything given in the answers but still getting the same warning. I am using code in this link (lab4.py & lab4_controller.py). I am creating a separate file of topology in /mininet/examples…
Debapriya Sen
  • 21
  • 1
  • 2
2
votes
1 answer

While developing multihomed reliable udp, how can I detect that a link is down using mininet?

Here is the topology: -----s0---s1----- h1 --| |--h2 -----s2---s3----- h1 pumps a file to h2 using UDP in a reliable way. The link between s0 and s1 may be down. Then it should continue to send the data using only the…
uLtRaLoVeR
  • 53
  • 8
2
votes
3 answers

Assertion error on mininet-test experiment

My friend and I tried to reproduce this mininet-test experiment: https://github.com/mininet/mininet-tests/tree/master/dctcp We self created a VM and installed Mininet 2.2 on ubuntu with kernel version 3.18.9, which included dctcp and tcp_probe…
Chung
  • 123
  • 1
  • 1
  • 8
2
votes
0 answers

mininet and openvswitch cpu utilization?

So I want to know in a mininet network how much CPU consumes one OpenVSwitch? and how many flow table entries can the openvswitch allow? Thank you!
user3811517
  • 61
  • 1
  • 8
2
votes
2 answers

Change hostname in mininet host

I need to emulate a network with n hosts connected by a switch. The perfect tool for this seems to be mininet. The problem is that I need to run a python script in every host that makes use of the hostname. The skript acts different depending on the…
Simon Hessner
  • 1,757
  • 1
  • 22
  • 49
2
votes
1 answer

use tcpreplay for real trace internet dataset

I have CAIDA internet trace dataset and it contain more than 200000 unique IPv4 addresses and almost 1 million flows. Im currently using mininet to emulate my SDN project and i wish that i could use this dataset in my simulation. What i plan is tou…
user3085445
  • 95
  • 2
  • 10
2
votes
1 answer

Mininet ~ Load Balacing

I have to work on Mininet, Python, SDN and my objective is to do a simple task: create a network with some switches connected randomly (so the topology is not important), every one with a host connected. In the network I have to do load balancing…
gatb27
  • 31
  • 5
2
votes
2 answers

Bandwidth set via Mininet python APIs does not reflect in Opendaylight

I have been trying to simulate a network in mininet with different edges/links having different bandwidths. I am using a following command to add a link with a specific bw in mininet. In the following snippet I am setting the bandwidth of the edge…
Abhishek
  • 323
  • 1
  • 3
  • 8
2
votes
1 answer

mininet dpctl mod-port in python

I can't get dpctl mod-port working on one switch. I defined as a designated port 6634 with net = Mininet( ..., listenPort=6634) and i have a topology of 6 switches. "dpctl mod-port 1 up" works in the mininet console but acts on all switches. What i…
Sergl
  • 23
  • 2
2
votes
4 answers

Openvswitch support for dpctl

I have installed Mininet and openvswitch under Ubuntu 14.04. Trying to issue vSwitch datapath commands (to the Vswitch) using dpctl. When issuing a dpctl command at the bash prompt, the return is always "command not found". This is true when using…
Kovalick
  • 51
  • 1
  • 1
  • 4
2
votes
2 answers

Why mininet default controller always work in loop back interface 127.0.0.1

Why mininet default controller always work in loop back interface 127.0.0.1 and why ip cannot change in default controller ? If any one can help me please thank you
khan
  • 31
  • 2
2
votes
1 answer

Pox/Mininet: learning location of hosts

My question might be a little vague as I clearly misunderstand a lot, but I'll give it a try anyway: Suppose I have 7 switches in a Fat Tree topology, and the bottom four are each connected to two hosts. When I start the controller I instructs the…
Yotam
  • 9,789
  • 13
  • 47
  • 68
1
vote
1 answer

Checking mode availability using ping in RYU controller

I’m trying to write code that checks if a node is up by pinging the node in ryu controller. If the node responds, then the node is marked as being up. I already have the code for the controller so I want to incorporate this ping code into the…
Elo
  • 11
  • 2
1
vote
0 answers

[Mininet/Python]: Cant get the hosts two ping each other

As a part of an experiment, my network has the following topology for two host machines connected to two routers in mininet(on Ubuntu 22.04.02 Virtual Machine) h1 - r1 - r2 - h2 I have written the following script in mininet API to set…
1
vote
0 answers

Ethtool return "Operation not supported"

I work in mininet and use ethtool to change configuration of switch but it return error and not work. Can anyone know how to solve this? $ sudo ethtool --pause s2-eth3 autoneg off rx off tx off Cannot get device pause settings: Operation not…