Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to upgrade Openvswitch in Ubuntu14.04 Mininet

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to upgrade Openvswitch in Ubuntu14.04 Mininet. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

Download Mininet first

Apt-get install mininetservice openvswitch-controller stopupdate-rc.d openvswitch-controller disablemn-- test pingall the following error may occur here sudo mn-- mac-- controller=remote,port=6653-- topo=tree Adding controller Adding hosts: H2 h3 h4 h5 Adding switches: S1 S2 s3Adding links: * gave up after 3 retries

The solution to the above problems is to reduce the kernel version of linux from 4.x to 3.x.

Download the corresponding version of Openvswitch

Openvswitch downloads the corresponding version

Cd / homemkdir openvswitchcd openvswitchrz # uploads the downloaded Openvswitch to tar-xzvf openvswitch-2.4.1.tar.gzcd openvswitch-2.4.1apt-get install build-essential fakerootapt-get install debhelper autoconf automake libssl-dev pkg-config bzip2 openssl python-all procps python-qt4 python-zope.interface python-twisted-conch ipsec-tools racoon python-twisted-web module-assistant graphviz libtool dkms after installation: dpkg-checkbuilddepsfakeroot debian/rules binarycd.. # that is, exit to the newly created openvswitch directory dpkg-I * .deb. Here, if you find that the package dependency problem is wrong, uninstall the corresponding program first. The corresponding dependent program of apt-get install is to re-dpkg-I * .deb where the Openvswitch-controller of Openvswitch may not be able to use the file cd / usr/bincp ovs-testcontroller ovs-testcontroller.bak # backup mv ovs-testcontroller ovs-controller # to change the name / etc/init.d/openvswitch-switch restart # restart ovs-vsctl-- version to check the version under / usr/bin

Due to version problems, there will be an ovs-controller error after the final completion.

Apt-get purge openvswitch-controller # Uninstalls the old version of ovs-controllercd / usr/bin/mv. / ovs-testcontroller. / ovs-testcontroller.bakmv. / ovs-testcontroller. / ovs-controller

The problem can be solved.

This is the end of this article on "how to upgrade Openvswitch in Ubuntu14.04 Mininet". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report