Module 3.4: Mininet and the Mininet Python API

แชร์
ฝัง

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

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

    man you explain stuff better than any professor

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

    Thank you for existing

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

    how can I learn all types of creating custom topologies?

  • @lucasmascarenhasalmeida9300
    @lucasmascarenhasalmeida9300 7 หลายเดือนก่อน

    💖

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

    Sir we are going to implement bidirectional forward detection algorithms in mininet plz help us how to implement bfd program in mininet

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

    How can I simulate a wireless connection such as base station and satellite?

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

    dpctl show tcp:127.0.0.1:6634 is not working it responds "ovs-ofctl: 'add-flow' command takes at most 2 arguments
    "

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

    You mentioned a "opneflow tutorial" but It seems not part of these 41 videos. Am I wrong?

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

    How can I implement my phishing ml detection on mininet to detect phishing at the edge of the network

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

    PLEASE help me if used Mininet which Editor Language ?

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

    I want to run my own topology but I don't know what folder to store it or how to execute it. What should I do?

    • @vishalkumar-kc5xw
      @vishalkumar-kc5xw 7 ปีที่แล้ว

      Go to the folder of mininet and create a file xyz.py. Then write the code for the corresponding topology and run it as sudo python xyz.py.
      src: github.com/PrincetonUniversity/Coursera-SDN/tree/master/assignments/mininet-topology

  • @xmlxml9058
    @xmlxml9058 8 ปีที่แล้ว +2

    Hi everybody,
    I'm traying to change mininet link properties but i can't.
    Anyone know some way to do it?
    For example after add "net.addLink(h1, s4, 0, 3, bw=100, delay='5ms', loss=0, max_queue_size=1000, use_htb=True )" in python script.
    There are any command to change the delay or the bandwidth with mininet running?
    mininet>----
    Thanks

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

      Hi, had you found any solution? I want to do the same.

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

    I need help with a network engineering assignment. Any chance you made a simpe switcth in python that,
    Key Task 1
    Modify simple_switch.py to include logic to block IP traffic between host 2 and host 3.
    Key Task 2
    Extend simple_switch.py to count all traffic going to and originating at host 1.
    Key Task 3
    Create a rule in simple_switch.py that routes messages to the controller for topology maintenance.

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

      u need help?

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

    Hello guys. Could you help me?
    Is it possible run a python script inside the mininet's prompt? I mean during runtime.
    Thanks

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

      Did you figure this out??
      Currently struggling with how to do this as well right now

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

      I can’t seem to access the python script I wrote
      Or I’m looking for how to access it via the virtual machine
      Please help anyone

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

    how to store .py files and how to open the python interface in xterm?

    • @nilaper8190
      @nilaper8190 9 ปีที่แล้ว

      Palash Bista I want to know that too :/

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

      Just save it anywhere and run it from the same directory .Ex" /home/mydir$ sudo python mycode.py "
      If you are using virtualbox, install xterm. run xming , run putty with x11 forwarding enabled. Now it will automatically catch any window like gedit or miniedit or wireshark.

  • @SuganShakya
    @SuganShakya 8 ปีที่แล้ว

    Could you please tell me : How can i run the script when the python file is in the OS outside Virtual Machine?

    • @fedora2141
      @fedora2141 8 ปีที่แล้ว

      +Sugan Shakya Bro yesto garda huncha hola, from your host machine where your file resides do
      cat mininet_topo.py | ssh mininet@ python

    • @SuganShakya
      @SuganShakya 8 ปีที่แล้ว

      Thank you. Ma try garchhu.

    • @SuganShakya
      @SuganShakya 8 ปีที่แล้ว

      '+fedora 2 1 What is the solution of 'Mininet must be run as root'? The user name and password for Mininet VM is mininet. I tried 'sudo' with command and used VM machine with sudo too.

    • @fedora2141
      @fedora2141 8 ปีที่แล้ว

      Which Distribution are you using, if you are using Fedora, you need to be a real root user, which can be done as,
      for fedora/redhat/centos
      $ su -
      enter your root password and run mininet
      root@fedora21~#mn --topo=linear,2 --mac
      if you are using ubuntu, ubuntu has already sudo users enabled
      $ sudo mn
      on running above command, if the mininet complains, try to login as root user and run mininet
      $ sudo su -
      root@fedora21~#mn
      I think this will solve the problem

    • @SuganShakya
      @SuganShakya 8 ปีที่แล้ว

      +fedora 2 1 Thank you.

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

    I am running ONOS-byon from "github.com/bocon13/onos-byon/blob/master/topos/onosnet.py".....by ./startmn.sh......but getting a message "Need to provide a topology and list of controllers".......Please tell me how do I resolve it.

  • @eliecernoriega5175
    @eliecernoriega5175 9 ปีที่แล้ว

    good afternoon
    friend your videos very educational, it has served me well but I would like to know if you have knowledge miniedit, I would be helpful if you could raise a tutorial for installation and management.

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

      th-cam.com/video/yNmv7GiHIKE/w-d-xo.html

  • @MahimaVuppuluri
    @MahimaVuppuluri 9 ปีที่แล้ว +5

    Where are we supposed to store the .py files?

    • @Paul.v.1127
      @Paul.v.1127 9 ปีที่แล้ว

      Mahima Vuppuluri Hi, you may store it anywhere. When you want to run it, just go to that directory and python it

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

      I had the same question. What do you mean by "go to that directory and python it?"

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

      /home/mydir$ sudo python mycode.py

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

      You can follow steps on this page: www.wikihow.com/Create-and-Edit-Text-File-in-Linux-by-Using-Terminal

  • @shashvjay
    @shashvjay 8 ปีที่แล้ว

    when i run sudo python filename.py , I am getting the error:
    cannot import name createLink.
    Can you please help me out? What am I missing.

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

      +shashwath V see the file that he actually runs seconds later you will see that they are different