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

How to use miniedit in mininet?.Can anyone suggest the commands

I am not able to run the command $ sudo ~/mininet/examples/miniedit.py or $ sudo python ~/mininet/examples/miniedit.py in mininet.When I type that command to use miniedit the output comes as"_tkinter.TclError:no display name and no $DISPLAY…
chaya
  • 41
  • 1
  • 4
4
votes
1 answer

POX in mininet: What does event.parsed give in pox? What is parse.next?

In l3_learning.py, there is a method in class l3_switch named _handle_PacketIn. Now I understand that this event is when a switch contacts controller when it receives a packet corresponding to which it has no entries in its table. What I don't…
4
votes
1 answer

Setting ICMP match with POX controller

I'm trying to add a flow entry to a switch using POX controller, my code is: fm = of.ofp_flow_mod() fm.match.in_port = 1 fm.priority = 33001 fm.match.dl_type = 0x800 fm.match.nw_src = IPAddr("10.0.0.1") fm.match.nw_dst =…
Daniel
  • 440
  • 4
  • 13
4
votes
0 answers

use of Scapy to generate network load on mininet

I am doing research on SDN using mininet, however i have to generate specific traffic load on the links by parsing a txt file in python, since Scapyhttp://www.secdev.org/projects/scapy/ gives python API for send packets over network. but i could not…
Gulzi
  • 91
  • 1
  • 7
4
votes
4 answers

Opendaylight, Mininet and Ubuntu. No ARP, no ping

Summary: I am unable to ping between hosts using Opendaylight and Mininet, and would appreciate some guidance as to what may be the problem. Setup and what I've done so far: I've been stuck on this for two days now and can't seem to find anything…
OldePhart
  • 81
  • 1
  • 5
4
votes
2 answers

Getting stats from ryu controller

I'm trying obtain stats in ryu (with python). But when I run mi code only configures the switch, and doesn't make anything else. I've just started with python progamming and I can't find the mistake. class SimpleSwitch(app_manager.RyuApp): def…
4
votes
3 answers

Mininet OVS-Controller can 't be loaded and run

When ever I try to login SSH to my mininet VM from Host terminal it shows Permission denied error and even from within VM terminal where the Mininet is hosted using command: sudo mn --topo single,3 --mac --switch ovsk --controller remote` it shows…
Milson
  • 1,525
  • 3
  • 15
  • 29
3
votes
2 answers

what is the difference between ovs and ovsk?

when running mininet topology, we can use ovs or ovsk for --switch argument in mininet's mn command, for instance: mn --custom topo.py --topo topo --mac --switch ovs --controller remote mn --custom topo.py --topo topo --mac --switch ovsk…
AJAY
  • 53
  • 6
3
votes
0 answers

Unable to contact the remote controller at 127.0.0.1:6633

I am new to mininet and trying to figure it out. I am trying to use a remote controller and was checking how to do on https://github.com/mininet/mininet/wiki/Introduction-to-Mininet . Here is my mininet code: #!/usr/bin/python from mininet.topo…
Mohammed
  • 195
  • 1
  • 3
  • 12
3
votes
1 answer

how to modify Iperf TCP connection timeout?

I am using mininet for emulation of a network. My network has a delay of 3000ms(linear topology of 3 switches).When I tried to do iperf I got Connection failed : No route to host error in client. After a lot of time with the help of internet i came…
Vinay
  • 111
  • 1
  • 7
3
votes
1 answer

All interfaces not being used despite multiple sockets

Despite binding two UDP sockets to 2 different addresses on different interfaces of a host, traffic flows through a single interface. The topology of the network is as follows: 2 links between h2 and s1 1 link between h1 & s1 ________ | …
3
votes
2 answers

How to add mininet module to pycharm?

I'm trying to run a python code that imports mininet. I got the error ModuleNotFoundError: No module named 'mininet.net' I tried to add mininet from the interpreter but there are only ipmininet (which keeps fail in installing) and…
Sana'a Ala'a
  • 163
  • 2
  • 10
3
votes
1 answer

how to solve (*** Mininet must run as root.) in pycharm?

I'm completely new to Linux and Python. I want to run a mininet python test file using Pycharm but got the following error *** Mininet must run as root. How to solve this ?
Sana'a Ala'a
  • 163
  • 2
  • 10
3
votes
0 answers

how to run python script through mininet host without mistakes?

I have a problem running python script via host command inside the Mininet topology code. I want run HTTPServer.py on h1 and host.py on other hosts, so that they can send HTTP requests to h1. The following is my code ...Build a mininet…
lanhai
  • 31
  • 3
3
votes
3 answers

Can't ping in a custom topology created in mininet

So I wrote a python file creating the single topology ( just to check if custom topology works) without using any controller at first. the code goes: #!/usr/bin/python from mininet.node import CPULimitedHost, Host, Node from mininet.node import…
sushmita das
  • 93
  • 1
  • 9
1
2
3
42 43