更新mininet内置的ovs

这篇博客介绍了如何更新mininet中默认的OpenvSwitch(OVS)版本。由于mininet自带的OVS版本为2.0.2,作者提供了一个升级流程。在升级过程中,可能会遇到因Linux内核版本过高导致的错误。解决方法是参照OpenvSwitch官网的FAQ,根据内核版本选择合适的OVS版本进行下载和配置。
摘要由CSDN通过智能技术生成

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

aptitude remove openvswitch-common openvswitch-datapath-dkms openvswitch-controller openvswitch-pki openvswitch-switch -y

wget http://openvswitch.org/releases/openvswitch-2.4.0.tar.gz

tar zxvf openvswitch-2.4.0.tar.gz

cd openvswitch-2.4.0

./configure --prefix=/usr --with-linux=/lib/modules/·uname -r·/build

make

sudo make install

sudo make modules_install

sudo rmmod openvswitch

sudo depmod -a

sudo /etc/init.d/openvswitch-controller stop

sudo update-rc.d openvswitch-controller disable

sudo /etc/init.d/openvswitch-switch start

如果在make时提示no targets specified and no makefile found应该回到configure

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值