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
2 answers

How to mention "--switch=ovsk,protocols=OpenFlow13" while making a topology using Mininet() class in Python?

Look at the following command - $ sudo mn --controller=remote,ip=127.0.0.1,port=6653 --switch=ovsk,protocols=OpenFlow13 --topo=tree,depth=2,fanout=4 I want to achieve this topology using Python code. So far I have got the following lines in python…
2
votes
0 answers

Generate traffic and measure qos parameters in custom mininet topology using Ryu Controller

I'm working on tweaking and testing QoS capabilities in SDN. I've tried POX and Ryu controller and run some custom topologies in mininet. However I need help for generating traffic in mininet topology. It seems that there are iperf and D-ITG for…
AJAY
  • 53
  • 6
2
votes
1 answer

Opendaylight Aluminium with mininet torus

I am trying to connect my custom topology to the ODL controller using the command: sudo mn --topo torus,3,3 --controller=remote,ip=$OPENDAYLIGHTIP,port=6653 --switch ovsk,protocols=OpenFlow13 However, it gives 100% dropped on the ping test; I have…
2
votes
1 answer

adding a new protocol to the packet by Scapy, but I do not see the field on the controller or Wireshark

I am trying to add a metadata field to the pkt by Scapy. I use mininet as a platform to launch my network simulation. from scapy.all import * from datetime import datetime class Metadata(Packet): name = "Metadata" fields_desc = […
user13946815
2
votes
1 answer

How to create specific Qos rules?

I have the topology that is represented in the image: I want the hosts 1 and 2 to have high priority with max bandwidth 8mbps and the host(server) 4 to receive packets at maximum bandwidth of 4mbps. Host 3 is irrelevant for now. I have achieved the…
2
votes
1 answer

How to get dpid of a switch from the xterm of a host in mininet?

I have created a topology in mininet. I want to get the dpid or name of a switch from the host it's connected to using xterm or mininet's python API. I looked it up on google but couldn't find anything. Thanks in advance.
2
votes
1 answer

Mininet : Creating a host with multiple interfaces and assigning IP address using addLink()

I want to create a network with 2 hosts connected to each other via 3 links (each link belonging to a different network) _________10.0.0.0/31 network________________ | | H1+---------10.0.1.0/31…
rsn
  • 369
  • 1
  • 3
  • 17
2
votes
1 answer

Ping is not working on spine leaf topology on mininet

I am new in mininet and I want to know while I create spin leaf DataCenter topology and visualiz the topology using RYU controller the ping is not working. The Topology: ____[S1] [L1], [L2], [L3]------| …
Johonas
  • 33
  • 4
2
votes
2 answers

Problem with getting bandwidth information from mininet

I am trying to get the information for link's bandwidth from mininet by using Opendaylight Controller, but the problem is that even though there are different links with different bandwidth in the mininet topology, the information that I get from…
2
votes
1 answer

How to build a topology using networkX in mininet?

I built a simple network topology using mininet python script. However, I want to extend this code by using networkX to build the topology in mininet script. Thus, firstly, I should import the networx as nx. The reason for using networkX is to find…
Layally
  • 21
  • 6
2
votes
0 answers

What does ANY mean in a dpctl dump-flows output

I have created a controller with which I am trying to add some simple routing rules. One difficulty with doing this is how to interpret the output from the dpctl dump-flows command which outputs a lot of information that I dont really find relevant…
J.Doe
  • 1,502
  • 13
  • 47
2
votes
1 answer

How to add controller on mininet

Hi :) I'm a newbie on openflow & mininet. I experiment my network. And I established my virtual network using mininet. sudo mn And on this existing network, I want to add one more controller. I heard mininet> py net.addController('c1') above code…
김홍규
  • 21
  • 1
  • 2
2
votes
2 answers

ICMP echo packets between mininet hosts in loop are dropped

I am working on my own topology in VirtualBox(es) using mininet: First VirtualBox with mininet is used as controller. I am using POX as controller (ip address: 192.168.57.3): mininet@mininet-wm:~/pox$ python ./pox.py forwarding.l2_learning Second…
3DSpaceGen
  • 39
  • 1
  • 8
2
votes
0 answers

Iperf stuck in mininet custom topology

I am using mininet on a Vagrant virtual machine that emulates Ubuntu Xenial (my laptop runs Windows 10). The topology is the following, with remote controller, static ARP and OVS Kernel Switch running in user-space: h1---s1----s4---h3 | \ / | …
2
votes
0 answers

Viewing P4 packet counter

I'm new to P4, and I'm trying to understand how packet counters are implemented. In the documentation, it is quite clear how counters are defined and then incremented. But I cannot see how one would be able to view the counter using the control…
David
  • 201
  • 2
  • 10