更新mininet内置的ovs

来源:互联网 发布:mac lol 韩服 编辑:程序博客网 时间:2024/06/18 00:14

目前mininet内置的ovs为2.0.2版本
要升级此ovs版本按以下步骤:

aptitude remove openvswitch-common openvswitch-datapath-dkms openvswitch-controller openvswitch-pki openvswitch-switch -ywget http://openvswitch.org/releases/openvswitch-2.4.0.tar.gztar zxvf openvswitch-2.4.0.tar.gzcd openvswitch-2.4.0./configure --prefix=/usr --with-linux=/lib/modules/·uname -r·/buildmakesudo make installsudo make modules_installsudo rmmod openvswitchsudo depmod -asudo /etc/init.d/openvswitch-controller stopsudo update-rc.d openvswitch-controller disablesudo /etc/init.d/openvswitch-switch start

如果在make时提示no targets specified and no makefile found应该回到configure查看configure提示的错误
我遇到的问题是linux内核版本过高,所以根据OpenvSwitch官网的FAQ修改wget步的版本即可
OpenvSwitch与Linux内核版本对应关系如下
OpenvSwitch与Linux内核版本对应关系

原创粉丝点击