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

Switch can't connect to controller in my code in Mininet

I am having trouble connecting the switch to the controller in mininet. I use python script. My script is the following. The file name is test.py. #!/usr/bin/python from mininet.cli import CLI from mininet.topo import Topo from mininet.net import…
eggboy
  • 11
  • 1
1
vote
1 answer

Unable to connect SUMO with Mininet-wifi

When I run vanet_sumo.py downloaded from https://github.com/intrig-unicamp/mininet-wifi, it doesn't find SUMO and traCI connection fails. I can run run sumo configuration file successfully using sumo-gui -c 'cfg_file.sumocfg' command in command…
mani varma
  • 31
  • 1
  • 4
1
vote
0 answers

How to configure a simple Trex Traffic Generator test using Mininet?

I want to simply send packets from one host to another but I'm confused about how to configure the configuration file and/or src_ip and dst_ip in my Python Script. Hosts info route: Host Destination Gateway Genmask h1 10.0.1.0 …
1
vote
0 answers

It is possible to connect 1 host to 2 different switches with SDN-ONOS controller?

I want to create a simple topology with 2 hosts (h1,h2) and 2 switches (s1,s2), but i want to connect h1 to s1 and s2 at the same time but i will activate only 1 connection as needed. Like this(where green link is an activate and the red one is…
1
vote
0 answers

Connecting two mininet in two different VM with the same Ryu Controller

I am using virtual box on Windows 10 and running two VMs with ubuntu 18 concurrently Both of them have mininet installed. In the VMs settings I have set the network as Host Only adapter and in advanced selected allow VMs so that both the VMs can…
COLLiDER
  • 31
  • 5
1
vote
1 answer

Simulate a network with routers using Mininet/POX

I'm new to Mininet and POX controller to simulate SDN. I want to create the following network, using Mininet Python API: Network Topology My objective is to let each host/router send packets to all the other hosts/routers. To do that, I used ip…
dnyll
  • 108
  • 1
  • 8
1
vote
2 answers

Converting .ova file to .vdi

I had installed mininet-wifi on virtual box via .ova file. Its operating system was lubuntu. As a result of moving and deleting, the .vdi file in the mininet-wifi folder in the virtual box was deleted or lost. But the .vbox file still exists. When I…
1
vote
1 answer

How to establish simple http server on mininet

I have created a simple http server on mininet simple topology host h1 using the following command h1 python3 -m SimpleHTTPSErver 80 & and then tried to connect h2 to h1 by using h2 wget -O - h1 but the connection is refused
aya
  • 33
  • 4
1
vote
1 answer

Mininet Python - Issues With Pinging Other Hosts Within Custom Topology

Info Host OS: Windows 10 First Attempt Guest OS: Mininet-VM Second Attempt Guest OS: Ubuntu(VM) VM Software: Virtual Box Libraries: Mininet Python API Issue Good day, I'm having some issues with a my customized topology when using…
1
vote
0 answers

How can I get packet loss information from python mininet pings?

Using the Python Mininet API, I'm sending a single ping. ploss = net.ping(hosts=[node1, node2]) This prints to the console the results of packets lost/received: h1 -> h2 h2 -> h1 *** Results: 0% dropped (2/2 received) However, nothing is…
DrZoidberg
  • 21
  • 3
1
vote
0 answers

How to capture all packets in mininet without duplications?

I created a mininet network (single) with 4 hosts and one switch. and try to capture packets using Wireshark (open Wireshark from the terminal of Ubuntu (not a single host). The problem which interface I have to select? the available…
Abdul
  • 11
  • 1
1
vote
0 answers

Why xterm did not run in mininet

I have a problem for a week 1-First i download latest mininet vm image. 2-Ran it on virtualbox. 3 Start GUI by typing startx after gui installation. 4-Mininet to pox traffic goes well. **Problem starts after this ** 5-When i need to look traffic in…
1
vote
1 answer

How to properly set custom bandwidth in mininet?

I am trying to set the bandwidth to 1.7MBps, but it is not working. I saw to use argument --link=tc,bw=1.7 so I did and it is still not working. When I use commands in the mininet console to see the bandwidth, it's way too big but I found out it is…
Aninkan
  • 31
  • 3
1
vote
1 answer

how to identify the ip address of mininet network?

I have set up a preview of ryu controller and mininet,but i am not able to identify the mininet ip address as well as not able to ping from other vm machine.But i am able to get the ip of mininet sub-host.
1
vote
2 answers

ImportError: No module named mininet.log

I am working on mininet when I run miniedit without sudo it gives me error *** Mininet must run as root. But when I run it as root it gives me a new error Traceback (most recent call last): File "./miniedit.py", line 27, in from…