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

ความคิดเห็น • 152

  • @epicswell
    @epicswell ปีที่แล้ว +1

    Fantastic walkthrough, thank you sir!!

  • @prasmahardhika18
    @prasmahardhika18 11 หลายเดือนก่อน +1

    sir i cant save the topology, it saved but i can open the topology,can u help?

  • @gelccc
    @gelccc 5 หลายเดือนก่อน +1

    anyone knows why am i getting "could not open network device s2-eth4 (No such device)"... it happens with the switches

    • @WESHAREknowledge
      @WESHAREknowledge  4 หลายเดือนก่อน

      please update your ubuntu and your mininet to latest version

  • @michellelunadev
    @michellelunadev 4 ปีที่แล้ว +1

    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?

  • @pimojoel294
    @pimojoel294 3 ปีที่แล้ว +1

    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.

    • @WESHAREknowledge
      @WESHAREknowledge  3 ปีที่แล้ว

      សូមទាញឯកសារទាំងអស់ ពីវិបសាយយើងខ្ញុំ៖ mengheang.com/category/79
      បងជួយ Subscribe ប្អូនផង

  • @junaid_qadir
    @junaid_qadir 10 หลายเดือนก่อน +1

    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

    • @WESHAREknowledge
      @WESHAREknowledge  10 หลายเดือนก่อน

      sorry brother, I stoped research on it for along time

  • @jamesodongo9981
    @jamesodongo9981 ปีที่แล้ว +1

    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

    • @WESHAREknowledge
      @WESHAREknowledge  ปีที่แล้ว

      sorry brother I stop research on it for along time

  • @oladipupoadekoya1559
    @oladipupoadekoya1559 2 ปีที่แล้ว +1

    can i configure controller for various distance location and measure latency between the switches to the controller

    • @WESHAREknowledge
      @WESHAREknowledge  2 ปีที่แล้ว

      sorry brother, I stop research on it for along time.

  • @xfte9677
    @xfte9677 4 ปีที่แล้ว +1

    Would you tell me how to change the QUIC or UDP protocol in miniedit? Many thanks!

    • @WESHAREknowledge
      @WESHAREknowledge  4 ปีที่แล้ว

      for that I stop research for along times, sorry for that

  • @rendy3730
    @rendy3730 ปีที่แล้ว

    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

    • @WESHAREknowledge
      @WESHAREknowledge  ปีที่แล้ว

      do you installed success? please follow my video for install Mininet

  • @vasantharajk6232
    @vasantharajk6232 3 ปีที่แล้ว +1

    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

  • @anushalekhireddy9732
    @anushalekhireddy9732 3 ปีที่แล้ว +1

    i typed the command but is showing error
    -bash: mininet/examples/miniedit.py no such file or directory
    HELP!

    • @WESHAREknowledge
      @WESHAREknowledge  3 ปีที่แล้ว

      please update your mininet ant do it again

    • @anushalekhireddy9732
      @anushalekhireddy9732 3 ปีที่แล้ว +1

      @@WESHAREknowledge yes I reinstalled it

    • @anushalekhireddy9732
      @anushalekhireddy9732 3 ปีที่แล้ว

      btw don't go to root(by typing sudo -i),
      instead type cd pox ....and add sudo load balancing commands.

    • @WESHAREknowledge
      @WESHAREknowledge  3 ปีที่แล้ว +1

      how about your mininet is working fine with your linux? I have many documents on it, if need I will share to you

  • @teamekahsay9532
    @teamekahsay9532 4 ปีที่แล้ว +2

    thank you for your effort and sharing your knowledge. Sir can we use the miniedit topology the same as using python script?

  • @tilahun180
    @tilahun180 6 ปีที่แล้ว +1

    Is it possible to write the topology in the CLI and then make it show up in miniedit

    • @WESHAREknowledge
      @WESHAREknowledge  6 ปีที่แล้ว

      sure, we can do it, you can design and then you can update the code ( after compile to code from MiniEdit)

  • @madawiotb9760
    @madawiotb9760 5 ปีที่แล้ว +1

    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.

  • @thecricketing_journey
    @thecricketing_journey 2 ปีที่แล้ว +1

    hello brother,
    from where i can install the directory of miniedit ?

    • @WESHAREknowledge
      @WESHAREknowledge  2 ปีที่แล้ว

      Miniedit is default in Mininet-Wifi, no need to install

    • @thecricketing_journey
      @thecricketing_journey 2 ปีที่แล้ว +1

      @@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 ?

    • @thecricketing_journey
      @thecricketing_journey 2 ปีที่แล้ว +1

      i have installed mininet wifi by watching your video

    • @WESHAREknowledge
      @WESHAREknowledge  2 ปีที่แล้ว

      when you installed completed you will see that file:
      miniedit.py

  • @wishvarajapakshe3109
    @wishvarajapakshe3109 5 ปีที่แล้ว +2

    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

    • @WESHAREknowledge
      @WESHAREknowledge  5 ปีที่แล้ว

      please update your mininet and ubutu and restart your machine, and try again

    • @techvillen
      @techvillen 4 ปีที่แล้ว

      use the command like this:
      sudo ~/mininet/examples/miniedit.py

  • @mohammedhashim8450
    @mohammedhashim8450 6 ปีที่แล้ว +1

    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 ??

    • @WESHAREknowledge
      @WESHAREknowledge  6 ปีที่แล้ว

      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?

    • @mohammedhashim8450
      @mohammedhashim8450 6 ปีที่แล้ว

      ok I need your email to send the picture

    • @WESHAREknowledge
      @WESHAREknowledge  6 ปีที่แล้ว

      hengmenghieng@gmail.com

    • @mohammedhashim8450
      @mohammedhashim8450 6 ปีที่แล้ว

      Check mail

    • @WESHAREknowledge
      @WESHAREknowledge  6 ปีที่แล้ว

      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?

  • @rushikeswararaopolaki3602
    @rushikeswararaopolaki3602 4 ปีที่แล้ว +1

    Nice explanation.. Thanks a lot

    • @WESHAREknowledge
      @WESHAREknowledge  4 ปีที่แล้ว

      សូមទាញឯកសារទាំងអស់ ពីវិបសាយយើងខ្ញុំ៖ mengheang.com/category/79
      បងជួយ Subscribe ប្អូនផង

  • @udehpaschal3683
    @udehpaschal3683 6 ปีที่แล้ว

    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.

    • @WESHAREknowledge
      @WESHAREknowledge  6 ปีที่แล้ว

      According to you, if you Export to Desktop will go to see at Destop. ( File Menu -> Export -> Where to put your File)

    • @WESHAREknowledge
      @WESHAREknowledge  6 ปีที่แล้ว

      www.brianlinkletter.com/how-to-use-miniedit-mininets-graphical-user-interface/

  • @ganeshbharadwajmukkamala5621
    @ganeshbharadwajmukkamala5621 4 ปีที่แล้ว

    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.

    • @WESHAREknowledge
      @WESHAREknowledge  4 ปีที่แล้ว

      sorry brother I have stop research on it for along times

    • @WESHAREknowledge
      @WESHAREknowledge  4 ปีที่แล้ว

      សូមទាញឯកសារទាំងអស់ ពីវិបសាយយើងខ្ញុំ៖ mengheang.com/category/79
      បងជួយ Subscribe ប្អូនផង

  • @aristidengaboyindekwe1554
    @aristidengaboyindekwe1554 5 ปีที่แล้ว +1

    How can a host send a packet to another host or switch in the network.?

    • @WESHAREknowledge
      @WESHAREknowledge  5 ปีที่แล้ว

      please check this video : th-cam.com/video/2QNHdx4jRIo/w-d-xo.html

  • @JagdeepSingh-rt2nu
    @JagdeepSingh-rt2nu 4 ปีที่แล้ว

    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

    • @WESHAREknowledge
      @WESHAREknowledge  4 ปีที่แล้ว

      sorry brother, this project I stop research for along time

  • @amthalkhaleel5469
    @amthalkhaleel5469 3 ปีที่แล้ว

    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

    • @WESHAREknowledge
      @WESHAREknowledge  3 ปีที่แล้ว

      please your ubuntu version is support with Mininet

  • @datastrucureusingcbynayyer1902
    @datastrucureusingcbynayyer1902 6 ปีที่แล้ว +1

    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

    • @WESHAREknowledge
      @WESHAREknowledge  6 ปีที่แล้ว

      yes sure, in mininet you can create many Controllers, switchs, hosts that you want

    • @datastrucureusingcbynayyer1902
      @datastrucureusingcbynayyer1902 6 ปีที่แล้ว +1

      the question is very clear.... how to connect two controllers?

    • @WESHAREknowledge
      @WESHAREknowledge  6 ปีที่แล้ว

      in Mininet you can create two controller and can asign ip to them as remote controller. after that you add link to them

  • @FahmidWasif
    @FahmidWasif 5 ปีที่แล้ว +1

    Error
    No NetFlow targets specified.
    No sFlow targets specified.

    • @WESHAREknowledge
      @WESHAREknowledge  5 ปีที่แล้ว

      please update your Mininet and ubutu to latest version

  • @poornimadevip4735
    @poornimadevip4735 5 ปีที่แล้ว +1

    Sir, will u plz say about how to send a packet from host to controller.

    • @WESHAREknowledge
      @WESHAREknowledge  5 ปีที่แล้ว

      if you want to use FTP you should write the code, cannot test with Mini Edit.

    • @poornimadevip4735
      @poornimadevip4735 5 ปีที่แล้ว +1

      @@WESHAREknowledge tq sir

  • @mohammadjabbaryfar5669
    @mohammadjabbaryfar5669 7 ปีที่แล้ว

    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.

    • @WESHAREknowledge
      @WESHAREknowledge  7 ปีที่แล้ว

      sorry sir I am not clear how to add parameter to miniedit also

  • @wasich9553
    @wasich9553 2 ปีที่แล้ว +1

    Could please share link here of this

  • @muhammadkhizar3659
    @muhammadkhizar3659 7 ปีที่แล้ว +1

    how can the remote controller request switches to send statistics ?

    • @WESHAREknowledge
      @WESHAREknowledge  7 ปีที่แล้ว

      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.

    • @muhammadkhizar3659
      @muhammadkhizar3659 7 ปีที่แล้ว

      I am using pox
      And want to send statistics of switches (eg number of packets in/out) to the controller

    • @WESHAREknowledge
      @WESHAREknowledge  7 ปีที่แล้ว

      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!

    • @muhammadkhizar3659
      @muhammadkhizar3659 7 ปีที่แล้ว +1

      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.

    • @WESHAREknowledge
      @WESHAREknowledge  7 ปีที่แล้ว

      ok let me try for you, but will take times because I will go outside of my country.

  • @wasich9553
    @wasich9553 2 ปีที่แล้ว +1

    awesome.. please paste the commands here to open a graphical representation of mini edit

    • @WESHAREknowledge
      @WESHAREknowledge  2 ปีที่แล้ว

      sorry brother I stop research on it for along time!

  • @mohammedalhidary9633
    @mohammedalhidary9633 5 ปีที่แล้ว +1

    hi sir
    can i do server load balancing in MiniEdit

    • @WESHAREknowledge
      @WESHAREknowledge  5 ปีที่แล้ว

      I think you can not, please write your own code with python

    • @teamekahsay9532
      @teamekahsay9532 4 ปีที่แล้ว

      @@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

  • @ankitachavan9381
    @ankitachavan9381 5 ปีที่แล้ว +2

    Please add how to create network by adding firewall rules

  • @hashemaljghami7878
    @hashemaljghami7878 6 ปีที่แล้ว

    )i have problem with (xterm command) and (miniedit command
    no display i have error

    • @WESHAREknowledge
      @WESHAREknowledge  6 ปีที่แล้ว

      please restart your machine and run it in root user

  • @vanireddy9873
    @vanireddy9873 7 ปีที่แล้ว

    sir can you please let me know how to perform load balancing using pox controller in miniedit

    • @WESHAREknowledge
      @WESHAREknowledge  7 ปีที่แล้ว

      I recommend you to write you own code because for MiniEdit can not do every things that you need

  • @legohistory
    @legohistory 4 ปีที่แล้ว +2

    Very funny vietnamese accent :D
    I like it

  • @RA-il8uj
    @RA-il8uj 5 ปีที่แล้ว +1

    Hello please can you make video on the distributed controller in mininet using ryu controller and pox?

    • @WESHAREknowledge
      @WESHAREknowledge  5 ปีที่แล้ว

      ok I will do for you for next times. because now I am doing Advance Laravel Ecommerce Tutorial Projects. thanks for watching and subscribe.

    • @RA-il8uj
      @RA-il8uj 5 ปีที่แล้ว

      If you want my email I can sent you my email to send me any help please ?

    • @RA-il8uj
      @RA-il8uj 5 ปีที่แล้ว +1

      yaznahmed6@gmail.com
      Thanks my brother so much we are so helpful person.

    • @WESHAREknowledge
      @WESHAREknowledge  5 ปีที่แล้ว +1

      please subscribe my channel and you will see when I upload more tutorials

    • @WESHAREknowledge
      @WESHAREknowledge  5 ปีที่แล้ว +1

      if you need some data that relate to Mininet you can give me the email. I will send to you some

  • @rugnak
    @rugnak 7 ปีที่แล้ว +1

    Miniedit is a tool for creating topology. If you want a reverse tool, you can use Mininet Topology Visualizer: mininet.spear.narmox.com

  • @salmansyed9962
    @salmansyed9962 3 ปีที่แล้ว

    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

    • @WESHAREknowledge
      @WESHAREknowledge  3 ปีที่แล้ว

      let me check for you

    • @salmansyed9962
      @salmansyed9962 3 ปีที่แล้ว +1

      @@WESHAREknowledge thank you very much. Waiting for reply.

  • @seemaya3197
    @seemaya3197 3 ปีที่แล้ว +1

    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

    • @WESHAREknowledge
      @WESHAREknowledge  3 ปีที่แล้ว +1

      what is kind of you Error?, when you install Mininet Wifi you will have MininiEdit to use.

    • @seemaya3197
      @seemaya3197 3 ปีที่แล้ว +1

      @@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

    • @WESHAREknowledge
      @WESHAREknowledge  3 ปีที่แล้ว

      I am not sure the last version of mininet is working fine with ubuntu 20.04

    • @seemaya3197
      @seemaya3197 3 ปีที่แล้ว +1

      @@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

    • @WESHAREknowledge
      @WESHAREknowledge  3 ปีที่แล้ว

      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.

  • @shreyashwaghmare9136
    @shreyashwaghmare9136 2 ปีที่แล้ว

    forgot password.can you help me out sir

  • @ermiashailu8525
    @ermiashailu8525 3 ปีที่แล้ว +1

    you need have to show as how to pingall and the result.

  • @mousaladkani2102
    @mousaladkani2102 7 ปีที่แล้ว

    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 :(

    • @WESHAREknowledge
      @WESHAREknowledge  7 ปีที่แล้ว +1

      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/

    • @mousaladkani2102
      @mousaladkani2102 7 ปีที่แล้ว

      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 :(

    • @WESHAREknowledge
      @WESHAREknowledge  7 ปีที่แล้ว

      you build layer 3 firewall in SDN or another software? please tell me more detail.

    • @mousaladkani2102
      @mousaladkani2102 7 ปีที่แล้ว

      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

    • @WESHAREknowledge
      @WESHAREknowledge  7 ปีที่แล้ว +1

      I am not clear about l3 firewall also, if next time I found it I will tell you

  • @JagdeepSingh-rt2nu
    @JagdeepSingh-rt2nu 4 ปีที่แล้ว

    Please help

    • @WESHAREknowledge
      @WESHAREknowledge  4 ปีที่แล้ว +1

      sorry brother, this project I stop research for along time

  • @ahmedalanazi7743
    @ahmedalanazi7743 6 ปีที่แล้ว

    hi how are you i have some q

  • @yourcode8738
    @yourcode8738 2 ปีที่แล้ว +1

    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

    • @WESHAREknowledge
      @WESHAREknowledge  2 ปีที่แล้ว

      can you find file miniedit.py?

    • @ChetanaRajput07
      @ChetanaRajput07 6 หลายเดือนก่อน

      I have the same issue I can even find miniedit.py but still having same error

  • @oreopls69
    @oreopls69 7 ปีที่แล้ว

    does the unbuntu VM version matters? can i have the links of the required software u used in the video

    • @WESHAREknowledge
      @WESHAREknowledge  7 ปีที่แล้ว +1

      ubuntu-14.04 LTS is working well with Mininet

    • @WESHAREknowledge
      @WESHAREknowledge  7 ปีที่แล้ว

      if you try others version is not working

    • @oreopls69
      @oreopls69 7 ปีที่แล้ว

      ok thanks

    • @oreopls69
      @oreopls69 7 ปีที่แล้ว

      what is the ubuntu set up ?

    • @WESHAREknowledge
      @WESHAREknowledge  7 ปีที่แล้ว

      I am not clear for your question? please tell me in detail?

  • @hashemaljghami7878
    @hashemaljghami7878 6 ปีที่แล้ว

    hello i try the mininet command :(mininet/examples/miniedit.py
    ???but the display cant run the GUi
    CAN YOU HELP Me