In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Mininet
Mininet is a lightweight software-defined networking and testing platform It uses lightweight virtualization technology to make a single system look like a complete network running related kernel system and user code. It can also be simply understood as a process-based virtualization platform in SDN network system. It supports OpenFlow, OpenvSwith and other protocols. Mininet can also simulate a complete network host, link and switch on the same computer and facilitate interactive development, testing and demonstration. Especially those who use OpenFlow and SDN technology At the same time, the code under the virtualized platform of this process can also be migrated to the real environment.
Characteristics of Mininet
You can simply and quickly create a network topology that supports user definition, shorten the development and test cycle, run real programs, and basically all programs running on Linux can be run on Mininet, such as WiresharkMininet supporting Openflow, and code running on Mininet can be easily ported to hardware devices that support OpenFlow. Mininet can run on its own computer, or server, or virtual machine. Or run Mininet on the cloud (such as Amazon EC2) to provide python API, easy to use Mininet is an open source project, the source code is here: https://github.com/mininet
Install Mininet
Get the source code
Git clone git://github.com/mininet/mininet
Enter the directory
Cd mininet
Complete installation
. / util/install.sh-a
For the first time, I don't know what information to configure. It is recommended to install it completely.
test
Sudo mn-test pingall
View mininet version
Mn-version
Other installation commands
# install.sh-a # # full installation (installed in home directory by default) # install.sh-s mydir-a # # full installation (installed in other directories) # install.sh-nfv # # install Mininet+ user switch + OVS (installed in home directory) # install.sh-s mydir-nfv # # install Mininet+ user switch + OVS (installed in other directories)
Create a very simple data center network
Data center networks usually have a tree topology. The end host is connected to the top-of-rack switches that form the edges of the tree, one or more core switches form the root, and one or more aggregation switch layers form the middle of the tree. In a basic tree topology, each switch (except the core switch) has a single parent switch. Additional switches and links can be added to construct a more complex tree topology (e.g.fat tree) in an effort to improve fault tolerance or increase inter-rack bandwidth.
In this task, your task is to create a simple tree topology. You will assume that each level, core, aggregation, edge and host, consists of a single-layer switch / host with a configurable fan-out value (k), which looks like:
Summary
The above is the whole content of this article. I hope the content of this article has a certain reference and learning value for everyone's study or work. Thank you for your support. If you want to know more about it, please see the relevant links below.
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: 227
*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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.