设置带宽时Ubuntu 16.04中的Mininet错误

时间:2016-12-13 07:54:28

标签: ubuntu mininet openvswitch

sudo mn --link tc,bw=10,delay=10m提供以下内容

$ sudo mn --link tc,bw=10
*** Creating network
*** Adding controller
*** Adding hosts:
h1 h2 
*** Adding switches:
s1 
*** Adding links:
(10.00Mbit) *** Error: RTNETLINK answers: No such file or directory
(10.00Mbit) *** Error: RTNETLINK answers: No such file or directory
(h1, s1) (10.00Mbit) *** Error: RTNETLINK answers: No such file or directory
(10.00Mbit) *** Error: RTNETLINK answers: No such file or directory
(h2, s1) 
*** Configuring hosts
h1 h2 
*** Starting controller
c0 
*** Starting 1 switches
s1 ...(10.00Mbit) (10.00Mbit) 
*** Starting CLI:
mininet> exit
*** Stopping 1 controllers
c0 
*** Stopping 2 links
..
*** Stopping 1 switches
s1 
*** Stopping 2 hosts
h1 h2 
*** Done
completed in 199.858 seconds

可以在Ubuntu 16中重现,但不能在Ubuntu 14中重现

如果未设置bwdelay,则无误。有人可以帮忙吗?

1 个答案:

答案 0 :(得分:0)

存储库中的

Issue #629建议从源代码安装,而不是从Ubuntu仓库安装。

cd ~
git clone git://github.com/mininet/mininet
cd mininet
sudo make install