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

Configuring VXLAN in OpenDayLight lab

I´m planning to build a SDN lab that consists on two datacenters with four leaf and two spine switches. I want to interconnect them using VXLAN, and use VXLAN too to interconnect datacenters. I am using mininet to build the topology and a VM with…
2
votes
2 answers

Run a python script in Command Line and send argument to it

I used following python script to create a custom topology in mininet using sudo Python My_topology.py : from mininet.topo import Topo from mininet.node import Node from mininet.net import Mininet from mininet.cli import CLI from mininet.node import…
Babak Memar
  • 37
  • 2
  • 12
2
votes
0 answers

Using BPF/XDP with Mininet

I've created the following network topology in Mininet to run an algorithm I've implemented using the Linux kernel eXpress Data Path. The objective is to sample packets on the incoming link s1-eth1 on Switch 1 using XDP and store metadata in a…
gratio
  • 83
  • 9
2
votes
1 answer

how to run python script through Mininet host?

I have a problem running python script via host command inside the Mininet topology code. The following is my code (net.get('h0')).cmd('sudo python arp_ping.py') The Mininet executed without errors but it is not running the script.
Abdul
  • 21
  • 3
2
votes
0 answers

How to simulate handovers in mininet

Background I am setting up a simulation through the network emulator Mininet. The goal is to create an environment that simulates the network handovers on an airplane that utilizes Low Earth Orbit (LEO) satellite constellations. Problem To preface,…
hannaccat
  • 21
  • 6
2
votes
3 answers

Opendaylight setup issues

I am trying to set up Opendaylight controller. Actually my intention is to connect it with mininet vm and have communication with Internet. (with mininet embedded controller communication to internet is possible). To perform this, from what I have…
Jimaras
  • 21
  • 4
2
votes
5 answers

How to Run Custom Topology in Mininet?

I am attempting to create an SDN network from a python file I created, but it can't seem to find the directory. Is there anything I am doing wrong? Here is the syntax I used: sudo mn --custom ~/mininet/custom/project.py --topo project Here's the…
dj5
  • 83
  • 2
  • 4
  • 12
2
votes
2 answers

traceroute mac in mininet

In mininet I want to find out through which switches ping goes. For example from PC1 (h1) to PC3 (h3). I already tried: h1 traceroute mac ip h3 or 11:00:00:00:00:00 traceroute mac 33:00:00:00:00:00 But it didnt work. "Normal" traceroute (h1…
Haniku
  • 671
  • 1
  • 7
  • 16
2
votes
1 answer

(mininet) How to create a topology with two routers and their respective hosts

The scenario is composed by two routers connected each other r1-r2 (I found LinuxRouter class in the examples given by Mininet). Connecting 3 hosts to r1, each one belonging to a different subnet, the net ping properly. class LinuxRouter( Node ): …
D.Apple
  • 21
  • 1
  • 1
  • 3
2
votes
2 answers

Mininet hosts can't connect with multiple links between hosts

I'm trying to create a topology in mininet, however if there are two paths from a hosts trough different switches, the hosts can't connect to each other. Am I missing some sort of routing configuration? DO I have to manualy create paths and routing?…
localhost
  • 845
  • 3
  • 14
  • 32
2
votes
0 answers

Import Error: cannot import name poll

I am trying to launch https://github.com/OpenState-SDN/spider when I try to Launch SPIDER: $ cd ~/spider/src $ sudo ryu-manager SPIDER_ctrl_WEBAPP.py I get Traceback (most recent call last): File "/usr/local/bin/ryu-manager", line 9, in…
Abdullah
  • 21
  • 1
2
votes
0 answers

Mininet OpenvSwitch error

I am trying to implement simple local net configuration with 3 hosts and 1 switch(with command: sudo mn —topo single,3). The idea is to implement that all the traffic will be duplicated to the host3 (port mirroring). I am trying to run command (in…
AlexP
  • 449
  • 2
  • 9
  • 25
2
votes
0 answers

Host with multiple interface to forward packets to next hop

I am trying to have host with multiple interface at Mininet and ping from h1-h2 (topology can be seen from the attached figure). If I have flow rules at S1 to send packets over 3rd output port, directly to the S2 switch it works fine. But if i try…
aydeger
  • 21
  • 2
2
votes
1 answer

how to set traffic statistics in mininet?

I want to make testbed for testing the my own algorithm in mininet. I want to setup link data traffic rate, control traffic rate and link processing rate. but i am not able to it. if anyone have idea how to set up all these. please help…
abha
  • 21
  • 1
  • 3
2
votes
0 answers

no correct traffic behaviour opendaylight beryllium

i have a mininet network and i connected it with an opendaylight controller (distribution-karaf-0.4.2-Beryllium-SR2). I'm working on ubuntu 15.10 (Desktop version). In the beryllium controller I installed the following features: feature:install…
AL DG
  • 21
  • 1