CN109936490A - Virtual home network share method and system based on VXLAN and OpenFlow - Google Patents

Virtual home network share method and system based on VXLAN and OpenFlow Download PDF

Info

Publication number
CN109936490A
CN109936490A CN201910365269.2A CN201910365269A CN109936490A CN 109936490 A CN109936490 A CN 109936490A CN 201910365269 A CN201910365269 A CN 201910365269A CN 109936490 A CN109936490 A CN 109936490A
Authority
CN
China
Prior art keywords
address
vxlan
vtep
under
openflow
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
CN201910365269.2A
Other languages
Chinese (zh)
Other versions
CN109936490B (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201910365269.2A priority Critical patent/CN109936490B/en
Publication of CN109936490A publication Critical patent/CN109936490A/en
Priority to PCT/CN2019/094124 priority patent/WO2020220459A1/en
Application granted granted Critical
Publication of CN109936490B publication Critical patent/CN109936490B/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
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks

Landscapes

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

Abstract

The virtual home network share method and system based on VXLAN and OpenFlow that the invention discloses a kind of are related to data message forwarding field, and this method includes creation VXLAN connection, connect the end vG and the end pG of virtual home;VXLAN connection is created between virtual home, and modifies the VXLAN FDB table of newly-built VXLAN connection, so that double layer network is reachable between virtual home;The end vG passes through multicast mode to resource contained by extension device multicast itself under the end pG;Resource needed for hanging the standby end vG itself by mode of unicast informing under the end pG;The end vG is sent by mode of unicast and hangs standby required resource under the end pG.The present invention can make to carry out data-message transmission between each virtual home, realize resource-sharing.

Description

Virtual home network share method and system based on VXLAN and OpenFlow
Technical field
The present invention relates to data message forwarding fields, and in particular to one kind is based on VXLAN (Virtual Extensible LAN, virtual extended local area network) and OpenFlow (communication protocol) virtual home network share method and system.
Background technique
Virtual home gateway is divided into two parts, be placed in data center server vG (virtual Gateway, Virtual gateway) end and the pG (physical Gateway, physical gateway), the end vG of virtual home and pG that are placed in user family It is attached between end using VXLAN.The end vG is equivalent to server side, and the end pG is equivalent to user side.
For virtual home gateway, traditional network isolation mainly using VLAN (Virtual Local Area Network, Virtual LAN) it carries out, and due to home gateway substantial amounts in data center, it is nowadays general by the way of Overlay Carry out inter-household isolation.How to be realized but by the way of Overlay, between family and data center server end is provided The share and access in source, there is no effective solution modes at present.
Summary of the invention
The present invention discloses a kind of virtual home network share method and system based on VXLAN and OpenFlow, can make Data-message transmission is carried out between each virtual home, realizes resource-sharing.
A kind of virtual home network share method based on VXLAN and OpenFlow provided by the invention, including following step It is rapid:
VXLAN connection is created, the end vG and the end pG of virtual home are connected;
VXLAN connection is created between virtual home, and modifies the VXLAN FDB table of newly-built VXLAN connection, so that virtual home Between double layer network it is reachable;
The end vG passes through multicast mode to resource contained by extension device multicast itself under the end pG;
Resource needed for hanging the standby end vG itself by mode of unicast informing under the end pG;
The end vG is sent by mode of unicast and hangs standby required resource under the end pG.
On the basis of above scheme,
The end vG to before hanging resource contained by device multicast itself under all ends pG, is specifically included by multicast mode:
The FDB table for modifying the end the end vG VXLAN connection VTEP, so that the multicast packets at the end vG are up to the end pG;
The OpenFlow flow table at the end vG is modified, so that the source IP address at the end vG is to be not used by IP address;
Before resource needed for hanging the standby end vG itself by mode of unicast informing under the end pG, specifically include:
The FDB table for modifying the end the end pG VXLAN connection VTEP, so as to hang standby unicast packet under the end pG up to the end vG;
Modify the end pG OpenFlow flow table so that hung under the end pG preparation toward the end vG message source IP address be not by Use IP address.
On the basis of above scheme, the FDB table at the end the end vG VXLAN connection VTEP is modified, modifies the OpenFlow at the end vG Flow table specifically includes:
IP mapping is carried out in the virtual switch of the end vG, and by issuing OpenFlow flow table, the source IP address at the end vG is reflected Penetrate the first IP address to be not used by;
It modifies the end vG and creates the end VTEP FDB table in VXLAN connection, the address purpose mac of multicast packets is corresponded into the end pG Vtep endpoint.
On the basis of above scheme, the FDB table at the end the end pG VXLAN connection VTEP is modified, modifies the OpenFlow at the end pG Flow table specifically includes:
IP mapping is carried out in the virtual switch of the end pG, and by issuing OpenFlow flow table, it is past by preparation is hung under the end pG The source IP address of the end vG message is mapped as the second IP address being not used by;
ARP table in the virtual switch of the end pG is modified, the first IP address is corresponded to the address mac at the end vG;
By in the FDB table of the end the pG end VXLAN connection VTEP, the address mac at the end vG corresponds to the end vG VTEP endpoint.
On the basis of above scheme, the end vG is sent before hanging standby required resource under the end pG by mode of unicast, Further include:
IP mapping is carried out in the virtual switch of the end vG, and by issuing OpenFlow flow table, the source IP address at the end vG is reflected It penetrates as the first IP address;
ARP table in the virtual switch of the end vG is modified, the second IP address is corresponded to hang the standby address mac under the end pG;
The end vG is created in the FDB table of the end VXLAN connection VTEP, the standby address mac is hung under the end pG and corresponds to the end pG VTEP Endpoint.
A kind of virtual home network share system based on VXLAN and OpenFlow provided by the invention, comprising:
First creation module is used to create VXLAN connection, connects the end vG and the end pG of virtual home gateway;
Second creation module is used to create VXLAN connection between virtual home, and modifies newly-built VXLAN connection VXLAN FDB table, so that double layer network is reachable between virtual home;
Group broadcasting module is used to that the end vG to be driven to pass through multicast mode to resource contained by extension device broadcasts itself under the end pG;
First unicast module is used to drive to hang under the end pG and informs the required resource in the end vG itself for by mode of unicast;
Second unicast module is used to that the end vG to be driven to send standby required resource is hung under the end pG by mode of unicast.
On the basis of above scheme,
Before itself contained resource is broadcasted by multicast mode in the end vG, specifically include:
The FDB table that the end vG creates the end VXLAN connection VTEP is modified, so that the multicast packets at the end vG are up to the end pG;
The OpenFlow flow table at the end vG is modified, so that the source IP address at the end vG is to be not used by IP address;
Before resource needed for hanging the standby end vG itself by mode of unicast informing under the end pG, specifically include:
The FDB table for modifying the end the end pG VXLAN connection VTEP, so as to hang standby unicast packet under the end pG up to the end vG;
Modify the end pG OpenFlow flow table so that hung under the end pG preparation toward the end vG message source IP address be not by Use IP address.
On the basis of above scheme, the modification end vG creates the FDB table at the end VXLAN connection VTEP, the modification end vG OpenFlow flow table specifically includes:
IP mapping is carried out in the virtual switch of the end vG, and by issuing OpenFlow flow table, the source IP address at the end vG is reflected Penetrate the first IP address to be not used by;
It modifies the end vG and creates the end VTEP FDB table in VXLAN connection, the address purpose mac of multicast packets is corresponded into the end pG Vtep endpoint.
On the basis of above scheme, the FDB table at the end the end pG VXLAN connection VTEP is modified, modifies the OpenFlow at the end pG Flow table specifically includes:
IP mapping is carried out in the virtual switch of the end pG, and by issuing OpenFlow flow table, it is past by preparation is hung under the end pG The source IP address of the end vG message is mapped as the second IP address being not used by;
ARP table in the virtual switch of the end pG is modified, the first IP address is corresponded to the address mac at the end vG;
By in the FDB table of the end the pG end VXLAN connection VTEP, the address mac at the end vG corresponds to the end vG VTEP endpoint.
On the basis of above scheme, the end vG is sent before hanging standby required resource under the end pG by mode of unicast, Further include:
IP mapping is carried out in the virtual switch of the end vG, and by issuing OpenFlow flow table, the source IP address at the end vG is reflected It penetrates as the first IP address;
ARP table in the virtual switch of the end vG is modified, the second IP address is corresponded to hang the standby address mac under the end pG;
The end vG is created in the FDB table of the end VXLAN connection VTEP, the standby address mac is hung under the end pG and corresponds to the end pG VTEP Endpoint.
Compared with the prior art, the advantages of the present invention are as follows: by creating VXLAN connection between virtual home, and modify The VXLAN FDB table of newly-built VXLAN connection, so that double layer network is reachable between virtual home, so that the end vG of some virtual home It can be communicated to being hung under the end other virtual home pG, and other virtual homes can obtain the end virtual home vG Resource is able to carry out data-message transmission between the end vG and the end pG of each virtual home, realize resource-sharing.
Detailed description of the invention
Fig. 1 is a kind of stream of the virtual home network share method based on VXLAN and OpenFlow in the embodiment of the present invention Cheng Tu;
Fig. 2 is the process schematic for the multicast message that the end vG is sent to the end pG in present example;
Fig. 3 is resource needed for hanging the standby end vG itself by mode of unicast reply message informing in present example under the end pG Process schematic;
Fig. 4 be in present example the end vG by mode of unicast to hanging standby transmission resource under the end pG;
Fig. 5 is by the FDB sheet format that saves in VXLAN endpoint VTEP in present example.
Specific embodiment
Invention is further described in detail with reference to the accompanying drawings and embodiments.Those skilled in the art Ying Ming White, the embodiment of the present invention can provide as method, system or computer program product.Therefore, complete hardware can be used in the present invention The form of embodiment, complete software embodiment or embodiment combining software and hardware aspects.Moreover, the present invention can be used One or more wherein includes that (including but not limited to disk is deposited for the computer-usable storage medium of computer usable program code Reservoir, CD-ROM, optical memory etc.) on the form of computer program product implemented.
The embodiment of the present invention provides a kind of virtual home network share method based on VXLAN and OpenFlow, by VXLAN connection is created between virtual home, and modifies the VXLAN FDB table of newly-built VXLAN connection, so that two layers of net between virtual home Network is reachable, the end vG of some virtual home is communicated to hanging under the end other virtual home pG, and other virtual families Front yard can obtain the resource at the end virtual home vG, realize resource-sharing.The embodiment of the present invention has also correspondingly provided a kind of base In the virtual home network share system of VXLAN and OpenFlow.
Shown in Figure 1, a kind of virtual home network based on VXLAN and OpenFlow provided in an embodiment of the present invention is total The embodiment for enjoying method includes:
S1: creation VXLAN connection connects the end vG and the end pG of virtual home;
In the embodiment of the present invention, the end pG corresponds to the access device for being located at user side in virtual home, to access in family The terminal devices such as mobile phone, computer, it will be understood that the corresponding virtual home vG of each pG.The end vG of each virtual home and It is all made of VXLAN between the end pG to be attached, and using the virtual switch for supporting OpenFlow agreement inside the end vG and the end pG.
S2: creating VXLAN connection between virtual home, and modifies the VXLAN FDB table of newly-built VXLAN connection, so that virtually Double layer network is reachable between family;
In the embodiment of the present invention, by VXLAN connection VXLAN FDB table between modification virtual home, so that between virtual home Data can intercommunication, i.e., be able to carry out between the end vG and the end pG of each virtual home data packet transmission.
In actual application, virtual home quantity is multiple, but sometime needs to carry out the virtual of data sharing Family may only have 2, such as virtual home A and virtual home B, then VXLAN is created between virtual home A and virtual home B Then connection modifies virtual home A with VXLAN between virtual home B and connects VXLAN FDB table, thus virtual home A and virtual family Realize that two layers of link are reachable between the B of front yard, data interchange, virtual home A can obtain the resource at the end vG of virtual home B, similarly, virtually Family B can also obtain the resource at the end vG of virtual home A.The forwarding of FDB (Forwarding Data Base) table, i.e. MAC Address Table.
The end S3:vG resource contained by itself is broadcasted to the end pG by multicast mode;
Resource needed for standby (computer, mobile phone etc.) informs the end vG itself by mode of unicast is hung under the end S4:pG;
The end S5:vG is sent by mode of unicast and hangs standby required resource under the end pG.
In the embodiment of the present invention, when carrying out the end the vG resource-sharing between virtual home, the end vG is informed by multicast mode Oneself standby provided resource is hung under the end pG, and the standby informing end vG itself institute after knowing resource provided by the end vG is hung under the end pG Need resource, the end vG is by mode of unicast to hanging standby transmission resource under the end pG.
A kind of virtual home network share method based on VXLAN and OpenFlow of the embodiment of the present invention, by void VXLAN connection is created between quasi- family, and modifies the VXLAN FDB table of newly-built VXLAN connection, so that double layer network between virtual home It is reachable, enable the end vG of some virtual home to send multicast message to hanging preparation under the end other virtual home pG, and other The standby resource that can obtain the end virtual home vG is hung under the end virtual home pG, it can between the end vG and the end pG of each virtual home Data-message transmission is carried out, realizes resource-sharing.
Optionally, in a kind of above-mentioned virtual home network share method corresponding embodiment based on VXLAN and OpenFlow On the basis of, the of a kind of virtual home network share method based on VXLAN and OpenFlow provided in an embodiment of the present invention In one alternative embodiment, the end vG by multicast mode to before hanging resource contained by device multicast itself under all ends pG, specifically It include: the FDB table modified the end vG and create the end VXLAN connection VTEP, so that the multicast packets at the end vG are up to the end pG;Modify the end vG OpenFlow flow table, so that the source IP address at the end vG is the IP address being not used by, i.e., the IP address being not used by before avoids It causes to conflict with existing IP address.VTEP, i.e. VXLAN Tunnel End Point are responsible for the VXLAN envelope of original Ethernet message Dress and decapsulation.
Before resource needed for hanging the standby end vG itself by mode of unicast informing under the end pG, specifically include: the modification end pG The FDB table at the end VXLAN connection VTEP, so as to hang standby unicast packet under the end pG up to the end vG;Modify the OpenFlow flow at the end pG Table, so that the source IP address for hanging preparation toward the message at the end vG under pG is to be not used by IP address, i.e., the IP being not used by before Address avoids causing to conflict with existing IP address.
Optionally, first corresponding in a kind of above-mentioned virtual home network share method based on VXLAN and OpenFlow On the basis of alternative embodiment, a kind of virtual home network based on VXLAN and OpenFlow provided in an embodiment of the present invention is total It enjoys in second alternative embodiment of method, modifies the FDB table at the end the end vG VXLAN connection VTEP, modify the OpenFlow at the end vG Flow table specifically includes:
IP mapping is carried out in the virtual switch of the end vG, and by issuing OpenFlow flow table, the source IP address at the end vG is reflected Penetrate the first IP address to be not used by;
It modifies the end vG and creates the end VTEP FDB table in VXLAN connection, the address purpose mac of multicast packets is corresponded into the end pG Vtep endpoint.
The FDB table at the end the end pG VXLAN connection VTEP is modified, the OpenFlow flow table at the end pG is modified, specifically includes:
IP mapping is carried out in the virtual switch of the end pG, and by issuing OpenFlow flow table, it is past by preparation is hung under the end pG The IP address for being sent to the end vG message is mapped as the second IP address being not used by;
ARP table in pG virtual switch is modified, the first IP address is corresponded to the address mac at the end vG;
By in the FDB table of the end the pG end VXLAN connection VTEP, the address mac at the end vG corresponds to the end vG VTEP endpoint.
Optionally, second corresponding in a kind of above-mentioned virtual home network share method based on VXLAN and OpenFlow On the basis of alternative embodiment, a kind of virtual home network based on VXLAN and OpenFlow provided in an embodiment of the present invention is total It enjoys in the third alternative embodiment of method, the end vG is sent before hanging standby required resource under pG by mode of unicast, further includes:
IP mapping is carried out in the virtual switch of the end vG, and by issuing OpenFlow flow table, the source IP address at the end vG is reflected It penetrates as the first IP address;
ARP table in the virtual switch of the end vG is modified, the second IP address is corresponded to hang the standby address mac under the end pG;
The end vG is created in the FDB table of the end VXLAN connection VTEP, the standby address mac is hung under the end pG and corresponds to the end pG VTEP Endpoint.
The end vG in the embodiment of the present invention is informed by multicast mode below in conjunction with an example and is hung under other pG for certainly Resource provided by oneself, hang under pG it is standby know inform the end vG itself after resource provided by the end vG needed for resource, the end vG passes through Mode of unicast is specifically described to standby transmission resource, above-mentioned process is hung under the end pG.
Shown in Figure 2, the end vG is equivalent to the server side of virtual home gateway, and the end pG is equivalent to as virtual home gateway User side.It is deployed with vSwitch in vG and pG, receives the control of controller Controller by OpenFlow agreement, from And the five-tuple information of data message can be modified etc..NC (Network Card) represents network interface card, and VXLAN endpoint of a tunnel is vtep.It acts on behalf of Agent (pG2Agent omission is not drawn into Fig. 2) and receives the management of controller Controller to vtep's VXLAN FDB table is configured.The end vG is informed by multicast mode hangs oneself standby provided resource process under other ends pG In, the end vG is sent to the multicast message at the end pG, and processing logic is as follows:
VXLAN source endpoint (end vG) is vtep1, and source IP address ip1, the source address mac is mac1;The endpoint of VXLAN mesh (end pG) is vtep2, and purpose IP address is multicast address ip_multi, and the address purpose mac is multicast mac address mac_multi.
IP mapping is done in the virtual switch of the end vG, by issuing OpenFlow flow table, source IP address ip1 is mapped as ip1_ New (address is reserved address, not will cause the address conflict between different home), while the end vG VXLAN FDB table is modified, it will Mac_multi corresponds to VXLAN endpoint vtep2;
PG terminates the multicast message received, source MAC mac1, source IP address ip1_new, and target MAC (Media Access Control) address is Mac_multi, purpose IP address ip_multi.
It is shown in Figure 3, the standby required resource flow in the informing end vG itself after knowing resource provided by the end vG is hung under the end pG Resource needed for hanging the standby end vG itself by mode of unicast reply message informing under the end Cheng Zhong, pG, processing logic are as follows:
VXLAN endpoint where the end vG is vtep1, and the end vG IP address is ip1, and the address server mac is mac1;Where pG VXLAN endpoint is vtep2, and it is ip2 that IP address of equipment is hung under the end pG, and it is mac2 that the standby address mac is hung under the end pG.Since the end pG is received The source IP address of the multicast message arrived is ip1_new, therefore the purpose IP address for replying message is ip1_new, and source IP address is ip2;
IP mapping is carried out in the virtual switch at the end pG, OpenFlow flow table is issued by controller, by source IP address ip2 It is mapped as ip2_new (address is reserved address, not will cause the address conflict between different home), is modified in virtual switch ARP table be that ip1_new correspond to mac1, mac1 is corresponded to VXLAN endpoint by FDB table in the VXLAN endpoint of the modification end pG place vtep1;
After the packet decapsulation that the end vG VXLAN interface vtep1 is received, source MAC mac2, source IP address ip2_ New, the address purpose mac are mac1, purpose IP address ip1_new, are IP by the OpenFlow flow table in the modification end vG and reflect It penetrates, the purpose IP address ip1_new of the message is changed to ip1, then forwards the packet to the end vG inter-process.
Shown in Figure 4, by mode of unicast to the end pG transmission resource, logic is as follows at the end vG:
VXLAN endpoint where the end vG is vtep1, and the end vG IP address is ip1, and the end the vG address mac is mac1;The end pG VXLAN Endpoint is vtep2, and it is ip2 that IP address of equipment is hung under the end pG, and it is mac2 that the standby address mac is hung under the end pG;
The data message source address mac that the end vG issues is mac1, and source IP address ip1, the address purpose mac is mac2, mesh IP address be ip2_new.IP mapping is done in virtual switch in the end vG, by issuing OpenFlow flow table, by source IP Location is mapped as ip1_new, and the ARP table modification in the virtual switch at the end vG makes ip2_new correspond to mac2, modifies the end vG VXLAN FDB table be mac2 correspond to vtep2;
Message after the end pG VXLAN interface vtep2 decapsulation, the source address mac are mac1, source IP address ip1_new, mesh The address mac be mac2, purpose IP address ip2_new.IP mapping is done in virtual switch where the end pG, by issuing Purpose IP address ip2_new is mapped as ip2 by OpenFlow flow table, while modifying ARP table is that ip1_new corresponds to mac1, the end pG Under to hang the standby address message source mac received be mac1, source IP address ip1_new, the address purpose mac is mac2, purpose IP address is ip2.
It in the embodiment of the present invention, in the server side and user side of virtual home gateway, needs to be deployed with Agent, uses Configuration is issued in the instruction for receiving controller.Controller Controller connects the Agent by Netconf agreement, and use is following It is transported to and sets, change the FDB table of server side and equipment side vtep.
Controller (Controller) mainly provides the api interface in north-south, and southbound interface is responsible for and base network device Communication is called, and northbound interface is responsible for and upper layer application is communicated, called.Meanwhile controller can provide web administration platform, own SDN network function is disposed on this interface, is called, and independence, ease for use, the scalability between network function are Measure the key index of SDN Controller.
Not used IP resource is distributed for each Agent, issues configuration to Agent by agreements such as Netconf, to Modify the VXLAN FDB table at the end VTEP.The forward rule of vSwitch is modified, if using the virtual of OpenFlow agreement is supported Interchanger then issues flow table by OpenFlow agreement, to change the IP address of data message.
Configuration Agent Agent needs to safeguard that VXLAN forwards tables of data.Agent receives the instruction of Controller, to VTEP FDB table configured.
VXLAN FDB sheet format is as shown in Figure 5.The endpoint in the tunnel VXLAN is called VTEP, can configure forwarding number in VTEP According to table, can be determined data envelope being sent to next-hop in VXLAN message according to the target MAC (Media Access Control) address of internal layer message VTEP.If it is unicast MAC, Agent need to only configure distal end vtep corresponding to the MAC Address, the information of vtep include IP, VNI (VXLAN Network Identifier, virtual expansible local net network identifier) and port (port) information.If It is multicast MAC, Agent needs to configure vtep chained list in distal end corresponding to the MAC Address.As shown in Fig. 5 (a), if internal layer report The target MAC (Media Access Control) address of text is unicast mac address, then the end vtep need to be sent to by meaning the message only, therefore need to only record this The IP address at the end vtep corresponding to unicast mac address, No. VNI and port port.As shown in Fig. 5 (b), if internal layer message Target MAC (Media Access Control) address be multicast mac address, then mean that the message needs to be sent to multiple ends vtep, it is therefore desirable to record multiple The IP address at the end vtep, No. VNI and port port, and stored in the form of chained list.
The one of a kind of virtual home network share system based on VXLAN and OpenFlow provided in an embodiment of the present invention is real Applying example includes:
First creation module is used to create VXLAN connection, connects the end vG and the end pG of virtual home gateway;
Second creation module is used to create VXLAN connection between virtual home, and modifies newly-built VXLAN connection VXLAN FDB table, so that double layer network is reachable between virtual home;
Group broadcasting module is used to that the end vG to be driven to pass through multicast mode to resource contained by extension device broadcasts itself under the end pG;
First unicast module is used to drive to hang under the end pG and informs the required resource in the end vG itself for by mode of unicast;
Second unicast module is used to that the end vG to be driven to send standby required resource is hung under the end pG by mode of unicast.
Before itself contained resource is broadcasted by multicast mode in the end vG, specifically include:
The FDB table that the end vG creates the end VXLAN connection VTEP is modified, so that the multicast packets at the end vG are up to the end pG;
The OpenFlow flow table at the end vG is modified, so that the source IP address at the end vG is to be not used by IP address;
Before resource needed for hanging the standby end vG itself by mode of unicast informing under the end pG, specifically include:
The FDB table for modifying the end the end pG VXLAN connection VTEP, so as to hang standby unicast packet under the end pG up to the end vG;
Modify the end pG OpenFlow flow table so that hung under the end pG preparation toward the end vG message source IP address be not by Use IP address.
Optionally, in a kind of above-mentioned virtual home network share system corresponding embodiment based on VXLAN and OpenFlow On the basis of, the of a kind of virtual home network share system based on VXLAN and OpenFlow provided in an embodiment of the present invention In one alternative embodiment, the modification end vG creates the FDB table at the end VXLAN connection VTEP, modifies the OpenFlow flow table at the end vG, tool Body includes:
IP mapping is carried out in the virtual switch of the end vG, and by issuing OpenFlow flow table, the source IP address at the end vG is reflected Penetrate the first IP address to be not used by;
It modifies the end vG and creates the end VTEP FDB table in VXLAN connection, the address purpose mac of multicast packets is corresponded into the end pG Vtep endpoint.
The FDB table at the end the end pG VXLAN connection VTEP is modified, the OpenFlow flow table at the end pG is modified, specifically includes:
IP mapping is carried out in the virtual switch of the end pG, and by issuing OpenFlow flow table, it is past by preparation is hung under the end pG The source IP address of the end vG message is mapped as the second IP address being not used by;
ARP table in the virtual switch of the end pG is modified, the first IP address is corresponded to the address mac at the end vG;
By in the FDB table of the end the pG end VXLAN connection VTEP, the address mac at the end vG corresponds to the end vG VXLAN endpoint.
The end vG is sent before hanging standby required resource under the end pG by mode of unicast, further includes:
IP mapping is carried out in the virtual switch of the end vG, and by issuing OpenFlow flow table, the source IP address at the end vG is reflected It penetrates as the first IP address;
ARP table in the virtual switch of the end vG is modified, the second IP address is corresponded to hang the standby address mac under the end pG;
The end vG is created in the FDB table of the end VXLAN connection VTEP, the standby address mac is hung under the end pG and corresponds to the end pG VTEP Endpoint.
The present invention be referring to according to the method for the embodiment of the present invention, the flow chart of equipment (system) and computer program product And/or block diagram describes.It should be understood that each process in flowchart and/or the block diagram can be realized by computer program instructions And/or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer programs to refer to Enable the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to generate One machine so that by the instruction that the processor of computer or other programmable data processing devices executes generate for realizing The device for the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from Under the premise of the principle of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as protection of the invention Within the scope of.The content being not described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.

Claims (10)

1. a kind of virtual home network share method based on VXLAN and OpenFlow, which comprises the following steps:
VXLAN connection is created, the end vG and the end pG of virtual home are connected;
VXLAN connection is created between virtual home, and modifies the VXLAN FDB table of newly-built VXLAN connection, so that two between virtual home Layer network is reachable;
The end vG passes through multicast mode to resource contained by extension device multicast itself under the end pG;
Resource needed for hanging the standby end vG itself by mode of unicast informing under the end pG;
The end vG is sent by mode of unicast and hangs standby required resource under the end pG.
2. a kind of virtual home network share method based on VXLAN and OpenFlow as described in claim 1, feature exist In,
The end vG to before hanging resource contained by device multicast itself under all ends pG, is specifically included by multicast mode:
The FDB table for modifying the end the end vG VXLAN connection VTEP, so that the multicast packets at the end vG are up to the end pG;
The OpenFlow flow table at the end vG is modified, so that the source IP address at the end vG is to be not used by IP address;
Before resource needed for hanging the standby end vG itself by mode of unicast informing under the end pG, specifically include:
The FDB table for modifying the end the end pG VXLAN connection VTEP, so as to hang standby unicast packet under the end pG up to the end vG;
The OpenFlow flow table at the end pG is modified, so that the source IP address for hanging preparation toward the message at the end vG under the end pG is to be not used by IP address.
3. a kind of virtual home network share method based on VXLAN and OpenFlow as claimed in claim 2, feature exist In the FDB table at the modification end the end vG VXLAN connection VTEP is modified the OpenFlow flow table at the end vG, specifically included:
IP mapping is carried out in the virtual switch of the end vG, and by issuing OpenFlow flow table, the source IP address at the end vG is mapped as The first IP address being not used by;
It modifies the end vG and creates the end VTEP FDB table in VXLAN connection, the address purpose mac of multicast packets is corresponded into the end the pG end vtep Point.
4. a kind of virtual home network share method based on VXLAN and OpenFlow as claimed in claim 3, feature exist In the FDB table at the modification end the end pG VXLAN connection VTEP is modified the OpenFlow flow table at the end pG, specifically included:
IP mapping is carried out in the virtual switch of the end pG, and by issuing OpenFlow flow table, preparation will be hung under the end pG toward the end vG The source IP address of message is mapped as the second IP address being not used by;
ARP table in the virtual switch of the end pG is modified, the first IP address is corresponded to the address mac at the end vG;
By in the FDB table of the end the pG end VXLAN connection VTEP, the address mac at the end vG corresponds to the end vG VTEP endpoint.
5. a kind of virtual home network share method based on VXLAN and OpenFlow as claimed in claim 4, feature exist In the end vG is sent before hanging standby required resource under the end pG by mode of unicast, further includes:
IP mapping is carried out in the virtual switch of the end vG, and by issuing OpenFlow flow table, the source IP address at the end vG is mapped as First IP address;
ARP table in the virtual switch of the end vG is modified, the second IP address is corresponded to hang the standby address mac under the end pG;
The end vG is created in the FDB table of the end VXLAN connection VTEP, the standby address mac is hung under the end pG and corresponds to the end pG VTEP endpoint.
6. a kind of virtual home network share system based on VXLAN and OpenFlow characterized by comprising
First creation module is used to create VXLAN connection, connects the end vG and the end pG of virtual home gateway;
Second creation module is used to create VXLAN connection between virtual home, and modifies the VXLAN of newly-built VXLAN connection FDB table, so that double layer network is reachable between virtual home;
Group broadcasting module is used to that the end vG to be driven to pass through multicast mode to resource contained by extension device broadcasts itself under the end pG;
First unicast module is used to drive to hang under the end pG and informs the required resource in the end vG itself for by mode of unicast;
Second unicast module is used to that the end vG to be driven to send standby required resource is hung under the end pG by mode of unicast.
7. a kind of virtual home network share system based on VXLAN and OpenFlow as claimed in claim 6, feature exist In,
Before itself contained resource is broadcasted by multicast mode in the end vG, specifically include:
The FDB table that the end vG creates the end VXLAN connection VTEP is modified, so that the multicast packets at the end vG are up to the end pG;
The OpenFlow flow table at the end vG is modified, so that the source IP address at the end vG is to be not used by IP address;
Before resource needed for hanging the standby end vG itself by mode of unicast informing under the end pG, specifically include:
The FDB table for modifying the end the end pG VXLAN connection VTEP, so as to hang standby unicast packet under the end pG up to the end vG;
The OpenFlow flow table at the end pG is modified, so that the source IP address for hanging preparation toward the message at the end vG under the end pG is to be not used by IP address.
8. a kind of virtual home network share system based on VXLAN and OpenFlow as claimed in claim 7, feature exist In, the modification end vG creates the FDB table at the end VXLAN connection VTEP, and the OpenFlow flow table at the end vG is modified, is specifically included:
IP mapping is carried out in the virtual switch of the end vG, and by issuing OpenFlow flow table, the source IP address at the end vG is mapped as The first IP address being not used by;
It modifies the end vG and creates the end VTEP FDB table in VXLAN connection, the address purpose mac of multicast packets is corresponded into the end the pG end vtep Point.
9. a kind of virtual home network share system based on VXLAN and OpenFlow as claimed in claim 8, feature exist In the FDB table at the modification end the end pG VXLAN connection VTEP is modified the OpenFlow flow table at the end pG, specifically included:
IP mapping is carried out in the virtual switch of the end pG, and by issuing OpenFlow flow table, preparation will be hung under the end pG toward the end vG The source IP address of message is mapped as the second IP address being not used by;
ARP table in the virtual switch of the end pG is modified, the first IP address is corresponded to the address mac at the end vG;
By in the FDB table of the end the pG end VXLAN connection VTEP, the address mac at the end vG corresponds to the end vG VTEP endpoint.
10. a kind of virtual home network share system based on VXLAN and OpenFlow as claimed in claim 9, feature It is, the end vG is sent before hanging standby required resource under the end pG by mode of unicast, further includes:
IP mapping is carried out in the virtual switch of the end vG, and by issuing OpenFlow flow table, the source IP address at the end vG is mapped as First IP address;
ARP table in the virtual switch of the end vG is modified, the second IP address is corresponded to hang the standby address mac under the end pG;
The end vG is created in the FDB table of the end VXLAN connection VTEP, the standby address mac is hung under the end pG and corresponds to the end pG VTEP endpoint.
CN201910365269.2A 2019-04-30 2019-04-30 Virtual home network sharing method and system based on VXLAN and OpenFlow Active CN109936490B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910365269.2A CN109936490B (en) 2019-04-30 2019-04-30 Virtual home network sharing method and system based on VXLAN and OpenFlow
PCT/CN2019/094124 WO2020220459A1 (en) 2019-04-30 2019-07-01 Vxlan and openflow-based method and system for sharing virtual home network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910365269.2A CN109936490B (en) 2019-04-30 2019-04-30 Virtual home network sharing method and system based on VXLAN and OpenFlow

Publications (2)

Publication Number Publication Date
CN109936490A true CN109936490A (en) 2019-06-25
CN109936490B CN109936490B (en) 2020-07-07

Family

ID=66991192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910365269.2A Active CN109936490B (en) 2019-04-30 2019-04-30 Virtual home network sharing method and system based on VXLAN and OpenFlow

Country Status (2)

Country Link
CN (1) CN109936490B (en)
WO (1) WO2020220459A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110601951A (en) * 2019-10-08 2019-12-20 浪潮云信息技术有限公司 Method for realizing VxLAN expandability in super-large-scale data center
WO2020220459A1 (en) * 2019-04-30 2020-11-05 烽火通信科技股份有限公司 Vxlan and openflow-based method and system for sharing virtual home network

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113904986B (en) * 2021-09-29 2022-11-18 烽火通信科技股份有限公司 Two-layer intercommunication method and equipment for vxlan virtual network and vlan network
CN114338507B (en) * 2021-12-23 2022-11-22 武汉绿色网络信息服务有限责任公司 Method and device for changing traffic forwarding path in cloud gateway system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105515992A (en) * 2014-09-26 2016-04-20 杭州华三通信技术有限公司 Method and device for processing flow table items of VXLAN network
CN105577417A (en) * 2014-11-06 2016-05-11 杭州华三通信技术有限公司 VXLAN (virtual extensible local area network)-based massage forwarding method and device
CN107733764A (en) * 2016-08-11 2018-02-23 中国电信股份有限公司 Method for building up, system and the relevant device in virtual expansible LAN tunnel
CN108429680A (en) * 2018-03-07 2018-08-21 北京优帆科技有限公司 A kind of method for configuring route, system, medium and equipment based on virtual private cloud
WO2018157466A1 (en) * 2017-02-28 2018-09-07 江苏省未来网络创新研究院 Sdn-based cross-data center communication method and network system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10454877B2 (en) * 2016-04-29 2019-10-22 Cisco Technology, Inc. Interoperability between data plane learning endpoints and control plane learning endpoints in overlay networks
CN107465582B (en) * 2016-06-03 2021-06-29 中兴通讯股份有限公司 Data sending method, device and system, physical home gateway and access node
CN107770010B (en) * 2017-09-29 2020-05-12 烽火通信科技股份有限公司 OpenFlow-based home networking method and system
EP3698528B1 (en) * 2017-10-20 2022-07-13 Telefonaktiebolaget LM Ericsson (PUBL) Security enforcement for virtual gateways
CN109936490B (en) * 2019-04-30 2020-07-07 烽火通信科技股份有限公司 Virtual home network sharing method and system based on VXLAN and OpenFlow

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105515992A (en) * 2014-09-26 2016-04-20 杭州华三通信技术有限公司 Method and device for processing flow table items of VXLAN network
CN105577417A (en) * 2014-11-06 2016-05-11 杭州华三通信技术有限公司 VXLAN (virtual extensible local area network)-based massage forwarding method and device
CN107733764A (en) * 2016-08-11 2018-02-23 中国电信股份有限公司 Method for building up, system and the relevant device in virtual expansible LAN tunnel
WO2018157466A1 (en) * 2017-02-28 2018-09-07 江苏省未来网络创新研究院 Sdn-based cross-data center communication method and network system
CN108429680A (en) * 2018-03-07 2018-08-21 北京优帆科技有限公司 A kind of method for configuring route, system, medium and equipment based on virtual private cloud

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020220459A1 (en) * 2019-04-30 2020-11-05 烽火通信科技股份有限公司 Vxlan and openflow-based method and system for sharing virtual home network
CN110601951A (en) * 2019-10-08 2019-12-20 浪潮云信息技术有限公司 Method for realizing VxLAN expandability in super-large-scale data center
CN110601951B (en) * 2019-10-08 2021-12-10 浪潮云信息技术股份公司 Method for realizing VxLAN expandability in super-large-scale data center

Also Published As

Publication number Publication date
WO2020220459A1 (en) 2020-11-05
CN109936490B (en) 2020-07-07

Similar Documents

Publication Publication Date Title
CN103997414B (en) Generate method and the network control unit of configuration information
CN109936490A (en) Virtual home network share method and system based on VXLAN and OpenFlow
CN105791463B (en) A kind of method and apparatus for realizing virtual machine communication
CN102025591B (en) Method and system for implementing virtual private network
CN104426680B (en) Data transmission method, device and system
CN107124347A (en) A kind of optimization method and device of the VXLAN control planes based on BGP EVPN
CN106712988B (en) A kind of virtual network management method and device
CN100471162C (en) Method for releasing and processing virtual circuit information and supplier edge device
EP2654250A2 (en) Virtual local area network identity transformation method and apparatus
EP3069471B1 (en) Optimized multicast routing in a clos-like network
WO2015165311A1 (en) Method for transmitting data packet and provider edge device
CN105264493A (en) Dynamic virtual machines migration over information centric networks
CN108429680A (en) A kind of method for configuring route, system, medium and equipment based on virtual private cloud
CN104468368B (en) Configure the method and device of bgp neighbor
CN108200225A (en) Dissymmetric network address encapsulates
WO2015149253A1 (en) Data center system and virtual network management method of data center
CN102137001B (en) Routing information exchange method, equipment and system
TW201519621A (en) Management server and management method thereof for managing cloud appliances in virtual local area networks
CN102377669B (en) Method for sending message and switch
CN109729012A (en) A kind of unicast message transmission method and device
CN108964940A (en) Message method and device, storage medium
WO2019091088A1 (en) Vxlan configuration method, device and system
EP3086512B1 (en) Implementation method and apparatus for vlan to access vf network and fcf
CN113660164A (en) Message forwarding method and network equipment
CN103401954B (en) The implementation method of virtual DHCP

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