Questions tagged [mininet]

Mininet is a network emulator.

mininet
Filter by
Sorted by
Tagged with
5 votes
2 answers
6k views

X11 connection rejected because of wrong authentication in Mininet

I am getting this message whenever I run xterm from within mininet: mininet> xterm h1 mininet> X11 connection rejected because of wrong authentication. However, if I run it as: mininet@mininet-...
Emma's user avatar
  • 119
5 votes
3 answers
73k views

NameError: name '_name_' is not defined [closed]

I have gone through the similar question in stackoverflow but couldn't find the answer close to my problem. In the code below the 3 line before the last line is giving Error - NameError: name '...
Cin Sb Sangpi's user avatar
1 vote
0 answers
837 views

writing the received data to a text file

Here is an example of opening a UDP socket in a Mininet host and writing the received packets to a file. h1 acts as a server and h2 acts as a client which is supposed to send a message ( for example "...
helen's user avatar
  • 587
5 votes
1 answer
11k views

how to connect different switches to different remote controllers in mininet?

I want to connect different switches of the mininet virtual network to different remote controller and am unable to get any idea how to proceed. Please provide any method to do this? Any python ...
arpp's user avatar
  • 335
5 votes
9 answers
22k views

Mininet Cannot find required executable controller

Whenever I want to run sshd.py example in mininet or some custome code I have written myself I get *** Creating network *** Adding controller *** Adding hosts: h1 h2 h3 h4 h5 *** Adding switches: ...
Moh Zah's user avatar
  • 282
4 votes
3 answers
8k views

(mininet) Configure multiple interfaces on a host

I have a scenario in which there is a server machine with two interfaces. Each of these interfaces has its own IP address. The server machine hosts an HTTP server, which should be accessible via both ...
bmscicho's user avatar
  • 139
3 votes
1 answer
3k views

How to customize the page sent by SimpleHTTPServer?

I am using SimpleHTTPServer class in my code to respond to client requests (it is actually mininet python script for networking project). The client sends a request every 5 seconds to the server 10.0....
A_D's user avatar
  • 635
3 votes
3 answers
4k views

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 ...
sushmita das's user avatar
3 votes
1 answer
15k views

(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 ...
D.Apple's user avatar
  • 31
3 votes
1 answer
6k views

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's user avatar
2 votes
1 answer
2k views

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 ...
Yotam's user avatar
  • 10.2k
2 votes
3 answers
2k views

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 ...
Chung's user avatar
  • 123
1 vote
1 answer
765 views

How to Change Switch Configuration through Opendaylight controller(GUI)

I am new to SDN, Environment- I have 2 VMs(VM Ware) running on my Windows 10(laptop). One is Mininet and another is Opendaylight(in Ubuntu). I made a simple topology through mininet and connected it ...
Tyson's user avatar
  • 11
1 vote
1 answer
2k views

Mininet Routing not working

I have a problem with Mininet topology. I am trying to make a ping between h3 and h4. They are connected to same switch s4. But they can not ping, they are in different subnet, so i am trying to make ...
Ládík Stuchlíků's user avatar
1 vote
2 answers
2k views

How to run FTP server in Mininet

I use SimpleHTTPServer Python class to set up HTTP server in Mininet. Now, I want to run FTP server but I don't know how!! Does Mininet support running FTP server? If so, how can I install that? If ...
Don's user avatar
  • 393
1 vote
2 answers
1k views

How to connect Opendaylight to Mininet?

I've been working in a simple Hello World project to learn the basics for Opendaylight (I was following this tutorial). Now I want to connect this build of the controller to a network topology ...
Daniel Romero's user avatar
0 votes
1 answer
719 views

How to use ftrace for tcp probe?

I am trying to do an assignment (from another univ's coursepage) which has a line in the starter code (Python with mininet) as os.system("rmmod tcp_probe; modprobe tcp_probe full=1") Popen(&...
Test Zero's user avatar
0 votes
1 answer
821 views

mininet-wifi error:'Mininet' object has no attribute 'addBaseStation'

When I execute my Python script using mininet-wifi, I am getting the following error, and I don't know why? error:'Mininet' object has no attribute 'addBaseStation' Should I change addBaseStation ...
tigger's user avatar
  • 1
0 votes
1 answer
1k views

get_all_link(self) outputting all possible LINKs for a topo

I have topo with 4 switches and 4 hosts. The switches construct a loop. My goal is to learn the topology of the network when switches are connected to the controller. The problem is that the function ...
Ehsan Ab's user avatar
  • 679
0 votes
1 answer
3k views

Custom Mininet Topology ping error

i am building custom topology in Mininet Emulator, I successfully creater topology which is displayed on the picture but I have a problem with ping between h1 and h2. They are connected to same switch ...
forgatn's user avatar
  • 269
0 votes
1 answer
1k views

How to get Packet Processing(packet_in, flow_match, output) time in OVS switch?

I'm trying to evaluate a routing technique implemented by me with Mininet, Open vSwitch and Ryu controller. But currently I'm unable to figure out the measurement techniques of packet processing time ...
moyeen52's user avatar
  • 425
0 votes
2 answers
937 views

python socket programming for transferring a photo

I'm new to socket programming in python. Here is an example of opening a TCP socket in a Mininet host and sending a photo from one host to another. In fact I changed the code that I had used to send a ...
helen's user avatar
  • 587
0 votes
1 answer
4k views

How to run script from mininet shell?

I've got an assignment in SDN course to create a Load Balancer using mininet and pox controller. I have the topology file, which I've created using Python and mininet, and the controller file, which I'...
Amit Yahav's user avatar
-1 votes
2 answers
945 views

Errno 111 Connection refused - Python Mininet API hosts client/server no connection?

I am new to Mininet and I am trying to find a way to use a script in python to execute a few tests using Mininet. More precisely I want to build topology and send a few xmlrpc request from one host ...
TassosK's user avatar
  • 293
-4 votes
1 answer
1k views

How to collect logs such as RTT and Avg RTT on Mininet?

Can anybody please guide me on how we can get logs for RTT and Avg RTT on Mininet while using custom topology code provided in examples. Hoping for your response .
TheICQ's user avatar
  • 19