How to use MiniEdit in Mininet
ฝัง
- เผยแพร่เมื่อ 16 ต.ค. 2024
- Mininet's graphical user interface. The Mininet network simulator includes MiniEdit, a simple GUI editor for Mininet. MiniEdit is an experimental tool created to demonstrate how Mininet can be extended.
If have questions about MiniEdit can ask me below! thanks
Fantastic walkthrough, thank you sir!!
Glad you enjoyed it!
sir i cant save the topology, it saved but i can open the topology,can u help?
anyone knows why am i getting "could not open network device s2-eth4 (No such device)"... it happens with the switches
please update your ubuntu and your mininet to latest version
Hi, thaks for the explanation. When i tried to save my toplogy the screen shows the message " a bytes-like object us required , not 'str'.
I cannot save and open topologies in miniedit. Did you know how to repair that?
let me check for you
@@WESHAREknowledge I too have the same problem, Sir Kindly help us
I don't nknow the difference between python for programming and python mininet or minieditn, because after installation in interface of miniedit I can't use the switch it's small no other action them.
សូមទាញឯកសារទាំងអស់ ពីវិបសាយយើងខ្ញុំ៖ mengheang.com/category/79
បងជួយ Subscribe ប្អូនផង
Hi, Thank you very much for the wonderful tutorial. I have a few queries and would request you to help me out please. I drew a topology in the Mininet GUI, and when I save the .mn file it gives me this error. (a bytes-like object is required, not 'str'
).
And when I save it as a .py file, it shows the following errors.
a bytes-like object is required, not 'str'
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python3.10/tkinter/__init__.py", line 1921, in __call__
return self.func(*args)
File "/home/ubuntu/mininet/examples/miniedit.py", line 1707, in exportScript
f.write("#!/usr/bin/env python
")
TypeError: a bytes-like object is required, not 'str'
Would you please help me out in this regard? Thanks
sorry brother, I stoped research on it for along time
Thank you so much for your good work, it's very elaborate.
Please, I am doing a project about
"Analysis of load balancing in software defined networking"
How can I successfully do it?
Another thing is; how can you use a python code to design an SDN network which consists of a load balancing and its algorithm?
Thanks
sorry brother I stop research on it for along time
can i configure controller for various distance location and measure latency between the switches to the controller
sorry brother, I stop research on it for along time.
Would you tell me how to change the QUIC or UDP protocol in miniedit? Many thanks!
for that I stop research for along times, sorry for that
i hope you're still replying, i have a question, why can't i open miniedit? i have mininet installed and i do have the miniedit files but the terminal keep saying that there is no such file or directory
do you installed success? please follow my video for install Mininet
Can u explain how the packet will be transferred from source to destination? How those can be fixed? More information about flow rules will be a better one
sorry I stop research it for along time
i typed the command but is showing error
-bash: mininet/examples/miniedit.py no such file or directory
HELP!
please update your mininet ant do it again
@@WESHAREknowledge yes I reinstalled it
btw don't go to root(by typing sudo -i),
instead type cd pox ....and add sudo load balancing commands.
how about your mininet is working fine with your linux? I have many documents on it, if need I will share to you
thank you for your effort and sharing your knowledge. Sir can we use the miniedit topology the same as using python script?
yes, sure
Is it possible to write the topology in the CLI and then make it show up in miniedit
sure, we can do it, you can design and then you can update the code ( after compile to code from MiniEdit)
Hello,
Thank you so much for your great efforts. Currently, I'm working on load balancing among different controllers, where the capacity is measured by the number of control messages handled by a controller per unit of time.
First, is there a way of connecting different pox controllers to exchange status between each other?.
Secondly, can I measure the number of messages handled by a controller per unit of time?
I really appreciate your help.
let me check it
hello brother,
from where i can install the directory of miniedit ?
Miniedit is default in Mininet-Wifi, no need to install
@@WESHAREknowledge but the command you have used mininet/examples/miniedit.py to access the miniedit, when I run this command it shows no such file or directory ?
i have installed mininet wifi by watching your video
when you installed completed you will see that file:
miniedit.py
Could you please assist me with the following error I'm getting when trying to run the command to open the miniedit.py (mininet/examples/miniedit.py), Thank you!
Traceback (most recent call last):
File "mininet/examples/miniedit.py", line 67, in
from mininet.util import custom, customClass
ImportError: cannot import name customClass
please update your mininet and ubutu and restart your machine, and try again
use the command like this:
sudo ~/mininet/examples/miniedit.py
hi
i do all steps, than click Run I see this message
Exception: Error creating interface pair (s6-eth1,s1-eth3): RTNETLINK answers: File exists
how can I fixed that ??
maybe you have two default gateways were being set, one static and one by dhcp. You can't have two default gateways with the same metric. can you capture picture to me?
ok I need your email to send the picture
hengmenghieng@gmail.com
Check mail
please run the Controller first ( can use Pox Controller or Floodlight Controller) if still have problem please run this comment: sudo mn -c =>to clean mininet environment.
___________________________
if still not working you can just create one Controller, one switch and two hosts for testing, is errors or not?
Nice explanation.. Thanks a lot
សូមទាញឯកសារទាំងអស់ ពីវិបសាយយើងខ្ញុំ៖ mengheang.com/category/79
បងជួយ Subscribe ប្អូនផង
I created a topology on miniedit and exported the python file. Please how can I find the the python file that was exported from the miniedit? I intend to see the raw code of the topology that was created.
According to you, if you Export to Desktop will go to see at Destop. ( File Menu -> Export -> Where to put your File)
www.brianlinkletter.com/how-to-use-miniedit-mininets-graphical-user-interface/
Hello sir..! Thanks a lot for sharing your knowledge. I have a small doubt.. How can we create congestion in the mininet simulator.? Presently I am working on controlling congestion using SDN and I have stopped not knowing how to create congestion at first :(. Please help me through this.
sorry brother I have stop research on it for along times
សូមទាញឯកសារទាំងអស់ ពីវិបសាយយើងខ្ញុំ៖ mengheang.com/category/79
បងជួយ Subscribe ប្អូនផង
How can a host send a packet to another host or switch in the network.?
please check this video : th-cam.com/video/2QNHdx4jRIo/w-d-xo.html
I am following same steps in ubuntu running in vm.
It is showing error as
Traceback (most recent call last): File "./mininet/examples/miniedit.py", line 63, in from mininet.log import info, debug, warn, setLogLevel ImportError: No module named mininet
sorry brother, this project I stop research for along time
When I tried to run miniedit, I got this error:
_thinker.TclError: no display name and no $DISPLAY environment variable
would you please help me to fix it
please your ubuntu version is support with Mininet
a very nice coverage of miniedit. Kudos for doing such great work. my question is how to connect two controllers c1 and c0 . is it possible
yes sure, in mininet you can create many Controllers, switchs, hosts that you want
the question is very clear.... how to connect two controllers?
in Mininet you can create two controller and can asign ip to them as remote controller. after that you add link to them
Error
No NetFlow targets specified.
No sFlow targets specified.
please update your Mininet and ubutu to latest version
Sir, will u plz say about how to send a packet from host to controller.
if you want to use FTP you should write the code, cannot test with Mini Edit.
@@WESHAREknowledge tq sir
Hi
How can I add these parameter on miniedit?
• In the switch, the flow table has capacity of 10.000entries.Initially, it is empty. The normal entry has hard timeout and
idle timeout equal to 600 seconds and 60 seconds. The entry for DoS attacking user has hard timeout and idle timeout
equal to (60, 10) seconds.
• The malicious user has IP address 10.0.0.1. It injects spoofed packets to the switch infinitely. For each packet, the
destination IP address is generated randomly.
• The DoS attacking user sends spoofed packets to the switch infinitely. For each packet, the source and destination IP
addresses are generated randomly.
• The frequent user has IP address 10.0.0.2. It establishes 5 different connections to the server, and transmits 10 packets
per connections.
sorry sir I am not clear how to add parameter to miniedit also
Could please share link here of this
no code for MiniEdit, thanks you
how can the remote controller request switches to send statistics ?
what remote controller do you use? at MiniEdit we have option to put IP of remote controller so after we run the simulation, the controller and switches all know each others.
I am using pox
And want to send statistics of switches (eg number of packets in/out) to the controller
please check my video : Pox Controller work with Mininet WIFI and Pox Controller work as Load Balancer in Mininet. if still have problem please confirm to me again I will search for you!
yes,I have checked these videos, but i did not find what I want,
I want to know how the statistics in switches ( e.g number of packets, loss rate etc) can be send to the remote controller.
or in other words how the remote controller can request the open flow switches to send all the statistics.
ok let me try for you, but will take times because I will go outside of my country.
awesome.. please paste the commands here to open a graphical representation of mini edit
sorry brother I stop research on it for along time!
hi sir
can i do server load balancing in MiniEdit
I think you can not, please write your own code with python
@@WESHAREknowledge could you tell us the steps how we will proceed. for example we need different algorithms how we use them does we add their library in the app or what we will do please tell something. I'm using ryu controller
Please add how to create network by adding firewall rules
ok
)i have problem with (xterm command) and (miniedit command
no display i have error
please restart your machine and run it in root user
sir can you please let me know how to perform load balancing using pox controller in miniedit
I recommend you to write you own code because for MiniEdit can not do every things that you need
Very funny vietnamese accent :D
I like it
thanks you
Hello please can you make video on the distributed controller in mininet using ryu controller and pox?
ok I will do for you for next times. because now I am doing Advance Laravel Ecommerce Tutorial Projects. thanks for watching and subscribe.
If you want my email I can sent you my email to send me any help please ?
yaznahmed6@gmail.com
Thanks my brother so much we are so helpful person.
please subscribe my channel and you will see when I upload more tutorials
if you need some data that relate to Mininet you can give me the email. I will send to you some
Miniedit is a tool for creating topology. If you want a reverse tool, you can use Mininet Topology Visualizer: mininet.spear.narmox.com
thanks for sharing more
Hi! Love your videos
How can we import real world topologies like abiline and geant using SNDlib and run real world traces using mininet? Could i please get help on how to do this? thanks
let me check for you
@@WESHAREknowledge thank you very much. Waiting for reply.
I don’t know if you will answer me after 3 years of uploading the video, but anyway i am facing a problem in running the miniedit, i have (no such a file or directory) comment, i don’t know why
what is kind of you Error?, when you install Mininet Wifi you will have MininiEdit to use.
@@WESHAREknowledge thank you so much for your reply, i was using ubuntu 20.04 so that’s why the command was not working
I solved the problem by using (python3) command to run the miniedit
I am not sure the last version of mininet is working fine with ubuntu 20.04
@@WESHAREknowledge the mininet worked without any problems but the mininet wifi didn’t work at all so I’m going to try different versions of ubuntu
I stop working on it for along times so I don't know how to help you also, but I hope you will find the solution.
forgot password.can you help me out sir
forgot password for ubuntu or Mininet?
you need have to show as how to pingall and the result.
ok will modified later
thanks for your information ... but I have a problem ,,, I make every step you made in this video ,,, but unfortunately I can't ping between h1 , h8
could you please help me :(
please start remote controller first and then start your topology in mininet Edit. Pox Controller have port 6633 and Floodlight Controller have port 6653
1.please check this link is ok or not: www.brianlinkletter.com/using-the-pox-sdn-controller/
thnxxx ,, sorry for the silly question ... I thought that miniedit should start the remote controller automatically ... another question I hope to get the answer ... I am working right now for making a layer 3 firewall to achieve a security policy on a propped network ... could you help me please "links - project papers - ideas "
I'm sadly a beginner in python and I have to make the work done after 20 days .. please help :(
you build layer 3 firewall in SDN or another software? please tell me more detail.
Information of Technology .. I am just starting with SDN using pox controller .. i have checked your videos and learned how to use pox as a load balancer .. my partner also make some rules for a l2 firewall ...but now I have to run a l3 firewall .. and I do not know where to start to make it done , so Iam asking you for help
I am not clear about l3 firewall also, if next time I found it I will tell you
Please help
sorry brother, this project I stop research for along time
hi how are you i have some q
please ask?
hello everyone, when i run ' root@ubuntu:/home# mininet/examples/miniedit.py'
, i get this message /usr/bin/env: ‘python’: No such file or directory
can you find file miniedit.py?
I have the same issue I can even find miniedit.py but still having same error
does the unbuntu VM version matters? can i have the links of the required software u used in the video
ubuntu-14.04 LTS is working well with Mininet
if you try others version is not working
ok thanks
what is the ubuntu set up ?
I am not clear for your question? please tell me in detail?
hello i try the mininet command :(mininet/examples/miniedit.py
???but the display cant run the GUi
CAN YOU HELP Me
please start with command : sudo