CN108540307B - Software and hardware mixed virtual network customization system based on SDN - Google Patents
Software and hardware mixed virtual network customization system based on SDN Download PDFInfo
- Publication number
- CN108540307B CN108540307B CN201810172417.4A CN201810172417A CN108540307B CN 108540307 B CN108540307 B CN 108540307B CN 201810172417 A CN201810172417 A CN 201810172417A CN 108540307 B CN108540307 B CN 108540307B
- Authority
- CN
- China
- Prior art keywords
- virtual network
- sdn
- network topology
- link
- data packet
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/12—Discovery or management of network topologies
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/14—Network analysis or design
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/22—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/70—Virtual switches
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a software and hardware mixed virtual network customization system based on an SDN (software defined network), which comprises: an SDN physical switch; the visual interaction module is used for constructing a virtual network topology; a controller for constructing a flow table entry according to the virtual network topology and the actual physical connection; and the link simulation module is used for capturing, analyzing and processing according to the virtual network topology. The invention can realize that one SDN physical switch is virtualized into a plurality of switches, thereby improving the reality of simulation experiments, accelerating the speed of building the SDN physical experiment environment, saving the cost, and the built network has the characteristics of strong function expansibility and good flexibility.
Description
Technical Field
The invention relates to a network virtualization technology, in particular to a software and hardware hybrid virtual network customization system based on an SDN.
Background
Mininet is the most popular SDN simulation experiment platform at present, and can quickly construct an SDN network, including a host node, a switch node and a controller, however, the SDN network constructed by Mininet is fully virtualized, does not use a real SDN switch, and cannot completely and truly show the real experiment test condition of the SDN network. Because the SDN physical switch is expensive, if the environment is built by using the SDN physical switch completely, a huge amount of overhead is caused, and a large amount of time is consumed.
Network virtualization technology can bring many advantages to IT enterprises, including fast configuration of network resources, reduced operating costs, and improved network visibility, policy, and business processes. Common methods such as dividing ports of an SDN physical switch so that some ports belong to one virtual switch and other ports belong to another virtual switch; the method of dividing the ports enables the simulated virtual SDN switch to be very limited, and the topology of the virtual SDN switch is greatly affected by the connection of the physical switch, so that the simulation of packet loss rate and time delay cannot be realized.
Disclosure of Invention
The invention aims to provide a software and hardware mixed virtual network customization system based on an SDN.
The technical scheme for realizing the purpose of the invention is as follows: a software and hardware hybrid virtual network customization system based on an SDN (software defined network), comprising: an SDN physical switch;
the visual interaction module is used for constructing a virtual network topology;
a controller for constructing a flow table entry according to the virtual network topology and the actual physical connection;
and the link simulation module is used for capturing, analyzing and processing according to the virtual network topology.
Further, the visual interaction module is used for reading the initial virtual network topology information, displaying an initial virtual network topology graph for a user, wherein the initial virtual network topology graph comprises virtual network node attributes and virtual network connection attributes, and storing attribute data of the virtual nodes and virtual connections.
Further, the visual interaction module draws a virtual network topological graph through the interaction function of the visual interface; the method can interactively edit the attributes of the virtual network nodes and add the extended attributes, for each host node, an IP address needs to be provided, and for each switch, a serial number needs to be provided; the virtual network connection attribute can be interactively edited and the extension attribute is added, and the packet loss rate of the link and the time delay of the link can be specified for the link between the switches.
Further, reading virtual network configuration information generated by a visual interface through a controller, calculating a forwarding path of a data Packet according to virtual network topology and actual physical connection when receiving Packet-in information, issuing a flow table entry, and guiding forwarding of the data Packet;
the actual physical connection comprises the connection of the port of the SDN physical switch with a user switch, a controller and a link simulation module.
Further, the link simulation module is used for capturing the data packet, analyzing the captured data packet, and performing discarding, delayed sending or direct sending processing.
Compared with the prior art, the invention has the following remarkable advantages: the invention can realize that one SDN physical switch is virtualized into a plurality of switches, thereby improving the reality of simulation experiments, accelerating the speed of building the SDN physical experiment environment, saving the cost, and the built network has the characteristics of strong function expansibility and good flexibility.
Drawings
Fig. 1 is a schematic diagram of physical connection of a software and hardware hybrid virtual network customization system based on an SDN according to the present invention.
Fig. 2 is a virtual network topology diagram of a software and hardware hybrid virtual network customization system based on an SDN according to the present invention.
Fig. 3 is a schematic diagram of the content of a flow entry of the software and hardware hybrid virtual network customization system based on the SDN according to the present invention.
Fig. 4 is a display diagram of a visual interactive interface of the software and hardware hybrid virtual network customization system based on SDN according to the present invention.
Detailed Description
The invention realizes that one SDN switch is virtualized into a plurality of SDN switches, and sets up the SDN network simulation system with virtual-real combination through the setting of the switch flow table items by the controller.
The system mainly comprises the following contents:
1) integration and simulation of SDN hardware and controllers
2) Expandable and configurable network topology and experimental environment
3) Link simulation can be realized in a window interface
4) Lightweight user UI configuration
5) The controller performs flow monitoring and analysis
The virtual-real combined SDN network simulation system is divided into 3 modules which are respectively a visual interaction module, a controller and a link simulation module. The visual interaction module is responsible for constructing virtual network topology, the controller module is responsible for issuing corresponding flow table items to guide data packet forwarding according to the constructed virtual network topology, and the link simulation module is responsible for delaying or discarding data packets and simulating links according to the constructed virtual network topology.
The visualization interaction module can construct a virtual network topology. The constructed virtual network topology comprises host nodes and switch nodes. The host node contains host IP information and the switch node contains its number. The link information includes packet loss rate and time delay of the link.
The visual interaction module can store the constructed virtual network topology information in a text form for the controller to read.
The controller constructs a flow table entry according to the constructed virtual network topology and the actual physical connection condition, and guides the forwarding of the data packet. When a Packet-in message arrives, the controller calculates the forwarding path of the data Packet according to the virtual network topology and issues a flow table entry. The matching field of the flow table entry contains information of the virtual link, and the action of the flow table entry contains the modification of the Mac address field of the data packet source, so that the field can record the information of the virtual link.
The controller also needs to send the virtual network topology information to the link simulation module. In order to enable the controller to communicate with the link simulation module, the controller needs to simultaneously connect to a normal network port of the SDN physical switch and issue a flow table entry for enabling the controller to communicate with the link simulation module. The controller communicates with the link emulation module through the REST API. If the packet is not the last hop through the virtual network link, the packet is forwarded to the link emulation host. For the data packet needing to be delayed, the link simulation module starts a new thread for the data packet, and sends the data packet out after the thread corresponding to the data packet sleeps for the required time.
And the link simulation module carries out network simulation according to the virtual network topology information sent by the controller. The link simulation module can capture data packets, and analyze and process the captured data packets, including discarding, sending in a delayed manner, and sending directly. Because the source Mac address field of the data packet records link information, the link simulation module processes the discarding or delayed sending or direct sending of one data packet by analyzing the captured source Mac address field of the data packet and utilizing the acquired virtual network topology information.
The present invention will be described in detail with reference to examples.
Examples
A software and hardware mixed virtual network customization system based on SDN comprises an SDN physical switch; the visual interaction module is used for constructing a virtual network topology; a controller for constructing a flow table entry according to the virtual network topology and the actual physical connection; and the link simulation module is used for capturing, analyzing and processing according to the virtual network topology.
The visual interaction module uses Web technology, and can support cross-platform use through browser access. The visualization interaction module is developed by using html5, and interface rendering and data binding are performed by using a D3.js library.
As shown in fig. 4, the functions of the visual interaction module include reading and saving a configuration file, displaying a virtual network topology diagram and performing automatic layout, supporting addition of a switch in a dragging manner, supporting completion of position adjustment of the network topology diagram in a dragging manner, supporting creation of a network connection in a dragging manner, supporting deletion of a switch and deletion of a network connection, supporting display and editing of network node attributes, supporting display and editing of network connection attributes, and supporting linkage operation of the network topology diagram and attribute data.
The controller module uses an Ryu controller, and the Ryu controller is installed in a host of the linux system. Ryu was developed using python language.
The controller module uses a python program, the link simulation program uses python language, the dpkt is used for unpacking, and the pcap is used for packet capturing and sending. The pcap can capture a designated network card, designate a data packet of a packet type, and send out the data packet.
The physical switch used by the present invention is a generic V350 SDN switch. The Shengke V350 switch integrates Open vSwitch and supports the OpenFlow 1.3.x standard. Multiple types of controllers are supported, and SDN controllers can be added, deleted and reset.
Fig. 1 shows the physical connection of the system, the computer A, B is a user computer, the computer C simulates a link, such as packet loss rate, delay, etc., of the link, and the computer D is a controller. The link information, node information and the like of the foreground simulation interface are stored as texts for the controller to read, and the controller also sends the network node and link information to the computer C.
A visual interaction module:
and constructing a virtual network topology, wherein the constructed virtual network topology comprises a host node and a switch node.
And saving the virtual network topology in a text form for reading by the controller.
A controller:
and acquiring a virtual network topology, constructing a flow table entry according to the actual physical connection condition, and guiding the forwarding of the data packet.
And according to the virtual network topology, calculating the forwarding path of the data packet and issuing a flow table entry.
A link simulation module:
and performing network simulation, and performing simulation according to the virtual network topology information sent by the controller.
According to the network requirement, the data packet is processed by discarding or sending in a delayed mode or sending directly.
The constructed virtual network topology is as shown in fig. 2, in a simulation environment, a computer a is to send a data packet to a computer B, and an actual forwarding path of the data packet is computer a-SDN switch-computer C-SDN switch-computer B via a link a-01-03-B in combination with fig. 1.
Firstly, a constructed network topology needs to be given by a visual interaction module, an IP address needs to be given for each host node, a serial number needs to be given for each switch node, and the packet loss rate of a link and the time delay of the link can be specified for the link between switches. The visual interaction module stores the configuration of the virtual network into a local file, and the controller can read the local file to obtain the configuration information of the virtual network. For each link, the controller replaces the link passed by the data packet by modifying some content of a data packet header field, the invention records the link passed by the data packet by modifying a source Mac address of the data packet, the switch numbers are 01-99, and path information is recorded by the last 16 bits in the source Mac address, such as 11:22:33:44:01:02, which represents that the data packet passes through the link between the switches 01 and 02 (the first 32 bits have no practical significance). From a to B, the controller needs to issue 3 flow table entries corresponding to the links between a-01, 01-03, and 03-B, respectively. As shown in fig. 3, the issued 3 flow entries are:
the flow table entry corresponds to a link from A to 01, after the data packet is matched with the flow table entry 1, the source mac address is modified and forwarded to a host C (connected with a port 9 of the physical switch) in charge of simulating the link, and the host C makes a decision of delaying, discarding or sending by analyzing the mac address of the data packet and utilizing virtual network information sent by the controller. If the host C sends the packet back to the switch, the packet will be matched with the 2 nd flow entry, the 2 nd flow entry will record the information of the link 01-03 into the source mac address and forward the packet to the host C, the host C sends the packet back to the switch, the packet will be matched with the 3 rd flow entry, and this flow entry forwards the packet to the host B.
Claims (2)
1. A software and hardware hybrid virtual network customization system based on an SDN (software defined network), comprising:
an SDN physical switch;
the visual interaction module is used for constructing a virtual network topology;
a controller for constructing a flow table entry according to the virtual network topology and the actual physical connection;
the link simulation module is used for capturing, analyzing and processing according to the virtual network topology;
the visual interaction module is used for reading initial virtual network topology information, displaying an initial virtual network topology graph for a user, and storing attribute data of virtual nodes and virtual connections, wherein the initial virtual network topology graph comprises virtual network node attributes and virtual network connection attributes; the visual interaction module draws a virtual network topological graph through the interaction function of a visual interface; the method can interactively edit the virtual network node attribute and add the extended attribute, provide an IP address for each host node, and provide a number for each switch; the virtual network connection attribute can be interactively edited, the extension attribute is added, and the packet loss rate and the time delay of the link are specified for the link between the switches;
the controller reads virtual network configuration information generated by the visual interface, calculates a forwarding path of the data Packet according to virtual network topology and actual physical connection when receiving Packet-in information, and issues a flow table entry to guide forwarding of the data Packet; the actual physical connection comprises the connection of the port of the SDN physical switch with a user switch, a controller and a link simulation module.
2. The SDN-based software and hardware hybrid virtual network customization system according to claim 1, wherein the link simulation module is configured to capture a data packet, parse the captured data packet, and discard, delay forwarding or directly forward the data packet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810172417.4A CN108540307B (en) | 2018-03-01 | 2018-03-01 | Software and hardware mixed virtual network customization system based on SDN |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810172417.4A CN108540307B (en) | 2018-03-01 | 2018-03-01 | Software and hardware mixed virtual network customization system based on SDN |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108540307A CN108540307A (en) | 2018-09-14 |
CN108540307B true CN108540307B (en) | 2022-01-11 |
Family
ID=63486265
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810172417.4A Active CN108540307B (en) | 2018-03-01 | 2018-03-01 | Software and hardware mixed virtual network customization system based on SDN |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108540307B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109412888B (en) * | 2018-10-09 | 2021-02-02 | 迈普通信技术股份有限公司 | Virtual switch monitoring method and device |
CN109462597B (en) * | 2018-12-07 | 2021-07-06 | 奇安信科技集团股份有限公司 | Flow visualization method, system, equipment and medium |
CN109802852B (en) * | 2018-12-13 | 2022-06-17 | 烽台科技(北京)有限公司 | Method and system for constructing network simulation topology applied to network target range |
CN109525495B (en) * | 2018-12-24 | 2022-03-11 | 广东浪潮大数据研究有限公司 | Data processing device and method and FPGA board card |
CN109587010B (en) * | 2018-12-28 | 2020-07-07 | 迈普通信技术股份有限公司 | Connectivity detection method and stream forwarding equipment |
CN110177016A (en) * | 2019-05-27 | 2019-08-27 | 北京计算机技术及应用研究所 | A kind of network security experimental enviroment fast construction method |
CN110493210B (en) * | 2019-08-09 | 2021-12-24 | 南京理工大学 | Configurable network security experiment system based on SDN |
CN110557288B (en) * | 2019-09-16 | 2022-04-22 | 鹏城实验室 | Network visualization editing and automatic deployment system based on OpenStack |
CN111416747B (en) * | 2020-03-27 | 2021-11-19 | 鹏城实验室 | Network fragmentation control method and network fragmentation system |
CN113114509B (en) * | 2021-04-16 | 2023-04-18 | 浪潮思科网络科技有限公司 | Method and equipment for message forwarding simulation in SDN network environment |
CN115118607A (en) * | 2022-04-29 | 2022-09-27 | 南京邮电大学 | SDN-based automatic virtual network topology construction method |
CN115378822B (en) * | 2022-08-19 | 2023-06-06 | 武汉烽火技术服务有限公司 | DDS distributed application simulation method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104104718A (en) * | 2014-07-02 | 2014-10-15 | 北京邮电大学 | User autonomous routing customization system based on software-defined network |
CN104363159A (en) * | 2014-07-02 | 2015-02-18 | 北京邮电大学 | Virtual open network building system and method based on software definition network |
JP2016519487A (en) * | 2013-03-20 | 2016-06-30 | ヴォルティング ホールディング ベー.フェー. | Compilers and methods for software defined networks |
CN105763570A (en) * | 2016-04-26 | 2016-07-13 | 北京交通大学 | Virtualization-technology-based distributed real-time network simulation system |
-
2018
- 2018-03-01 CN CN201810172417.4A patent/CN108540307B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016519487A (en) * | 2013-03-20 | 2016-06-30 | ヴォルティング ホールディング ベー.フェー. | Compilers and methods for software defined networks |
CN104104718A (en) * | 2014-07-02 | 2014-10-15 | 北京邮电大学 | User autonomous routing customization system based on software-defined network |
CN104363159A (en) * | 2014-07-02 | 2015-02-18 | 北京邮电大学 | Virtual open network building system and method based on software definition network |
CN105763570A (en) * | 2016-04-26 | 2016-07-13 | 北京交通大学 | Virtualization-technology-based distributed real-time network simulation system |
Also Published As
Publication number | Publication date |
---|---|
CN108540307A (en) | 2018-09-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108540307B (en) | Software and hardware mixed virtual network customization system based on SDN | |
US10237172B2 (en) | Using headerspace analysis to identify flow entry reachability | |
EP3355534B1 (en) | Tracing network packets at a managed forwarding element | |
US20160149791A1 (en) | Tracing Logical Network Packets Through Physical Network | |
CN101894192B (en) | Simulation and demonstration system for design and validation of AFDX (Avionics Full Duplex Switched Ethernet) network and simulation and demonstration method thereof | |
CN113810791B (en) | Method for improving intelligent network card/DPU network telemetering technology performance | |
US9001668B2 (en) | Endpoint selection in a network test system | |
US20130305091A1 (en) | Drag and drop network topology editor for generating network test configurations | |
JP6293283B2 (en) | Offline queries in software-defined networks | |
CN104283891B (en) | By the method and apparatus of business function node access service chain network | |
US20160299958A1 (en) | Method and apparatus for visual logging in networking systems | |
CN102271084A (en) | Technology for locating communication paths of network host | |
CN105553851A (en) | SDN-based network processor microcode and flow table implementation device and method | |
WO2014041813A1 (en) | Information processing apparatus, configuration method, communication system, and program | |
CN104811752A (en) | Multi-screen synchronization method and playing system for the same local area network | |
CN103560957A (en) | Table look-up key value construction method and microcode issuing method, device and system | |
US9813288B2 (en) | Control apparatus, control method, communication system, and program for issuing database operation command to operate database | |
US9979594B2 (en) | Methods, apparatuses, and systems for controlling communication networks | |
CN109417507A (en) | The message of section retards accesses | |
CN111600776B (en) | TR069 batch interactive test system and method thereof | |
CN113507398B (en) | Network topology state detection method, device, computing equipment and storage medium | |
CN112698829B (en) | Abnormal resource positioning method and device, storage medium and electronic equipment | |
CN113472878B (en) | Method and device for realizing file dragging transmission in VNC by using browser plug-in | |
CN115277428A (en) | Method and apparatus for configuring a network | |
CN102843269A (en) | Method and system of analog microcode business processing flow |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |