Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
CN107911297A - A kind of SDN network band control Path Setup method and apparatus - Google Patents
[go: Go Back, main page]

CN107911297A - A kind of SDN network band control Path Setup method and apparatus - Google Patents

A kind of SDN network band control Path Setup method and apparatus Download PDF

Info

Publication number
CN107911297A
CN107911297A CN201711167097.5A CN201711167097A CN107911297A CN 107911297 A CN107911297 A CN 107911297A CN 201711167097 A CN201711167097 A CN 201711167097A CN 107911297 A CN107911297 A CN 107911297A
Authority
CN
China
Prior art keywords
address
switching equipment
flow table
port
message
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.)
Granted
Application number
CN201711167097.5A
Other languages
Chinese (zh)
Other versions
CN107911297B (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.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology Co Ltd
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 Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201711167097.5A priority Critical patent/CN107911297B/en
Publication of CN107911297A publication Critical patent/CN107911297A/en
Priority to PCT/CN2018/115495 priority patent/WO2019100993A1/en
Application granted granted Critical
Publication of CN107911297B publication Critical patent/CN107911297B/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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • 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

Landscapes

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

Abstract

The embodiment of the present invention discloses a kind of SDN network band control Path Setup method and apparatus, is related to the communications field, is able to record the transmission port of OpenFlow switching equipment, to realize that the transmission path of In band band control messages obtains.This method, including:Establish and enable the first flow table, the first flow table is used to indicate to transfer to upper-layer protocol to handle for the message of local IP address purpose IP address;ARP request of the purpose IP address for the IP address of SDN controllers is sent, and after the arp response of the first flow table of matching is received, the port that record receives arp response is uplink exit port;Establish and enable the second flow table, the second flow table is used to indicate to transfer to key-course to handle port discovery message;After the port discovery message of other OpenFlow switching equipment transmission for receiving the second flow table of matching, record the IP address of other OpenFlow switching equipment, the port for receiving discovery message is recorded as downlink exit port corresponding with other OpenFlow switching equipment, and will be seen that message is forwarded from uplink exit port.

Description

A kind of SDN network band control Path Setup method and apparatus
Technical field
The embodiment of the present invention is related to the communications field, more particularly to a kind of SDN (Software Defined Networking, software defined network) network band control Path Setup method and apparatus.
Background technology
SDN controllers are usually using LLDP (Link Layer Discovery Protocol, link layer hair in SDN network Existing agreement) agreement detects and finds the network topology between switching equipment, ARP (Address are passed through by switching equipment Resolution Protocol, address resolution protocol) agreement come find switching equipment connection SDN controllers (host).But The operating system of part server is possible without actively sending ARP request, therefore the simple service relied on where SDN controllers Device voluntarily issues ARP request to obtain the connection relation of SDN controllers and unreliable.
The business flow list of In-band (in band) network in SDN network is issued by SDN controllers, for controlling message to pass Defeated control flow table can be established jointly with SDN controllers and OpenFlow switching equipment forwarding strategy or by OpenFlow switching equipment voluntarily establish forwarding strategy.Matched somebody with somebody when SDN systems by SDN controllers with OpenFlow switching equipment and amounted to With when establishing forwarding strategy, the mechanism of realization is that first voluntarily establish forwarding strategy makes each OpenFlow to OpenFlow switching equipment Switching equipment is established with SDN controllers and connected, the control stream of its in-band after OpenFlow switching equipment are connected to controller Table is laid equal stress on policy distribution of the new root according to SDN controllers by the adapter of SDN controllers, this method during adapter and OpenFlow switching equipment easily cause the disconnection that control passage connects when wavy, cause OpenFlow switching equipment to depart from whole The management and control of SDN controllers.And when In-band networks voluntarily establish forwarding strategy by OpenFlow switching equipment, usually issue Control flow table be hide flow table, invisible to SDN controllers, the control flow table that SDN controllers can not be to In-band carries out pipe Reason, can not also calculate the path of control message transmissions by In-band network-based control flow tables.
The content of the invention
The embodiment of the present invention provides a kind of SDN network band control Path Setup method and apparatus, is able to record The transmission port of OpenFlow switching equipment, to realize that the transmission path of In-band band control messages obtains.
First aspect, provide a kind of SDN network band control Path Setup method, including:
OpenFlow switching equipment are established and enable the first flow table, and first flow table is used for instruction and is by purpose IP address The message of local IP address transfers to upper-layer protocol to handle;
ARP request of the purpose IP address for the IP address of SDN controllers is sent, and is receiving matching first flow table After arp response, the port that record receives the arp response is uplink exit port;
Establish and enable the second flow table, second flow table is used to indicate to transfer to key-course to handle port discovery message;
After the port discovery message for receiving other OpenFlow switching equipment transmission for matching second flow table, institute is recorded State the IP address of other OpenFlow switching equipment, receive it is described find message port be recorded as with it is described other The corresponding downlink exit port of OpenFlow switching equipment, and the discovery message is forwarded from the uplink exit port.
Second aspect, there is provided a kind of OpenFlow switching equipment, including:
Processing unit, for establishing and enabling the first flow table, first flow table is used to indicate that by purpose IP address be this The message of machine IP address transfers to upper-layer protocol to handle;
Transmitting element, for sending the ARP request for the IP address that purpose IP address is SDN controllers, and is receiving matching After the arp response of first flow table, the port that record receives the arp response is uplink exit port;
The processing unit, for establishing and enabling the second flow table, second flow table is used to indicate port discovery report Text transfers to key-course to handle;
Receiving unit, the port discovery that other OpenFlow switching equipment of second flow table are sent is matched for receiving Message;
The processing unit, is additionally operable to the IP address of record other OpenFlow switching equipment, the reception hair The port of existing message is recorded as downlink exit port corresponding with other described OpenFlow switching equipment;
The transmitting element, is additionally operable to forward the discovery message from the uplink exit port.
The third aspect, there is provided a kind of SDN network, including above-mentioned OpenFlow switching equipment and SDN controllers.
In such scheme, first, OpenFlow switching equipment are established and enable the first flow table, wherein, the first flow table is used Upper-layer protocol is transferred to handle for the message of local IP address purpose IP address in instruction;OpenFlow switching equipment send purpose IP address is the ARP request of the IP address of SDN controllers, and after the arp response of the first flow table of matching is received, record receives The port of arp response is uplink exit port;Then, OpenFlow switching equipment are established and enable the second flow table, and the second flow table is used Key-course is transferred to handle port discovery message in instruction;OpenFlow switching equipment receive other of the second flow table of matching After the port discovery message that OpenFlow switching equipment are sent, the IP address of other OpenFlow switching equipment is recorded, reception It was found that the port of message is recorded as downlink exit port corresponding with other OpenFlow switching equipment, and it will be seen that message from uplink Exit port forwards;Due to OpenFlow switching equipment by the above method have recorded message send uplink exit port and Downlink exit port, therefore such scheme is able to record the transmission port of OpenFlow switching equipment, to realize In-band band internal controls The transmission path of message processed obtains.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in embodiment or description of the prior art Required attached drawing is briefly described, it should be apparent that, drawings in the following description are only some realities of the present invention Example is applied, for those of ordinary skill in the art, without creative efforts, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is the structure chart of SDN network provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of SDN network band control Path Setup method provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of the OpenFlow switching equipment provided in an embodiment of the present invention to the pass-through mode of message;
Fig. 4 is a kind of structure chart of SDN switch provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work Embodiment, belongs to the scope of protection of the invention.
The system architecture and business scenario of description of the embodiment of the present invention are in order to which more clearly the explanation present invention is implemented The technical solution of example, does not form the restriction for technical solution provided in an embodiment of the present invention, those of ordinary skill in the art Understand, with the differentiation of system architecture and the appearance of new business scene, technical solution provided in an embodiment of the present invention is for similar Technical problem, it is equally applicable.
The technical term of the application is described first as follows:
SDN(Software Defined Network):Software defined network, is by Stanford Univ USA clean A kind of new network of Emulex network innovation framework that slate seminar proposes, its core technology are OpenFlow agreements by by the network equipment Chain of command and data surface separate, it is achieved thereby that the flexible control of network traffics, the innovation for core network and application carry Good platform is supplied.Based on the SDN of OpenFlow protocol realizations, the data forwarding and key-course of switching equipment be it is separated, Each new data flow through switching equipment has to pass through SDN controllers and is determined to make forwarding, can be with SDN controllers These streams are checked according to default rule, the transmission path and stream of data flow are then formulated by SDN controllers Reason strategy, so as to preferably control network.Due to it is such the characteristics of the SDN network based on OpenFlow agreements it is currently wide General is applied in each data center.Since data forwarding and key-course separate, and the realization of key-course is concentrated to network In SDN controllers in, thus there are two sets of networks to need to manage, business datum forwarding network and control message transfers net.
In-band:In-band management pattern, is common network management means, that is, controls message to use system with business datum One physical channel is transmitted.In-band networks have the characteristics that deployment it is flexible, but its realize complexity and difficulty compared with It is high.
Out-of-band:Outband management pattern, control message are passed from business datum using different physical channels It is defeated.Out-of-band is significantly simpler to implement, but disposes and get up to need newly-built one to be individually used for control protocol transmission Network, this can not meet the requirements under many business scenarios.
The above method is described in detail with reference to specific embodiment.With reference to shown in Fig. 1, the embodiment of the present invention should For following SDN network, including:More OpenFlow switching equipment, at least a SDN controller, wherein every SDN controller Control the forwarding data flow of one or more OpenFlow switching equipment;As shown in Figure 1, there is provided a kind of SDN network topology is as schemed It is shown, including a SDN controller and four OpenFlow switching equipment SW1-SW4, SW1 and SDN controllers and SW2, SW4 It is connected;SW3 is connected with SW2 and SW4.
Based on above-mentioned SDN network, the embodiment of the present invention provides a kind of SDN network band control Path Setup method, With reference to (the simply corresponding process of summary step wherein in attached drawing, particular content be subject to embodiment record) shown in Fig. 2, including such as Lower step:
S101, OpenFlow switching equipment are established and enable the first flow table, and the first flow table is used to indicate purpose IP address Upper-layer protocol is transferred to handle for the message of local IP address.
Before step S101, OpenFlow switching equipment receive the IP address of local IP address and SDN controllers Configuration information.I.e., it is necessary first to configure the IP address for the SDN controllers that the local ip address of all SW and needs connect, institute The local ip address for having SW is the same network segment.The IP address of SDN controllers and the local ip address of SW are either same network segment May also be cross-network segment, if the local ip address of SDN controllers and SW are cross-network segments, it is also necessary to configure local ip address Gateway is as next-hop.After the local ip address for configuring SW, SW1 (SW2, SW3, SW4) is established and is enabled the first flow table, will Purpose IP address transfers to upper-layer protocol to handle for the message of local IP address, i.e. itself (SW1, SW2, SW3, SW4) is passed through in forwarding Message when, if the purpose IP address of message is local ip address, SW1's (SW2, SW3, SW4) itself that message can above be sent Protocol stack is handled, and is no longer forwarded on other ports.
S102, OpenFlow switching equipment transmission purpose IP address are the ARP request of the IP address of SDN controllers, and After the arp response for receiving the first flow table of matching, the port that record receives arp response is uplink exit port.
Wherein, the ARP table of SDN controllers, Fig. 1 are may learn by performing step S102, OpenFlow switching equipment Shown in SW1 due to being directly connected to SDN controllers, it can acquire the ARP table of SDN controllers first, and record SW1 receives ARP The port of response is uplink exit port Port1.Other SW can progressively study be controlled to SDN after SW1 and SDN controllers establish connection The ARP table of device processed, records the uplink exit port Port1 for each receiving arp response.The protocol stack cycle of SW1 (SW2, SW3, SW4) Property transmission purpose IP address for SDN controllers IP address ARP request, untill acquiring the ARP table of SDN controllers. In Fig. 1, the port1 of the port1 and SW2 of SW1 are shown, wherein other SW establish the mistake of connection with SDN controllers in addition to SW1 Journey is described below.
S103, OpenFlow switching equipment are established and enable the second flow table, and the second flow table is used to indicate port discovery report Text transfers to key-course to handle.
S104, OpenFlow switching equipment receive the port that other OpenFlow switching equipment of the second flow table of matching are sent It was found that after message, record the IP address of other OpenFlow switching equipment, receive find message port be recorded as and other The corresponding downlink exit port of OpenFlow switching equipment, and will be seen that message is forwarded from uplink exit port.
Specifically, before step S104, the timing of OpenFlow switching equipment to all OpenFlow ports of the machine at the same time Sending port finds message, and port discovery message is customized Ethernet message and carries local IP address.Port discovery message Can be customized a kind of message of new EtherType in SDN network, it is used to find SDN controllers to OpenFlow The downlink exit port of switching equipment, the IP address of SW itself, such as the port that SW2 is sent to SW1 are carried in port discovery message It was found that carrying the IP address of SW2 itself in message, the SW1 for receiving this message identifies the owner of outgoing packet.SW to SDN is controlled The message of the transmission in device direction is known as uplink message, and the corresponding exit port that message is forwarded from the SW is uplink exit port, The message transmitted from SDN controllers to SW directions is known as downlink message, it is corresponding message is forwarded from the SW exit port be Downlink exit port, this customized port discovery message are mainly used for finding the downlink exit port of each SW.After SW starts, write from memory To all OpenFlow ports of the machine, sending port finds message at the same time during identification.Exemplary, SW1 receives SW2 by port2 The Port Profile message of transmission can determine that downlink the exit port port2, SW1 of corresponding SW2 receives what SW4 was sent by port3 Port Profile message can determine the downlink exit port port3 of corresponding SW4.
In such scheme, first, OpenFlow switching equipment are established and enable the first flow table, wherein, the first flow table is used Upper-layer protocol is transferred to handle for the message of local IP address purpose IP address in instruction;OpenFlow switching equipment send purpose IP address is the ARP request of the IP address of SDN controllers, and after the arp response of the first flow table of matching is received, record receives The port of arp response is uplink exit port;Then, OpenFlow switching equipment are established and enable the second flow table, and the second flow table is used Key-course is transferred to handle port discovery message in instruction;OpenFlow switching equipment receive other of the second flow table of matching After the port discovery message that OpenFlow switching equipment are sent, the IP address of other OpenFlow switching equipment is recorded, reception It was found that the port of message is recorded as downlink exit port corresponding with other OpenFlow switching equipment, and it will be seen that message from uplink Exit port forwards;Due to OpenFlow switching equipment by the above method have recorded message send uplink exit port and Downlink exit port, therefore such scheme is able to record the transmission port of OpenFlow switching equipment, to realize In-band band internal controls The transmission path of message processed obtains.
Wherein, after SDN network band control Path Setup, with reference to shown in Fig. 3, OpenFlow switching equipment are to message Pass-through mode is specific as follows:
S201, OpenFlow switching equipment are established and enable the 3rd flow table, and the 3rd flow table is used to indicate purpose IP address Message for the IP address of SDN controllers is forwarded via uplink exit port.
The purpose IP address that S202, OpenFlow switching equipment receive the transmission of other OpenFlow switching equipment is SDN After the ARP request of the IP address of controller, forwarded according to the 3rd flow table via uplink exit port.
S203, OpenFlow switching equipment are established and enable the 4th flow table, and the 4th flow table is used to indicate purpose IP address Forwarded for the message of other OpenFlow switching equipment via downlink exit port.
The purpose IP address that S204, OpenFlow switching equipment receive the transmission of SDN controllers is handed over for other OpenFlow After the arp response of the IP address of exchange device, forwarded according to the 4th flow table via downlink exit port.
Exemplary, by taking SW1 as an example, SW1 can realize turn of uplink message and downlink message by S201-S204 Hair, so after the ARP table that SW1 obtains SDN controllers, SW1 establishes other OpenFlow switching equipment by S201 to be controlled to SDN The forwarding flow table of device processed, SW1 establish SDN controllers to the forwarding flow table of other OpenFlow switching equipment by S203, specifically , if by the IP address that the message purpose IP address of SW1 is SDN controllers, this message is forwarded from Port1.If through The message purpose IP address for crossing SW1 is the IP address of SW2, then this message is forwarded from Port2.So SW1 can be just Really message of the forwarding SDN controllers to SW2 and SW4.SW2, SW3 and SW4 are controlled by other OpenFlow switching equipment and SDN Device connection processed, wherein SW2, SW3 are connected by SW1 with SDN controllers, then after SW1 obtains the ARP table of SDN controllers, other SW is then referred to the ARP table of step S101-S102 study SDN controllers, the purpose IP address that wherein SW2 and SW3 are sent ARP request for the IP address of SDN controllers is forwarded to SDN controllers by SW1 by step S201, S202, arp response by SW1 is forwarded to SW2 and SW3 respectively by step S203, S204.
In addition to cause SDN controllers to identify the connection relation with OpenFlow switching equipment in SDN network topology, This method further includes:If OpenFlow switching equipment are the OpenFlow switching equipment being directly connected to SDN controllers; OpenFlow switching equipment replace SDN controllers to send packet in messages, and gratuitous ARP is packaged with packet in messages please Ask and the inbound port of packet in messages is the uplink exit port, so that SDN controllers are identified by packet in messages Go out the connection relation with OpenFlow switching equipment.
Wherein, indicate that it is straight with SDN controllers by way of order line on the SW1 being directly connected to SDN controllers Even;For not being connected OpenFlow switching equipment (such as SW2,3,4) with SDN controllers directly, directly connect with SDN controllers The OpenFlow switching equipment (such as SW1) connect replace SDN controllers to be sent to OpenFlow switching equipment (such as SW2,3) Packet in messages, specific SW1 can actively replace SDN controllers constantly to be sent by way of packet in freely ARP request, so that SDN controllers identify the connection relation with OpenFlow switching equipment by packet in messages. The discovery of SDN network topology, particularly for the topologys of OpenFlow switching equipment can both rely on LLDP agreements, can also be according to SNMP (Simple Network Management Protocol, Simple Network Management Protocol) etc. is relied to find, can also be in SDN Controller adds the topology of adjustment OpenFlow switching equipment, the topology of OpenFlow switching equipment wherein in SDN network manually Discovery can use existing any technology, which is not described herein again.
The embodiment of the present invention provides a kind of OpenFlow switching equipment with reference to shown in Fig. 4, for implementing above-mentioned method Embodiment, including:
Processing unit 41, for establishing and enabling the first flow table, first flow table is used for instruction and is by purpose IP address The message of local IP address transfers to upper-layer protocol to handle;
Transmitting element 42, for sending the ARP request for the IP address that purpose IP address is SDN controllers, and is receiving After the arp response of first flow table enabled with the processing unit 41, the port that record receives the arp response is uplink Exit port;
The processing unit 41, for establishing and enabling the second flow table, second flow table is used to indicate port discovery Message transfers to key-course to handle;
Receiving unit 43, the port discovery report that other OpenFlow switching equipment for receiving the second flow table of matching are sent Text;
The processing unit 41, is additionally operable to the IP address of record other OpenFlow switching equipment, described in receiving It was found that the port of message is recorded as downlink exit port corresponding with other described OpenFlow switching equipment;
The transmitting element 42, is additionally operable to forward the discovery message from the uplink exit port.
Optionally, the processing unit 41, is additionally operable to establish and enables the 3rd flow table, and the 3rd flow table is used for instruction will Purpose IP address forwards for the message of the IP address of SDN controllers via the uplink exit port;
The transmitting element 42, is additionally operable to receive the mesh of other OpenFlow switching equipment transmission in the receiving unit IP address for SDN controllers IP address ARP request after, forwarded according to the 3rd flow table via the uplink exit port Go out;
The processing unit 41, is additionally operable to establish and enables the 4th flow table, and the 4th flow table is used to indicate destination IP Address is that the message of other OpenFlow switching equipment is forwarded via the downlink exit port;
The transmitting element 42, is additionally operable to receive the purpose IP address of SDN controllers transmission in the receiving unit 43 After arp response for the IP address of other OpenFlow switching equipment, gone out according to the 4th flow table via the downlink Port forwards.
Optionally, exchanged if the OpenFlow switching equipment are the OpenFlow being directly connected to the SDN controllers Equipment;
The transmitting element 42, is additionally operable to replace SDN controllers to send packet in messages, the packet in messages In to be packaged with gratuitous ARP request and the inbound port of the packet in messages be the uplink exit port so that the SDN is controlled Device processed identifies the connection relation with the OpenFlow switching equipment by the packet in messages.
Optionally, the receiving unit 43, is additionally operable to receive the IP address of local IP address and the SDN controllers Configuration information.
Optionally, the transmitting element 42, being additionally operable to timing, sending port is sent out at the same time to all OpenFlow ports of the machine Existing message, the port discovery message is customized Ethernet message and carries local IP address.
In such scheme, in such scheme, first, OpenFlow switching equipment are established and enable the first flow table, its In, the first flow table is used to indicate to transfer to upper-layer protocol to handle for the message of local IP address purpose IP address;OpenFlow is handed over Exchange device sends ARP request of the purpose IP address for the IP address of SDN controllers, and is rung in the ARP for receiving the first flow table of matching Ying Hou, the port that record receives arp response is uplink exit port;Then, OpenFlow switching equipment are established and enable second Table, the second flow table are used to indicate to transfer to key-course to handle port discovery message;OpenFlow switching equipment receive matching second After the port discovery message that other OpenFlow switching equipment of flow table are sent, with recording the IP of other OpenFlow switching equipment The port for receiving discovery message, is recorded as downlink exit port corresponding with other OpenFlow switching equipment by location, and will be seen that Message is forwarded from uplink exit port;Due to OpenFlow switching equipment by the above method have recorded message send uplink Exit port and downlink exit port, therefore such scheme is able to record the transmission port of OpenFlow switching equipment, to realize In- The transmission path of band band control messages obtains.
In addition, also providing a kind of calculating readable media (or medium), including carry out when executed in above-described embodiment The computer-readable instruction of the operation of method.
In addition, a kind of computer program product is also provided, including above computer readable media (or medium).
It is to be understood that in various embodiments of the present invention, the size of the sequence number of above-mentioned each process is not meant to perform suitable The priority of sequence, the execution sequence of each process should be determined with its function and internal logic, without the implementation of the reply embodiment of the present invention Process forms any restriction.
Those of ordinary skill in the art may realize that each exemplary list described with reference to the embodiments described herein Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical solution.Professional technician Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, can be with Realize by another way.For example, apparatus embodiments described above are only schematical, for example, the unit Division, is only a kind of division of logic function, can there is other dividing mode, such as multiple units or component when actually realizing Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, equipment or unit Close or communicate to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can with positioned at a place, or can also be distributed to multiple In network unit.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units integrate in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part to contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be People's computer, server, or network equipment etc.) perform all or part of step of each embodiment the method for the present invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (English full name:Read-only memory, English letter Claim:ROM), random access memory (English full name:Random access memory, English abbreviation:RAM), magnetic disc or light Disk etc. is various can be with the medium of store program codes.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (11)

  1. A kind of 1. SDN network band control Path Setup method, it is characterised in that the described method includes:
    Establish and enable the first flow table, first flow table is used to indicate to transfer to purpose IP address for the message of local IP address Upper-layer protocol processing;
    ARP request of the purpose IP address for the IP address of SDN controllers is sent, and is receiving the ARP that matches first flow table After response, the port that record receives the arp response is uplink exit port;
    Establish and enable the second flow table, second flow table is used to indicate to transfer to key-course to handle port discovery message;
    Receive after matching the port discovery message that other OpenFlow switching equipment of second flow table are sent, record it is described its The IP address of his OpenFlow switching equipment, is recorded as handing over other described OpenFlow the port for finding message is received The corresponding downlink exit port of exchange device, and the discovery message is forwarded from the uplink exit port.
  2. 2. the method as described in claim 1, it is characterised in that the method further includes:
    Establish and enable the 3rd flow table, the 3rd flow table is used to indicate that by purpose IP address be the IP address of SDN controllers Message is forwarded via the uplink exit port;
    After receiving ARP request of the purpose IP address of other OpenFlow switching equipment transmission for the IP address of SDN controllers, Forwarded according to the 3rd flow table via the uplink exit port;
    Establish and enable the 4th flow table, it is that other described OpenFlow are exchanged that the 4th flow table, which is used to indicate by purpose IP address, The message of equipment is forwarded via the downlink exit port;
    The purpose IP address for receiving the transmission of SDN controllers is that the ARP of the IP address of other OpenFlow switching equipment is rung Ying Hou, forwards according to the 4th flow table via the downlink exit port.
  3. 3. method as claimed in claim 2, it is characterised in that if the OpenFlow switching equipment are to be controlled with the SDN The OpenFlow switching equipment that device is directly connected to, the method further include:
    The OpenFlow switching equipment replace SDN controllers to send packet in messages, are sealed in the packet in messages Inbound port equipped with gratuitous ARP request and the packet in messages is the uplink exit port, so that the SDN controllers Connection relation with the OpenFlow switching equipment is identified by the packet in messages.
  4. 4. according to claim 1-3 any one of them methods, it is characterised in that it is described establish and enable the first flow table it Before, the method further includes:
    Receive the configuration information of the IP address of local IP address and the SDN controllers.
  5. 5. according to the method described in claim 4, it is characterized in that, the method further includes:
    To all OpenFlow ports of the machine, sending port finds message at the same time for timing, and the port discovery message is customized Ethernet message and carrying local IP address.
  6. A kind of 6. OpenFlow switching equipment, it is characterised in that including:
    Processing unit, for establishing and enabling the first flow table, it is the machine IP that first flow table, which is used to indicate purpose IP address, The message of address transfers to upper-layer protocol to handle;
    Transmitting element, for sending the ARP request for the IP address that purpose IP address is SDN controllers, and is receiving described in matching After the arp response of first flow table, the port that record receives the arp response is uplink exit port;
    The processing unit, is additionally operable to establish and enables the second flow table, and second flow table is used to indicate port discovery message Key-course is transferred to handle;
    Receiving unit, the port discovery report that other OpenFlow switching equipment of second flow table are sent is matched for receiving Text;
    The processing unit, is additionally operable to the IP address of record other OpenFlow switching equipment, is reported the discovery is received The port of text is recorded as downlink exit port corresponding with other described OpenFlow switching equipment;
    The transmitting element, is additionally operable to forward the discovery message from the uplink exit port.
  7. 7. OpenFlow switching equipment according to claim 6, it is characterised in that
    The processing unit, is additionally operable to establish and enables the 3rd flow table, and the 3rd flow table is used for instruction and is by purpose IP address The message of the IP address of SDN controllers is forwarded via the uplink exit port;
    The transmitting element, with being additionally operable to receive the destination IP of other OpenFlow switching equipment transmission in the receiving unit After ARP request of the location for the IP address of SDN controllers, forwarded according to the 3rd flow table via the uplink exit port;
    The processing unit, is additionally operable to establish and enables the 4th flow table, and the 4th flow table is used for instruction and is by purpose IP address The message of other OpenFlow switching equipment is forwarded via the downlink exit port;
    The transmitting element, be additionally operable to the receiving unit receive the purpose IP address of SDN controllers transmission for it is described its After the arp response of the IP address of his OpenFlow switching equipment, forwarded according to the 4th flow table via the downlink exit port Go out.
  8. 8. OpenFlow switching equipment according to claim 7, it is characterised in that if the OpenFlow switching equipment are The OpenFlow switching equipment being directly connected to the SDN controllers;
    The transmitting element, is additionally operable to replace SDN controllers to send packet in messages, is encapsulated in the packet in messages It is the uplink exit port to have the inbound port of gratuitous ARP request and the packet in messages, so that the SDN controllers lead to Cross the packet in messages and identify connection relation with the OpenFlow switching equipment.
  9. 9. according to claim 6-8 any one of them OpenFlow switching equipment, it is characterised in that
    The receiving unit, is additionally operable to receive the configuration information of the IP address of local IP address and the SDN controllers.
  10. 10. OpenFlow switching equipment according to claim 9, it is characterised in that the transmitting element, is additionally operable to timing To all OpenFlow ports of the machine, sending port finds message at the same time, and the port discovery message is customized Ethernet message And carry local IP address.
  11. 11. a kind of SDN network, it is characterised in that including such as claim 6-10 any one of them OpenFlow switching equipment And SDN controllers.
CN201711167097.5A 2017-11-21 2017-11-21 SDN network in-band control channel establishment method and device Active CN107911297B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711167097.5A CN107911297B (en) 2017-11-21 2017-11-21 SDN network in-band control channel establishment method and device
PCT/CN2018/115495 WO2019100993A1 (en) 2017-11-21 2018-11-14 Sdn network in-band control channel establishment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711167097.5A CN107911297B (en) 2017-11-21 2017-11-21 SDN network in-band control channel establishment method and device

Publications (2)

Publication Number Publication Date
CN107911297A true CN107911297A (en) 2018-04-13
CN107911297B CN107911297B (en) 2020-03-24

Family

ID=61846759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711167097.5A Active CN107911297B (en) 2017-11-21 2017-11-21 SDN network in-band control channel establishment method and device

Country Status (2)

Country Link
CN (1) CN107911297B (en)
WO (1) WO2019100993A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108768711A (en) * 2018-05-18 2018-11-06 新华三技术有限公司 A kind of network management, device and equipment
WO2019100993A1 (en) * 2017-11-21 2019-05-31 迈普通信技术股份有限公司 Sdn network in-band control channel establishment method and device

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11115379B2 (en) * 2019-02-28 2021-09-07 Vmware, Inc. Management of endpoint address discovery in a software defined networking environment
CN113726548B (en) * 2021-07-19 2024-02-02 电信科学技术第五研究所有限公司 Method for automatically discovering two-layer network switching equipment and capable of remotely configuring and managing IP
CN114024968B (en) * 2021-08-20 2023-05-26 绿盟科技集团股份有限公司 Message sending method and device based on intermediate equipment and electronic equipment
CN115065494B (en) * 2022-04-02 2023-11-14 北京北信源软件股份有限公司 Method, device, equipment and medium for establishing network connection

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763207A (en) * 2014-01-29 2014-04-30 杭州华三通信技术有限公司 In-band control connection establishment method and device in SDN
CN103905317A (en) * 2012-12-28 2014-07-02 中兴通讯股份有限公司 Message processing method and system for software-defined network
CN104184664A (en) * 2014-08-05 2014-12-03 杭州华三通信技术有限公司 Router forwarding entry generation method and apparatus
CN104780088A (en) * 2015-03-19 2015-07-15 杭州华三通信技术有限公司 Service message transmission method and equipment
CN105450532A (en) * 2014-09-28 2016-03-30 杭州华三通信技术有限公司 Three-layer forwarding method and three-layer forwarding device in software defined network
CN105812502A (en) * 2016-03-07 2016-07-27 北京工业大学 OpenFlow-based implementation method for address resolution protocol proxy technology
US20170026422A1 (en) * 2015-07-20 2017-01-26 At&T Intellectual Property I, L.P. System and Method for Using Software Defined Networking in Internet Protocol Multimedia Subsystems
CN106506200A (en) * 2016-10-31 2017-03-15 中国工程物理研究院计算机应用研究所 A kind of ARP protocol submodel based on SDN
CN106572103A (en) * 2016-10-28 2017-04-19 桂林电子科技大学 Hidden port detection method based on SDN network architecture
US9729948B1 (en) * 2016-04-07 2017-08-08 Infinera Corporation Systems and methods for discovery of a controller in openflow networks

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577548B (en) * 2014-10-10 2018-10-09 新华三技术有限公司 Message processing method and device in a kind of software defined network
US9742648B2 (en) * 2015-03-23 2017-08-22 Brocade Communications Systems, Inc. Efficient topology failure detection in SDN networks
CN106992896B (en) * 2017-05-27 2019-07-23 迈普通信技术股份有限公司 SDN connection judgment method, apparatus and system
CN107911297B (en) * 2017-11-21 2020-03-24 迈普通信技术股份有限公司 SDN network in-band control channel establishment method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103905317A (en) * 2012-12-28 2014-07-02 中兴通讯股份有限公司 Message processing method and system for software-defined network
CN103763207A (en) * 2014-01-29 2014-04-30 杭州华三通信技术有限公司 In-band control connection establishment method and device in SDN
CN104184664A (en) * 2014-08-05 2014-12-03 杭州华三通信技术有限公司 Router forwarding entry generation method and apparatus
CN105450532A (en) * 2014-09-28 2016-03-30 杭州华三通信技术有限公司 Three-layer forwarding method and three-layer forwarding device in software defined network
CN104780088A (en) * 2015-03-19 2015-07-15 杭州华三通信技术有限公司 Service message transmission method and equipment
US20170026422A1 (en) * 2015-07-20 2017-01-26 At&T Intellectual Property I, L.P. System and Method for Using Software Defined Networking in Internet Protocol Multimedia Subsystems
CN105812502A (en) * 2016-03-07 2016-07-27 北京工业大学 OpenFlow-based implementation method for address resolution protocol proxy technology
US9729948B1 (en) * 2016-04-07 2017-08-08 Infinera Corporation Systems and methods for discovery of a controller in openflow networks
CN106572103A (en) * 2016-10-28 2017-04-19 桂林电子科技大学 Hidden port detection method based on SDN network architecture
CN106506200A (en) * 2016-10-31 2017-03-15 中国工程物理研究院计算机应用研究所 A kind of ARP protocol submodel based on SDN

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019100993A1 (en) * 2017-11-21 2019-05-31 迈普通信技术股份有限公司 Sdn network in-band control channel establishment method and device
CN108768711A (en) * 2018-05-18 2018-11-06 新华三技术有限公司 A kind of network management, device and equipment

Also Published As

Publication number Publication date
WO2019100993A1 (en) 2019-05-31
CN107911297B (en) 2020-03-24

Similar Documents

Publication Publication Date Title
CN107911297A (en) A kind of SDN network band control Path Setup method and apparatus
CN102857416B (en) A kind of realize the method for virtual network, controller and virtual network
EP2974133B1 (en) Method and system for controlling an underlying physical network by a software defined network
EP3082309B1 (en) Sdn controller, data centre system and router connection method
US8050273B2 (en) Lawful interception in IP networks
CN103401786A (en) Method, device and system for establishing network topology, controlling path and transmitting message
CN103944828A (en) Method and equipment for transmitting protocol messages
KR101658824B1 (en) Method, apparatus and computer program for updating flow rules of software defined network
JP2010056819A (en) Communication network system for virtual private network, line connection device, and band control method
JP2005151025A (en) Extended relay system and relaying apparatus
JP2008147882A5 (en)
EP1913736B1 (en) Spanning tree bpdu processing method and apparatus facilitating integration of different native vlan configurations
EP4080902B1 (en) Methods and devices for distributing routing information
CN112866143A (en) Device and chip for realizing 802.1CB protocol
Owada et al. An Implementation of layer 2 overlay mesh network and edge computing platform for IoT
JP2019041227A (en) Communication program, communication method, and communication device
CN112566183A (en) SDN controller capable of automatically turning on 5G transmission circuit
JP7127537B2 (en) Transport network control device, communication system, transfer node control method and program
KR101767439B1 (en) Method, apparatus and computer program for managing paths for packets of software defined network
CN117155854A (en) A computing power card network application and resource scheduling method connected to the existing network forwarding equipment
KR102092091B1 (en) Methods, apparatus and computer programs for providing high availability and reliability in software defined network
KR102207290B1 (en) Method for supporting vlans in software defined network
CN102801628A (en) Data forwarding method and system in GRE (General Routing Encapsulation) tunnels
EP1302030B1 (en) In-band management of a stacked group of switches by a single cpu
CN101146054B (en) Packet forward method and device under PBT multi-point-to-point mode

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
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 610041 nine Xing Xing Road 16, hi tech Zone, Sichuan, Chengdu

Patentee after: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 610041, 17 floor, maple building, 1 building, 288 Tianfu street, Chengdu, Sichuan.

Patentee before: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.