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.
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
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
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.
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.
'+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.
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
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.