我已安装mininet,然后运行它,但主机之间没有ping。
ali@ubuntu:~$ sudo mn
No default OpenFlow controller found for default switch!
Falling back to OVS Bridge
Creating network
Adding controller
Adding hosts:
h1 h2
Adding switches:
s1
Adding links:
(h1, s1) (h2, s1)
Configuring hosts
h1 h2
Starting controller
Starting 1 switches
s1 ...
Starting CLI:
mininet> pingall
Ping: testing ping reachability
h1 -> X
h2 -> X
Results: 100% dropped (0/2 received)
答案 0 :(得分:0)
“找不到默认开关的默认OpenFlow控制器!”
主机之间没有ping,因为您的网络没有控制器。 您甚至需要一个控制器来引导切换到“act_like_switch”或“act_like_hub”。其他交换机不会转发数据包。
问题是您安装了mininet,但mininet由于某种原因找不到默认控制器。