Comments (8)
Could you solve your problem? I facing the same problem!
from openflow-tutorial.
I also have the same problem. Please share if you find a solution!
from openflow-tutorial.
I've updated the page to note that you can't (currently) use --mac
with --switch user
because of mininet/mininet#156
Note that --controller remote
implies that you're running the controller separately, as specified earlier on that page.
from openflow-tutorial.
I jsut got the same problem, how to solve it? help
from openflow-tutorial.
Hi, I also got a similar problem like this. My case is a loop is introduced in my topology. However, the default setting of Mininet open vswitch (ovs) disables Spanning Tree Protocol (STP). So the solution for my case is to enable the STP when setting ovs.
The error for the original issue is "no route to 10.0.0.3". Please check the connectivity first.
Just for reference :)
from openflow-tutorial.
Hi, I also got a similar problem like this. My case is a loop is introduced in my topology. However, the default setting of Mininet open vswitch (ovs) disables Spanning Tree Protocol (STP). So the solution for my case is to enable the STP when setting ovs.
The error for the original issue is "no route to 10.0.0.3". Please check the connectivity first.
Just for reference :)
Like this? It is still not working for me :(
self.net = Mininet(topo=None, listenPort=6634, ipBase='10.0.0.0/8', controller=self.controller)
self.h1 = self.net.addHost('host1', mac='00:00:00:00:00:01', ip='10.0.0.1')
self.h2 = self.net.addHost('host2', mac='00:00:00:00:00:02', ip='10.0.0.2')
self.s1 = self.net.addSwitch('s1', cls=OVSKernelSwitch, protocols='OpenFlow13', stp=True)
self.s2 = self.net.addSwitch('s2', cls=OVSKernelSwitch, protocols='OpenFlow13', stp=True)
self.net.addLink(self.h1, self.s1, cls=Link)
self.net.addLink(self.h2, self.s2, cls=Link)
self.net.addLink(self.s1, self.s2, cls=TCLink, bw=self.link_bw)
self.net.addController(name=self.controller)
self.net.start()
self.net.iperf([self.h1, self.h2])
from openflow-tutorial.
Hi, I also got a similar problem like this. My case is a loop is introduced in my topology. However, the default setting of Mininet open vswitch (ovs) disables Spanning Tree Protocol (STP). So the solution for my case is to enable the STP when setting ovs.
The error for the original issue is "no route to 10.0.0.3". Please check the connectivity first.
Just for reference :)Like this? It is still not working for me :(
self.net = Mininet(topo=None, listenPort=6634, ipBase='10.0.0.0/8', controller=self.controller) self.h1 = self.net.addHost('host1', mac='00:00:00:00:00:01', ip='10.0.0.1') self.h2 = self.net.addHost('host2', mac='00:00:00:00:00:02', ip='10.0.0.2') self.s1 = self.net.addSwitch('s1', cls=OVSKernelSwitch, protocols='OpenFlow13', stp=True) self.s2 = self.net.addSwitch('s2', cls=OVSKernelSwitch, protocols='OpenFlow13', stp=True) self.net.addLink(self.h1, self.s1, cls=Link) self.net.addLink(self.h2, self.s2, cls=Link) self.net.addLink(self.s1, self.s2, cls=TCLink, bw=self.link_bw) self.net.addController(name=self.controller) self.net.start() self.net.iperf([self.h1, self.h2])
Hi, what is the exception thrown in your case? Is every node in the connection?
For the stp enabling, according to the reference(http://mininet.org/api/classmininet_1_1node_1_1OVSSwitch.html#ab5db2ef0d48302217833ce1538270310), it would be False until the failMode=standalone (the default is secure). So I run the following common in CLI:
sudo mn XXXX(your topo setting etc.) --switch=ovsk,failMode='standalone',stp=True
Probably you consider the failMode when do 'addSwitch' I guess...
Good luck~
from openflow-tutorial.
Hello, everyone
as a workaround to this issue, I started the controller as a background process before running the commands sudo mn --topo single,3 --mac --controller remote --switch ovsk
followed by iperf
In order to start the controller in background, run
sudo controller ptcp:6633
from openflow-tutorial.
Related Issues (15)
- mininet traffic HOT 1
- Wireshark starts but scrolling is disabled HOT 1
- why OpenFlow send multicast packet-in message. HOT 1
- Python question
- Outdated command in OpenFlow tutorial
- Change to doc HOT 1
- Topology image transparency problem
- Can't configure host-only network interface! HOT 9
- open flow and open v switch HOT 3
- Can't find launcher after install GUI ubuntu-desktop
- Bad instructions for starting a remote controller (?) HOT 3
- Iperf gives same result in Mbits for both hub and controller based ethernet switch HOT 1
- Cannot add a Host only adapter HOT 2
- How to configure a learning switch ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openflow-tutorial.