CN113630481B - Automatic in-band control plane construction method and system in SDN - Google Patents

Automatic in-band control plane construction method and system in SDN Download PDF

Info

Publication number
CN113630481B
CN113630481B CN202110932051.8A CN202110932051A CN113630481B CN 113630481 B CN113630481 B CN 113630481B CN 202110932051 A CN202110932051 A CN 202110932051A CN 113630481 B CN113630481 B CN 113630481B
Authority
CN
China
Prior art keywords
switch
controller
automatic
routing
agent
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
Application number
CN202110932051.8A
Other languages
Chinese (zh)
Other versions
CN113630481A (en
Inventor
陈博文
安菲菲
潘乐炳
杨国东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Institute of Microwave Technology CETC 50 Research Institute
Original Assignee
Shanghai Institute of Microwave Technology CETC 50 Research Institute
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Institute of Microwave Technology CETC 50 Research Institute filed Critical Shanghai Institute of Microwave Technology CETC 50 Research Institute
Priority to CN202110932051.8A priority Critical patent/CN113630481B/en
Publication of CN113630481A publication Critical patent/CN113630481A/en
Application granted granted Critical
Publication of CN113630481B publication Critical patent/CN113630481B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • H04L45/04Interdomain routing, e.g. hierarchical routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/54Organization of routing tables
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a method and a system for constructing an automatic in-band control plane in a software defined network, comprising the following steps: step S1: the controller realizes automatic issuing of the IP address of the SDN controller and full-automatic allocation of the IP address of the exchanger through a link discovery protocol based on a variable-length subnet mask dividing sub-network mode; step S2: based on full-automatic IP address allocation of variable-length subnet masks, in-band routing utilizes classless inter-domain routing and supernetwork routing aggregation techniques to accomplish automatic construction of in-band control routing and flow table configuration. Compared with the traditional control plane construction mode, the in-band control plane can greatly save network resources, and the automatic construction mode is more flexible and efficient.

Description

Automatic in-band control plane construction method and system in SDN
Technical Field
The application relates to the technical field of Internet, in particular to an automatic in-band control plane construction method and system in SDN, and more particularly relates to an automatic in-band control plane construction technology in SDN.
Background
With the development of cloud computing and related services, the application requirements of servers have increased explosively, and the use requirements cannot be met by using a physical server alone, so that virtualization technologies represented by server virtualization are becoming mainstream. With virtual machines created by virtualized software, resources required by users can be dynamically allocated, which puts tremendous strain on the corresponding network resource configurations. Meanwhile, along with the rapid development of the business fields such as the mobile internet, the internet of things and the like, big data are becoming research focus increasingly, and the mass data processing facing the big data are also providing higher requirements for the network.
In the above cases, software Defined Networking (SDN) has emerged as a mainstream solution with its NetWork programmability and extensibility. In an SDN architecture, for implementing network programmability, a network is divided into a control layer and a forwarding layer, where an SDN switch device of the forwarding layer is only responsible for forwarding, and on the other hand, a controller of the control layer is responsible for collecting and controlling network information, which is called as a center of the network, so that the opening of a control plane is an important problem. In conventional solutions, the controller is often connected to the controller in an out-of-band manner, i.e. the controller has a dedicated control link with each switch, in which case the control plane is usually very easy.
Patent document CN108234354B (application number: 201810006188.9) discloses a connection control method of an SDN controller and an SDN switch and an SDN controller system, and relates to the technical field of communications, where the method includes: according to the processing capacity of the SDN switch, adjusting and determining the number of areas of the SDN controller; calculating the number of SDN controllers in each region according to the number of SDN controllers and the number of regions; dividing the regions of the SDN controllers according to the number of the SDN controllers in each region to form a plurality of SDN controller clusters; controlling each SDN controller cluster to respectively establish connection with one SDN switch; the control instructions of at least two main connection SDN controllers in the SDN controller cluster are compared, and the control instructions are transmitted when the comparison results are consistent, so that the technical problem that the control of the SDN controller on the SDN switch cannot be reasonably distributed according to the actual workload of the switch, and the reasonable distribution is more suitable for the actual situation is solved.
However, it is obvious that the out-of-band approach is very wasteful of link resources, not practical in a scenario where large-scale networks or resources are limited, and in-band approach, control plane opening to our knowledge requires manual configuration, which is inflexible and inefficient, so how to automatically open the control plane in-band approach is worth studying.
Disclosure of Invention
Aiming at the defects in the prior art, the application aims to provide an automatic in-band control surface construction method and system in SDN.
The application provides an automatic in-band control plane construction method in SDN, which comprises the following steps:
step S1: the controller realizes automatic issuing of the IP address of the SDN controller and full-automatic allocation of the IP address of the switch through a link discovery protocol (Link Layer Discover Protocol, LLDP) based on a subnet dividing mode of a variable-length subnet mask (Variable Length Subnet Mask, VLSM);
step S2: full-automatic IP address allocation based on VLSM, in-band Routing utilizes class-free Inter-Domain Routing (CIDR) and super-network Routing aggregation technology to complete automatic construction and flow table configuration of in-band control Routing.
Preferably, the variable-length subnet mask is divided into a subnet by adopting the following modes:
step S1.1: dividing the subnets with the largest number of hosts, then continuously dividing the subnets with the largest number of hosts, and repeating until all the subnets are divided;
step S1.2: when the variable length subnet mask is partitioned into subnets, different network sizes are accommodated by using different subnet masks.
Preferably, the step S1 employs:
step S1.3: respectively starting a controller and a controller agent on the switch;
step S1.4: each switch periodically transmits a link discovery protocol message identified as an IP_REQUEST to an adjacent switch or controller;
step S1.5: when the controller receives a link discovery protocol message marked as an IP_REQUEST, a reply message IP_AUTO_RESPONSE is sent to a switch agent directly connected with the controller, wherein the reply message IP_AUTO_RESPONSE comprises IP information required to be configured by the switch and the controller IP information;
step S1.6: when the directly connected switch agent receives the reply message IP_AUTO_RESPONSE, extracting IP information to be configured of the switch and IP information of a controller, and performing configuration processing on the directly connected switch;
step S1.7: when the directly connected switch finishes configuration, a switch agent which sends a link discovery protocol message identified as IP_REQUEST to the directly connected switch sends a reply message IP_AUTO_RESPONSE;
step S1.8: when the exchanger agent receives the reply message IP_AUTO_RESPONSE, extracting the IP information of the exchanger to be configured and the IP information of the controller, and carrying out configuration processing on the corresponding exchanger; repeatedly executing until the switch configuration of the whole network is completed;
the controller agent adopts: the controller agent is physically bound with the switch and is responsible for direct control of the switch, while the controller indirectly controls the switch through the controller agent.
Preferably, the category-free inter-domain routing employs: the classification structure of the IP addresses is canceled, a plurality of address blocks are aggregated together to generate a super network, and a plurality of hosts are contained in a single routing table entry.
Preferably, the routing entries configured in the switch include a switch to controller route and a switch to each directly connected switch or controller route.
Preferably, the step S2 employs: each exchanger is provided with an uplink route pointing controller IP, and each lower subnet is provided with a downlink route; and the current switch subnetwork is a super network of the switch subnetwork of the next level of division, thereby automatically establishing the control plane route.
According to the application, an automatic in-band control surface construction system in SDN comprises:
module M1: the controller realizes automatic issuing of the IP address of the SDN controller and full-automatic allocation of the IP address of the exchanger through a link discovery protocol based on a variable-length subnet mask dividing sub-network mode;
module M2: full-automatic IP address allocation based on VLSM, in-band routing utilizes classless inter-domain routing and super-network routing aggregation technology to complete automatic construction and flow table configuration of in-band control routing.
Preferably, the variable-length subnet mask is divided into a subnet by adopting the following modes:
module M1.1: dividing the subnets with the largest number of hosts, then continuously dividing the subnets with the largest number of hosts, and repeating until all the subnets are divided;
module M1.2: adapting to different network scales by using different subnet masks when dividing the variable length subnet mask into the subnets;
the module M1 employs:
module M1.3: respectively starting a controller and a controller agent on the switch;
module M1.4: each switch periodically transmits a link discovery protocol message identified as an IP_REQUEST to an adjacent switch or controller;
module M1.5: when the controller receives a link discovery protocol message marked as an IP_REQUEST, a reply message IP_AUTO_RESPONSE is sent to a switch agent directly connected with the controller, wherein the reply message IP_AUTO_RESPONSE comprises IP information required to be configured by the switch and the controller IP information;
module M1.6: when the directly connected switch agent receives the reply message IP_AUTO_RESPONSE, extracting IP information to be configured of the switch and IP information of a controller, and performing configuration processing on the directly connected switch;
module M1.7: when the directly connected switch finishes configuration, a switch agent which sends a link discovery protocol message identified as IP_REQUEST to the directly connected switch sends a reply message IP_AUTO_RESPONSE;
module M1.8: when the exchanger agent receives the reply message IP_AUTO_RESPONS, extracting IP information to be configured of the exchanger and IP information of a controller, and performing configuration processing on the corresponding exchanger; repeatedly triggering until the switch configuration of the whole network is completed;
the controller agent adopts: the controller agent is physically bound with the switch and is responsible for direct control of the switch, while the controller indirectly controls the switch through the controller agent.
Preferably, the category-free inter-domain routing employs: canceling the classification structure of the IP address, aggregating a plurality of address blocks to generate a super network, and including a plurality of hosts in a single routing table item;
the routing entries configured in the switch include the switch to controller routes and the switch to each directly connected switch or controller route.
Preferably, the module M2 employs: each exchanger is provided with an uplink route pointing controller IP, and each lower subnet is provided with a downlink route; and the current switch subnetwork is a super network of the switch subnetwork of the next level of division, thereby automatically establishing the control plane route.
Compared with the prior art, the application has the following beneficial effects:
1. compared with the traditional control plane construction mode, the in-band control plane can greatly save network resources, and the automatic construction mode is more flexible and efficient;
2. the CIDR-based in-band routing construction mode can reduce the number of routing table entries in the switch and reduce the complexity of the automatic construction process of the in-band routing table;
3. the automatic control surface construction based on LLDP and VLSM is adopted to realize the effect of more flexible and efficient configuration of the switch-free machine;
4. the architecture of the controller agent is adopted, so that the realization of the automatic scheme can be supported, and the manual scheme can be supported at the same time.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the detailed description of non-limiting embodiments, given with reference to the accompanying drawings in which:
fig. 1 is a schematic diagram of an SDN architecture with in-band connectivity.
Fig. 2 is a flow chart of automatic control surface construction.
Fig. 3 is a schematic diagram showing the interaction of LLDP messages with full-automatic IP assignment based on VLSM.
Fig. 4 is a schematic diagram of fully automatic allocation of IP addresses to three-layer topology switches based on VLSM.
Fig. 5 is a schematic diagram of automatic configuration of a route based on CIDR.
Detailed Description
The present application will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the present application, but are not intended to limit the application in any way. It should be noted that variations and modifications could be made by those skilled in the art without departing from the inventive concept. These are all within the scope of the present application.
Example 1
The application provides an automatic in-band control plane construction method in SDN, which comprises the following steps:
step S1: the controller realizes automatic issuing of the IP address of the SDN controller and full-automatic allocation of the IP address of the exchanger through a link discovery protocol based on a variable-length subnet mask dividing sub-network mode;
step S2: full-automatic IP address allocation based on VLSM, in-band routing utilizes classless inter-domain routing and super-network routing aggregation technology to complete automatic construction and flow table configuration of in-band control routing.
Specifically, the variable-length subnet mask dividing sub-network adopts the following modes:
step S1.1: dividing the subnets with the largest number of hosts, then continuously dividing the subnets with the largest number of hosts, and repeating until all the subnets are divided;
step S1.2: when the variable length subnet mask is partitioned into subnets, different network sizes are accommodated by using different subnet masks.
Specifically, the step S1 employs:
step S1.3: respectively starting a controller and a controller agent on the switch;
step S1.4: each switch periodically transmits a link discovery protocol message identified as an IP_REQUEST to an adjacent switch or controller;
step S1.5: when the controller receives a link discovery protocol message marked as an IP_REQUEST, a reply message IP_AUTO_RESPONSE is sent to a switch agent directly connected with the controller, wherein the reply message IP_AUTO_RESPONSE comprises IP information required to be configured by the switch and the controller IP information;
step S1.6: when the directly connected switch agent receives the reply message IP_AUTO_RESPONSE, extracting IP information to be configured of the switch and IP information of a controller, and performing configuration processing on the directly connected switch;
step S1.7: when the directly connected switch finishes configuration, a switch agent which sends a link discovery protocol message identified as IP_REQUEST to the directly connected switch sends a reply message IP_AUTO_RESPONSE;
step S1.8: when the exchanger agent receives the reply message IP_AUTO_RESPONS, extracting IP information to be configured of the exchanger and IP information of a controller, and performing configuration processing on the corresponding exchanger; repeatedly executing until the switch configuration of the whole network is completed;
the controller agent adopts: the controller agent is physically bound with the switch and is responsible for direct control of the switch, while the controller indirectly controls the switch through the controller agent.
Specifically, the category-free inter-domain routing employs: the classification structure of the IP addresses is canceled, a plurality of address blocks are aggregated together to generate a super network, and a plurality of hosts are contained in a single routing table entry.
Specifically, the routing table entries configured in the switch include the switch to controller route and the switch to each directly connected switch or controller route.
Specifically, the step S2 employs: each exchanger is provided with an uplink route pointing controller IP, and each lower subnet is provided with a downlink route; and the current switch subnetwork is a super network of the switch subnetwork of the next level of division, thereby automatically establishing the control plane route.
According to the application, an automatic in-band control surface construction system in SDN comprises:
module M1: the controller realizes automatic issuing of the IP address of the SDN controller and full-automatic allocation of the IP address of the exchanger through a link discovery protocol based on a variable-length subnet mask dividing sub-network mode;
module M2: full-automatic IP address allocation based on VLSM, in-band routing utilizes classless inter-domain routing and super-network routing aggregation technology to complete automatic construction and flow table configuration of in-band control routing.
Specifically, the variable-length subnet mask dividing sub-network adopts the following modes:
module M1.1: dividing the subnets with the largest number of hosts, then continuously dividing the subnets with the largest number of hosts, and repeating until all the subnets are divided;
module M1.2: when the variable length subnet mask is partitioned into subnets, different network sizes are accommodated by using different subnet masks.
Specifically, the module M1 employs:
module M1.3: respectively starting a controller and a controller agent on the switch;
module M1.4: each switch periodically transmits a link discovery protocol message identified as an IP_REQUEST to an adjacent switch or controller;
module M1.5: when the controller receives a link discovery protocol message marked as an IP_REQUEST, a reply message IP_AUTO_RESPONSE is sent to a switch agent directly connected with the controller, wherein the reply message IP_AUTO_RESPONSE comprises IP information required to be configured by the switch and the controller IP information;
module M1.6: when the directly connected switch agent receives the reply message IP_AUTO_RESPONSE, extracting IP information to be configured of the switch and IP information of a controller, and performing configuration processing on the directly connected switch;
module M1.7: when the directly connected switch finishes configuration, a switch agent which sends a link discovery protocol message identified as IP_REQUEST to the directly connected switch sends a reply message IP_AUTO_RESPONS;
module M1.8: when the exchanger agent receives the reply message IP_AUTO_RESPONS, extracting IP information to be configured of the exchanger and IP information of a controller, and performing configuration processing on the corresponding exchanger; repeatedly triggering until the switch configuration of the whole network is completed;
the controller agent adopts: the controller agent is physically bound with the switch and is responsible for direct control of the switch, while the controller indirectly controls the switch through the controller agent.
Specifically, the category-free inter-domain routing employs: the classification structure of the IP addresses is canceled, a plurality of address blocks are aggregated together to generate a super network, and a plurality of hosts are contained in a single routing table entry.
Specifically, the routing table entries configured in the switch include the switch to controller route and the switch to each directly connected switch or controller route.
Specifically, the module M2 employs: each exchanger is provided with an uplink route pointing controller IP, and each lower subnet is provided with a downlink route; and the current switch subnetwork is a super network of the switch subnetwork of the next level of division, thereby automatically establishing the control plane route.
Example 2
Example 2 is a preferred example of example 1
In order to solve the problem that in-band control surface opening is inflexible and low-efficiency, a method for automatically opening the control surface in an in-band mode is provided. In order to open the control plane, we also propose a controller proxy architecture.
The system model adopted by the application is shown in fig. 1, the system adopts in-band connection mode communication, and the SDN controller is directly connected with only one switch. The controller agent is physically bound with the switch and is responsible for direct control of the switch, while the controller indirectly controls the switch through the agent.
The automatic in-band control plane construction flow provided by the application is shown in figure 2 and is divided into a forward stage and a backward stage. Wherein forward phase: the controller realizes the automatic issuing of the IP of the controller and the automatic distribution of the IP of the SDN switch through a link discovery protocol based on a mode of a variable-length subnet mask; and the backward stage completes the automatic construction of the in-band control route and the configuration of the flow table.
Specifically, a forward phase flow timing diagram is shown in fig. 3. First, the controller and the controller agent on the exchanger are started respectively, and the agent is connected with the exchanger locally. Each switch then begins sending link discovery protocol messages identified as IP _ REQUESTs to neighbors on a regular basis. When the controller receives the IP_REQUEST, the controller sends IP_AUTO_RESPONSE to the directly connected switch 1 proxy, wherein the IP information required to be configured by the switch and the controller IP information are contained. The proxy of the switch 1 extracts the switch IP and controller IP information to complete configuration of the switch 1 after receiving the ip_auto_response. Once switch 1 has completed configuration, it can make an IP AUTO RESPONSE to the IP REQUEST from its received neighbors, thus completing the automatic IP configuration of the entire network at one level. The ip_auto_response is a reply message corresponding to the ip_request.
In the forward process, the fully automatic IP address allocation scheme is to divide the subnet by using a variable length subnet mask. Firstly, dividing the subnets with the largest number of hosts, then continuously dividing the subnets with the largest number of hosts, and repeating until all the subnets are divided. When the variable-length subnet mask is used for dividing the subnet, different subnet masks are used for adapting to different network scales, so that on one hand, the IP address utilization rate is improved; on the other hand, hierarchical addressing of the subnetworks can lead to better route generalization in the routing tables.
In fig. 4, a full-automatic IP address allocation example of a three-layer network topology switch is listed, where a two-hop switch 1 sends an IP address request to be received by a direct-connected switch, the direct-connected switch uses a variable-length subnet mask (VLSM) to perform subnet division, removes a subnet number with a subnet of 0 or 1, generates a list of available subnet numbers, allocates the subnet numbers to the two-hop switch sending the IP request in sequence, and allocates the IP in the subnet to a corresponding port; when the three-hop switch 1 sends an IP address request, the IP address request is received by the two-hop switch 1, and the two-hop switch 1 also uses a variable-length subnet mask to divide the subnets, allocates the subnet numbers to the three-hop switch sending the IP request in sequence, and allocates the IPs in the subnets to the corresponding ports.
As shown in fig. 4, the variable length subnet mask length delta affects the width and depth of this network topology. If the variable-length subnet mask length increment is larger, the network topology is wider, the depth is smaller, namely the number of dividing subnets of the same layer is larger, and when the number of the divisible topology levels is smaller.
The backward stage, on the basis of adopting the full-automatic IP address allocation mode of VLSM in the forward stage, the in-band route can be automatically constructed by means of the technology of non-category inter-domain route and super-network route aggregation.
The basic idea of CIDR is to eliminate the classification of IP addresses, and aggregate multiple address blocks together to create a larger network-super-network-to contain more hosts in a single routing table entry. CIDR supports route aggregation, and can merge many route entries in a routing table into fewer entries, and thus has a function of limiting the size of the routing table. The routing table entries mainly configured in the switch include the switch's route to the controller, the switch's route to each direct neighbor. The in-band route construction mode reduces the number of route table entries in the switch and reduces the complexity of the automatic construction process of the in-band route table.
For example: for the sub-network of the first level switch to forward to the second level, 6 routing tables are needed for 6 sub-networks, but the 6 sub-networks are actually separated from a relatively large network, so that the forwarding description of the relatively large network can be completed by only 1 routing table for the upper level switch, and if considering the sub-network of the first level switch to forward to the third level switch, the forwarding description is equivalent to 36 items originally needed.
The backward stage specifically includes the steps that firstly, an uplink route is set to each switch to point to a controller IP, then, a downlink route is set to each lower-layer subnet, and the current switch subnet is a super-network of the next-layer switch subnet divided, so that a control plane route is automatically established, and if the controller < - - - > is directly connected with a switch < - - > a second-hop switch 1< - - > a third-hop switch 1, the automatic configuration of CIDR routes is shown in fig. 5.
Those skilled in the art will appreciate that the systems, apparatus, and their respective modules provided herein may be implemented entirely by logic programming of method steps such that the systems, apparatus, and their respective modules are implemented as logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc., in addition to the systems, apparatus, and their respective modules being implemented as pure computer readable program code. Therefore, the system, the apparatus, and the respective modules thereof provided by the present application may be regarded as one hardware component, and the modules included therein for implementing various programs may also be regarded as structures within the hardware component; modules for implementing various functions may also be regarded as being either software programs for implementing the methods or structures within hardware components.
The foregoing describes specific embodiments of the present application. It is to be understood that the application is not limited to the particular embodiments described above, and that various changes or modifications may be made by those skilled in the art within the scope of the appended claims without affecting the spirit of the application. The embodiments of the application and the features of the embodiments may be combined with each other arbitrarily without conflict.

Claims (8)

1. An automatic in-band control plane construction method in an SDN is characterized by comprising the following steps:
step S1: the controller realizes automatic issuing of the IP address of the SDN controller and full-automatic allocation of the IP address of the exchanger through a link discovery protocol based on a variable-length subnet mask dividing sub-network mode;
step S2: full-automatic IP address allocation based on VLSM, in-band routing utilizes a non-category inter-domain routing and super-network routing aggregation technology to complete automatic construction and flow table configuration of in-band control routing;
the step S1 adopts:
step S1.3: respectively starting a controller and a controller agent on the switch;
step S1.4: each switch periodically transmits a link discovery protocol message identified as an IP_REQUEST to an adjacent switch or controller;
step S1.5: when the controller receives a link discovery protocol message marked as an IP_REQUEST, a reply message IP_AUTO_RESPONSE is sent to a switch agent directly connected with the controller, wherein the reply message IP_AUTO_RESPONSE comprises IP information required to be configured by the switch and the controller IP information;
step S1.6: when the directly connected switch agent receives the reply message IP_AUTO_RESPONSE, extracting IP information to be configured of the switch and IP information of a controller, and performing configuration processing on the directly connected switch;
step S1.7: when the directly connected switch finishes configuration, a switch agent which sends a link discovery protocol message identified as IP_REQUEST to the directly connected switch sends a reply message IP_AUTO_RESPONSE;
step S1.8: when the exchanger agent receives the reply message IP_AUTO_RESPONSE, extracting the IP information of the exchanger to be configured and the IP information of the controller, and carrying out configuration processing on the corresponding exchanger; repeatedly executing until the switch configuration of the whole network is completed;
the controller agent adopts: the controller agent is physically bound with the switch and is responsible for direct control of the switch, while the controller indirectly controls the switch through the controller agent.
2. The method for constructing an automatic in-band control plane in an SDN of claim 1, wherein the variable length subnet mask is partitioned into subnets by adopting:
step S1.1: dividing the subnets with the largest number of hosts, then continuously dividing the subnets with the largest number of hosts, and repeating until all the subnets are divided;
step S1.2: when the variable length subnet mask is partitioned into subnets, different network sizes are accommodated by using different subnet masks.
3. The method for automatically constructing an in-band control plane in an SDN of claim 1, wherein the classless inter-domain routing employs: the classification structure of the IP addresses is canceled, a plurality of address blocks are aggregated together to generate a super network, and a plurality of hosts are contained in a single routing table entry.
4. The method of claim 1, wherein the routing entries configured in the switch include a switch to controller route and a switch to each directly connected switch or controller route.
5. The method for constructing an automatic in-band control plane in SDN of claim 1, wherein the step S2 uses: each exchanger is provided with an uplink route pointing controller IP, and each lower subnet is provided with a downlink route; and the current switch subnetwork is a super network of the switch subnetwork of the next level of division, thereby automatically establishing the control plane route.
6. An automatic in-band control plane construction system in an SDN, comprising:
module M1: the controller realizes automatic issuing of the IP address of the SDN controller and full-automatic allocation of the IP address of the exchanger through a link discovery protocol based on a variable-length subnet mask dividing sub-network mode;
module M2: full-automatic IP address allocation based on VLSM, in-band routing utilizes a non-category inter-domain routing and super-network routing aggregation technology to complete automatic construction and flow table configuration of in-band control routing;
the variable-length subnet mask is divided into a subnet by adopting the following modes:
module M1.1: dividing the subnets with the largest number of hosts, then continuously dividing the subnets with the largest number of hosts, and repeating until all the subnets are divided;
module M1.2: adapting to different network scales by using different subnet masks when dividing the variable length subnet mask into the subnets;
the module M1 employs:
module M1.3: respectively starting a controller and a controller agent on the switch;
module M1.4: each switch periodically transmits a link discovery protocol message identified as an IP_REQUEST to an adjacent switch or controller;
module M1.5: when the controller receives a link discovery protocol message marked as an IP_REQUEST, a reply message IP_AUTO_RESPONSE is sent to a switch agent directly connected with the controller, wherein the reply message IP_AUTO_RESPONSE comprises IP information required to be configured by the switch and the controller IP information;
module M1.6: when the directly connected switch agent receives the reply message IP_AUTO_RESPONSE, extracting IP information to be configured of the switch and IP information of a controller, and performing configuration processing on the directly connected switch;
module M1.7: when the directly connected switch finishes configuration, a switch agent which sends a link discovery protocol message identified as IP_REQUEST to the directly connected switch sends a reply message IP_AUTO_RESPONSE;
module M1.8: when the exchanger agent receives the reply message IP_AUTO_RESPONSE, extracting the IP information of the exchanger to be configured and the IP information of the controller, and carrying out configuration processing on the corresponding exchanger; repeatedly triggering until the switch configuration of the whole network is completed;
the controller agent adopts: the controller agent is physically bound with the switch and is responsible for direct control of the switch, while the controller indirectly controls the switch through the controller agent.
7. The automatic in-band control plane construction system in SDN of claim 6, wherein the classless inter-domain routing employs: canceling the classification structure of the IP address, aggregating a plurality of address blocks to generate a super network, and including a plurality of hosts in a single routing table item;
the routing entries configured in the switch include the switch to controller routes and the switch to each directly connected switch or controller route.
8. The automatic in-band control surface building system of claim 6, wherein the module M2 employs: each exchanger is provided with an uplink route pointing controller IP, and each lower subnet is provided with a downlink route; and the current switch subnetwork is a super network of the switch subnetwork of the next level of division, thereby automatically establishing the control plane route.
CN202110932051.8A 2021-08-13 2021-08-13 Automatic in-band control plane construction method and system in SDN Active CN113630481B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110932051.8A CN113630481B (en) 2021-08-13 2021-08-13 Automatic in-band control plane construction method and system in SDN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110932051.8A CN113630481B (en) 2021-08-13 2021-08-13 Automatic in-band control plane construction method and system in SDN

Publications (2)

Publication Number Publication Date
CN113630481A CN113630481A (en) 2021-11-09
CN113630481B true CN113630481B (en) 2023-11-28

Family

ID=78385443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110932051.8A Active CN113630481B (en) 2021-08-13 2021-08-13 Automatic in-band control plane construction method and system in SDN

Country Status (1)

Country Link
CN (1) CN113630481B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363297A (en) * 2021-12-21 2022-04-15 西安四叶草信息技术有限公司 Network space detection method and device, storage medium and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1761239A (en) * 2004-09-15 2006-04-19 美国电报电话公司 Method and apparatus for rerouting traffic in a computer network
CN105745882A (en) * 2014-12-16 2016-07-06 北京大学深圳研究生院 Realization method for flat networks routing based on network
CN106341330A (en) * 2016-08-30 2017-01-18 广州西麦科技股份有限公司 Topology discovery method and system of SDN controller
CN106506716A (en) * 2016-10-20 2017-03-15 北京东土科技股份有限公司 A kind of method of attachment of SDN controllers in-band management and device
CN106603408A (en) * 2016-11-17 2017-04-26 华东师范大学 SDN multi-controller extensible cooperation method
CN107294875A (en) * 2016-03-31 2017-10-24 中卫大河云联网络技术有限公司 Band outer control system and chain of command communication means for SDN
CN107682208A (en) * 2017-11-08 2018-02-09 西南民族大学 A kind of SDN piggy back service quality acquisition method based on LLDP agreements
CN107770174A (en) * 2017-10-23 2018-03-06 上海微波技术研究所(中国电子科技集团公司第五十研究所) A kind of intrusion prevention system and method towards SDN
CN107800623A (en) * 2016-09-06 2018-03-13 中国电信股份有限公司 Heterogeneous network communication method and system and SDN controllers

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SE1851342A1 (en) * 2018-10-29 2020-04-30 Telia Co Ab A method and an apparatus for routing data packets in a network topology

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1761239A (en) * 2004-09-15 2006-04-19 美国电报电话公司 Method and apparatus for rerouting traffic in a computer network
CN105745882A (en) * 2014-12-16 2016-07-06 北京大学深圳研究生院 Realization method for flat networks routing based on network
CN107294875A (en) * 2016-03-31 2017-10-24 中卫大河云联网络技术有限公司 Band outer control system and chain of command communication means for SDN
CN106341330A (en) * 2016-08-30 2017-01-18 广州西麦科技股份有限公司 Topology discovery method and system of SDN controller
CN107800623A (en) * 2016-09-06 2018-03-13 中国电信股份有限公司 Heterogeneous network communication method and system and SDN controllers
CN106506716A (en) * 2016-10-20 2017-03-15 北京东土科技股份有限公司 A kind of method of attachment of SDN controllers in-band management and device
CN106603408A (en) * 2016-11-17 2017-04-26 华东师范大学 SDN multi-controller extensible cooperation method
CN107770174A (en) * 2017-10-23 2018-03-06 上海微波技术研究所(中国电子科技集团公司第五十研究所) A kind of intrusion prevention system and method towards SDN
CN107682208A (en) * 2017-11-08 2018-02-09 西南民族大学 A kind of SDN piggy back service quality acquisition method based on LLDP agreements

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Analysis and design of subnetting methods: Hybrid fixed length subnet masking (HFLSM)";Afwarman Manaf;《IEEE》;全文 *
"基于CIDR的网络 IP 地址规划及应用";李瑞俊;《长春师范大学学报(自然科学版)》;第33卷(第5期);第1-4页 *

Also Published As

Publication number Publication date
CN113630481A (en) 2021-11-09

Similar Documents

Publication Publication Date Title
EP3063903B1 (en) Method and system for load balancing at a data network
Li et al. ESM: Efficient and scalable data center multicast routing
US8396053B2 (en) Method and apparatus for VLAN-based selective path routing
CN108833166B (en) Edge cloud message forwarding method and system and network message forwarding method and system
CN111638957B (en) Method for realizing cluster sharing type public cloud load balance
Qi et al. Data center network architecture in cloud computing: review, taxonomy, and open research issues
CN111600806A (en) Load balancing method and device, front-end scheduling server, storage medium and equipment
EP2883123B1 (en) Forwarding packet in stacking system
CN110430114B (en) Virtual router and method for realizing interconnection between SDN network and traditional IP network
CN105306368B (en) A kind of transmission method and device of data message
EP2584742A1 (en) Method and switch for sending packet
CN110224917B (en) Data transmission method, device and system and server
CN108574613B (en) Two-layer intercommunication method and device for SDN data center
CN110798412A (en) Multicast service processing method, device, cloud platform, equipment and readable storage medium
CN113630481B (en) Automatic in-band control plane construction method and system in SDN
CN107809495A (en) Address management method and device
CN115955456A (en) IPv 6-based enterprise campus network and networking method
CN114124714B (en) Multi-level network deployment method, device, equipment and storage medium
US10686752B2 (en) Methods for configuring and managing an IP network, corresponding devices and computer programs
CN110247778A (en) Installation method of operating system, device, electronic equipment and storage medium
Elzain et al. Decentralizing software-defined wireless mesh networking (D-SDWMN) control plane
Hu et al. SDN-SPS: Semi-physical simulation for software-defined networks
Guo et al. Experimental Demonstration of SDN-enabled Reconfigurable Disaggregated Data Center Infrastructure
CN114826823B (en) Virtual network segmentation method, device and system
WO2020098946A1 (en) Network node and method for supporting a service based architecture

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