CN108833545A - A method of host is exchanged visits across tri- layers of OVERLAY between solving smooth migration center - Google Patents

A method of host is exchanged visits across tri- layers of OVERLAY between solving smooth migration center Download PDF

Info

Publication number
CN108833545A
CN108833545A CN201810626783.2A CN201810626783A CN108833545A CN 108833545 A CN108833545 A CN 108833545A CN 201810626783 A CN201810626783 A CN 201810626783A CN 108833545 A CN108833545 A CN 108833545A
Authority
CN
China
Prior art keywords
center
vxlan
tunnel
data center
data
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.)
Pending
Application number
CN201810626783.2A
Other languages
Chinese (zh)
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.)
Fujian Jiangxia University
Original Assignee
Fujian Jiangxia University
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 Fujian Jiangxia University filed Critical Fujian Jiangxia University
Priority to CN201810626783.2A priority Critical patent/CN108833545A/en
Publication of CN108833545A publication Critical patent/CN108833545A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/563Data redirection of data network streams
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • 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
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • 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
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to a kind of methods that host is exchanged visits across tri- layers of OVERLAY between solution smooth migration center, and former data center and cloud data center are arranged into same double layer network specifically by design;The double layer network data of former data center are encapsulated into UDP using VXLAN technology, obtain the data packet of double layer network data MAC-in-UDP encapsulation format;The tunnel between VTEP is divided as center inner tunnel and center outer tunnel by VXLAN L3 GW, and chip tunnel horizontal segmentation register in VXLAN L3 GW equipment is set, sets 0 for the attribute of tunnel SVP and DVP outside center;Tunnel in VXLAN L2 GW equipment between center is cancelled, and cancels the static gateway MAC of VXLAN L2 GW;Data packet is transmitted to cloud data center using the IP interface of VTEP equipment;Cloud data center unseals data packet using VTEP, realizes the Data Migration of former data center and cloud data center.It solves the problem of to get through unsuccessfully and between center host across tri- layers of exchanging visits failure of OVERLAY to new data center VXLAN network A RP in legacy data center VLAN gateway.

Description

A method of host is exchanged visits across tri- layers of OVERLAY between solving smooth migration center
Technical field
The present invention relates to virtual-machine datas to migrate field, and in particular between a kind of solution smooth migration center host across The method of tri- layers of OVERLAY exchanging visit.
Background technique
Virtual machine (vm) migration:The purpose of system virtualization is by using virtualization manager(Virtual Machine Monitor, abbreviation VMM)It is virtual in a physical machine and runs one or more virtual machine(Virtual Machine, letter Claim VM);Virtual machine (vm) migration refers to that the virtual machine that will be currently running is moved to another physical server from a physical server, and It is serviced without interrupting.The migrating technology of virtual machine provides easy method for the virtualization of server.Currently a popular virtualization Product VMware, Xen, Hyper-V, KVM all provide respective Migration tools.In order to normally may be used after guaranteeing virtual machine (vm) migration With requirement of the virtual machine to network is that the network before and after virtual machine (vm) migration must be the same double layer network(I.e. VLAN is identical).
Existing virtual machine (vm) migration there are under Cloud-DC on smooth access device host MAC outlet studied with The tunnel exit that VXLAN L3 GW is established, and due to split-horizon problem, inside can not be transmitted in VXLAN gateway In corresponding TOR equipment, lead to the message forwarding abnormal problem of span centre in the heart, VLAN gateway is into new data at legacy data center The problem of host is across tri- layers of exchanging visit failure of OVERLAY between the problem of heart VXLAN network A RP is got through unsuccessfully and center.
Summary of the invention
In view of this, the purpose of the present invention is to provide hosts between a kind of solution smooth migration center across tri- layers of OVERLAY The method of exchanging visit gets through asking for failure to new data center VXLAN network A RP in legacy data center VLAN gateway to solve The problem of host is across tri- layers of exchanging visit failure of OVERLAY between topic and center.
To achieve the above object, the present invention adopts the following technical scheme that:
A method of host is exchanged visits across tri- layers of OVERLAY between solving smooth migration center, it is characterised in that is included the following steps:
Step S1:Former data center and cloud data center are arranged into same double layer network(I.e. VLAN is identical);Using The vSphere vMotion migrating technology that VMware is provided carries out Data Migration;
Step S2:The double layer network data of former data center are encapsulated into UDP using VXLAN technology, obtain double layer network number According to the data packet of MAC-in-UDP encapsulation format;
Step S3:The tunnel between VTEP is divided as center inner tunnel and center outer tunnel by VXLAN L3 GW, and is arranged Chip tunnel horizontal segmentation register in VXLAN L3 GW equipment is shown in the attribute setting of tunnel SVP and DVP outside center Table 1;Allow the message in tunnel in center by center outside tunnel forwarding, thus caused by solving because of horizontal segmentation Message can not forwarding problems.
Step S4:Tunnel in VXLAN L2 GW equipment between center is cancelled, and cancels the static state of VXLAN L2 GW Gateway MAC;It prevents from acquiring identical MAC from different ports and VNI value generates MAC drift or migration.
Step S5:Data packet is transmitted to cloud data center using the IP interface of VTEP equipment;
Step S6:Cloud data center unseals data packet using VTEP, realizes the number of former data center and cloud data center According to migration, MAC drift is generated to prevent VXLAN L3 GW from sending out gratuitous ARP to legacy data center, the invention is used in software control So that inconocenter outer tunnel does not send gratuitous ARP to VXLAN L3 GW.
Further, the step S2 is specially:
Step S21:Using the encapsulation format of one MAC-IN-UDP of VXLAN technical definition;
Step S22:Before the 2 network packet of Layer of original data-centric add VXLAN header, be then put into UDP and In IP packet.
Further, the VXLAN handles the encapsulation of VXLAN using VXLAN tunnel endpoint (VTEP) equipment And deblocking.Each VTEP has an IP interface, is configured with an IP address.VTEP encapsulates Layer 2 using the IP Frame, and the VXLAN data packet after encapsulation is transmitted and received by the IP interface.VXLAN two-layer gateway solves same The exchanging visit between VM under VNI, three-layer network close the solution communicating with terminal user of same network segment or VXLAN and non-VXLAN user by no means Between communication.
The present invention has the advantages that compared with prior art:
The present invention solves the master under Cloud-DC during disposing traffic smoothing migration scheme, on smooth access device Machine MAC has that drift phenomenon causes the MAC of corresponding host to export and learns mistake, so that message forwards just between the host of the span centre heart Often.
Detailed description of the invention
Fig. 1 is principle of the invention figure
Fig. 2 is logic chart of the present invention.
Specific embodiment
The present invention will be further described with reference to the accompanying drawings and embodiments.
Embodiment 1:
Fig. 1 is please referred to, the present invention provides a kind of method of the host across tri- layers of OVERLAY exchanging visit between solving smooth migration center:
1), by taking DC1 as an example, on smooth access device TOR1, the tunnel between VXLAN L3 VXLAN GW is only created, Between TOR1 and TOR3, tunnel is no longer created between TOR1 and TOR4, is still created between any two between the VTEP in Cloud-DC Built tunnel.
2), in core, the type in tunnel between VTEP is set, is outer tunnel by the tunnel definition built with TOR1.
3), according to the configuration call bottom layer driving be arranged by tunnel attribute PW=0, in this way with the OVERLAY of outer tunnel Two layers of forwarding behavior such as the following table 1:
SVP DVP OVERLAY double layer intercommunication
Network side PW=0 Network side PW=1 Forwarding
Network side PW=1 Network side PW=0 Forwarding
4), after VXLAN L3 GW detects VLAN gateway MAC no longer hair setting static state gateway MAC be advertised to VXLAN L2 GW Equipment, thus VXLAN L2 GW (TOR1, TOR3, TOR4 are upper, and there will be no static gateway MAC address entries).
5), implement the program after, due to no longer creating tunnel between TOR1 and TOR3, between TOR1 and TOR4:
1. host under Clound-DC can only be by the main-machine communication under the tunnel S1 and DC1, therefore on TOR1 on TOR1 Host MAC under Clound-DC is no longer migrated.
2., due to no longer establishing tunnel with TOR1, gateway MAC only can be from the tunnel in this center on TOR3, TOR4 Road gets off, and gateway MAC will not be migrated again.
6, communication process between host under host host1 and Clound-DC under DC1:
1. host host1 initiates the ARP request of host2 under DC1, after VLAN gateway receives, find without the host information, The ARP of VLAN gateway initiation at this time is got through, and ARP request, VXLAN in Clound-DC are initiated into Clound-DC by tunnel S1 L3 GW by tunnel S1 if there is then being responded, and if initiating to get through without if, receives after host2 response that generation is answered again.
2. host1 then starts normal communication after receiving response, message process of passing through tunnel S1 is forwarded on VXLAN L3 GW, this When by the corresponding outlet of address table lookup host2 mac be tunnel S2, since S1 its PW attribute of tunnel belonged to outside center is 0, therefore do not influenced by the horizontal segmentation of chip, it can be forwarded toward the tunnel S2.
3. it is similar to the above that host2 receives the response process after message, it is not repeated.
Note that the VLAN gateway MAC of DC1 can learn to arrive on TOR1, at this time if the VLXAN L3 of Clound-DC GW also sends out gratuitous ARP on TOR1, then the gateway MAC that will lead on TOR1 drifts about, therefore needs in design VLXAN L3 GW equipment by ACL be filtered or software control on do not send out gratuitous ARP.
The foregoing is merely presently preferred embodiments of the present invention, all equivalent changes done according to scope of the present invention patent with Modification, is all covered by the present invention.

Claims (2)

1. a kind of method of the host across tri- layers of OVERLAY exchanging visit between solving smooth migration center, it is characterised in that including following step Suddenly:
Step S1:Former data center and cloud data center are arranged into same double layer network;
Step S2:The double layer network data of former data center are encapsulated into UDP using VXLAN technology, obtain double layer network number According to the data packet of MAC-in-UDP encapsulation format;
Step S3:The tunnel between VTEP is divided as center inner tunnel and center outer tunnel by VXLAN L3 GW, and is arranged Chip tunnel horizontal segmentation register in VXLAN L3 GW equipment sets the attribute of tunnel SVP and DVP outside center to 0;
Step S4:Tunnel in VXLAN L2 GW equipment between center is cancelled, and cancels the static gateway of VXLAN L2 GW MAC;
Step S5:Data packet is transmitted to cloud data center using the IP interface of VTEP equipment;
Step S6:Cloud data center unseals data packet using VTEP, realizes the number of former data center and cloud data center According to migration.
2. a kind of method of the host across tri- layers of OVERLAY exchanging visit between solving smooth migration center according to claim 1, It is characterized in that:The step S2 is specially:
Step S21:Using the encapsulation format of one MAC-IN-UDP of VXLAN technical definition;
Step S22:Before the 2 network packet of Layer of original data-centric add VXLAN header, be then put into UDP and In IP packet.
CN201810626783.2A 2018-06-19 2018-06-19 A method of host is exchanged visits across tri- layers of OVERLAY between solving smooth migration center Pending CN108833545A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810626783.2A CN108833545A (en) 2018-06-19 2018-06-19 A method of host is exchanged visits across tri- layers of OVERLAY between solving smooth migration center

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810626783.2A CN108833545A (en) 2018-06-19 2018-06-19 A method of host is exchanged visits across tri- layers of OVERLAY between solving smooth migration center

Publications (1)

Publication Number Publication Date
CN108833545A true CN108833545A (en) 2018-11-16

Family

ID=64142446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810626783.2A Pending CN108833545A (en) 2018-06-19 2018-06-19 A method of host is exchanged visits across tri- layers of OVERLAY between solving smooth migration center

Country Status (1)

Country Link
CN (1) CN108833545A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110995623A (en) * 2019-11-26 2020-04-10 锐捷网络股份有限公司 Method for controlling flooding between data centers and first switch

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160344622A1 (en) * 2015-05-18 2016-11-24 Cisco Technology, Inc. Virtual Extensible Local Area Network Performance Routing
CN107579900A (en) * 2017-10-13 2018-01-12 锐捷网络股份有限公司 From the method, apparatus and system of vlan network access VXLAN networks
CN107659484A (en) * 2017-10-13 2018-02-02 锐捷网络股份有限公司 From the method, apparatus and system of vlan network access VXLAN networks
CN107770064A (en) * 2016-08-19 2018-03-06 华为技术有限公司 A kind of method of internetwork communication, equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160344622A1 (en) * 2015-05-18 2016-11-24 Cisco Technology, Inc. Virtual Extensible Local Area Network Performance Routing
CN107770064A (en) * 2016-08-19 2018-03-06 华为技术有限公司 A kind of method of internetwork communication, equipment
CN107579900A (en) * 2017-10-13 2018-01-12 锐捷网络股份有限公司 From the method, apparatus and system of vlan network access VXLAN networks
CN107659484A (en) * 2017-10-13 2018-02-02 锐捷网络股份有限公司 From the method, apparatus and system of vlan network access VXLAN networks

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110995623A (en) * 2019-11-26 2020-04-10 锐捷网络股份有限公司 Method for controlling flooding between data centers and first switch
CN110995623B (en) * 2019-11-26 2022-03-18 锐捷网络股份有限公司 Method for controlling flooding between data centers and first switch

Similar Documents

Publication Publication Date Title
US20220239561A1 (en) Using physical location to modify behavior of a distributed virtual network element
US10911397B2 (en) Agent for implementing layer 2 communication on layer 3 underlay network
US11375005B1 (en) High availability solutions for a secure access service edge application
US11496392B2 (en) Provisioning logical entities in a multidatacenter environment
US11108593B2 (en) Methods and systems to offload overlay network packet encapsulation to hardware
US11902050B2 (en) Method for providing distributed gateway service at host computer
US20230025586A1 (en) Network management services in a secure access service edge application
US20230026330A1 (en) Network management services in a point-of-presence
US20230026865A1 (en) Network management services in a virtual network
CN110088732B (en) Data packet processing method, host and system
CN112702252B (en) Message processing method, system and related equipment
CN107113219B (en) System and method for supporting VLAN tagging in a virtual environment
US8670450B2 (en) Efficient software-based private VLAN solution for distributed virtual switches
JP5763081B2 (en) Method and apparatus for transparent cloud computing using virtualized network infrastructure
WO2016107453A1 (en) Media access control address forwarding table transmission control method, apparatus, and system
US20220038309A1 (en) Method for advertising availability of distributed gateway service and machines at host computer
CN112637036B (en) Virtual distributed bridging method, device and machine readable medium
US9832112B2 (en) Using different TCP/IP stacks for different hypervisor services
WO2016008394A1 (en) Packets processing
EP3278222A1 (en) Provisioning network services in a software defined data center
US9729679B2 (en) Using different TCP/IP stacks for different tenants on a multi-tenant host
WO2016003489A1 (en) Methods and systems to offload overlay network packet encapsulation to hardware
EP3125504B1 (en) Resource allocation method, packet communication method and device
CN111064649B (en) Method and device for realizing binding of layered ports, control equipment and storage medium
EP4078933A1 (en) Route advertisement to support distributed gateway services architecture

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181116

RJ01 Rejection of invention patent application after publication