CN108390812A - Message forwarding method and device - Google Patents
Message forwarding method and device Download PDFInfo
- Publication number
- CN108390812A CN108390812A CN201810542714.3A CN201810542714A CN108390812A CN 108390812 A CN108390812 A CN 108390812A CN 201810542714 A CN201810542714 A CN 201810542714A CN 108390812 A CN108390812 A CN 108390812A
- Authority
- CN
- China
- Prior art keywords
- container
- address
- data message
- gre
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
This disclosure relates to a kind of message forwarding method and device.This method, which is applied to the first virtual machine VM, the first VM and the foundation of distal end route exchange device, has the gre tunneling, this method to include:When receiving GRE messages, the reserved field of GRE headings is identified, reserved field is for carrying the IP address for being deployed in the container in VM;If reserved field includes the IP address of container, the IP address of the container is obtained;The GRE messages are decapsulated, the first data message is obtained;When the VM for disposing the container is a VM, according to the IP address of the container, the first data message is forwarded, thus, it is possible to realize that the router in a website is communicated by gre tunneling with the container being deployed in VM in another website.
Description
Technical field
This disclosure relates to field of communication technology more particularly to a kind of message forwarding method and device.
Background technology
Generic route encapsulation (English:Generic Routing Encapsulation, write a Chinese character in simplified form:GRE) agreement is used for certain
The data message of a little network layer protocols is packaged, and the data message for keeping these packed is in another network layer protocol
Transmission.The path that GRE messages transmit in a network, referred to as gre tunneling.Gre tunneling is the connection of a virtual point-to-point,
The equipment at both ends is packaged and decapsulates to data message respectively.Wherein, network layer protocol may include procotol (English
Text:Internet Protocol, write a Chinese character in simplified form:IP), the Internet packet exchange agreement (English:Internetwork Packet
Exchange Protocol, write a Chinese character in simplified form:IPX) and multiprotocol label switching is (English:Multi-Protocol Label
Switching writes a Chinese character in simplified form:MPLS) agreement etc..
In the related technology, in system for cloud computing, each website of different zones can dispose multiple host, and every
Multiple virtual machines (English can be created in host:Virtual Machine, write a Chinese character in simplified form:VM).Fig. 1 shows cloud in the related technology
Calculate the networking schematic diagram of network.As shown in Figure 1, if the router in website A desires access to each VM in website B,
It needs to create a plurality of flow, the increase of flow quantity all causes prodigious pressure to network operation and safety management.Thus usually
Gre tunneling may be used and get through each website, data message is encapsulated in gre tunneling and is transmitted.
Invention content
In view of this, the present disclosure proposes a kind of message forwarding method and device, to solve a website in the related technology
In router the problem of can not being communicated with the container being deployed in VM in another website by gre tunneling.
According to the one side of the disclosure, provide a kind of message forwarding method, be applied to the first virtual machine VM, the first VM with
Distal end route exchange device foundation has gre tunneling, the method includes:
When receiving GRE messages, identify that the reserved field of GRE headings, the reserved field are deployed in for carrying
The IP address of container in VM;
If the reserved field includes the IP address of container, the IP address of the container is obtained;
The GRE messages are decapsulated, the first data message is obtained;
When the VM for disposing the container is a VM, according to the IP address of the container, to first data
Message is forwarded.
According to another aspect of the present disclosure, a kind of message forwarding method is provided, host, the host and distal end are applied to
Route exchange device foundation has gre tunneling, and VM is created in the host, the method includes:
When receiving GRE messages, identify that the reserved field of GRE headings, the reserved field are deployed in for carrying
The IP address of container in VM;
If the reserved field includes the IP address of container, the IP address of the container is obtained;
The GRE messages are decapsulated, the first data message is obtained;
The IP address that first data message and the container are sent to the VM for disposing the container, for making deployment institute
The VM of container is stated according to the IP address of the container, first data message is forwarded.
According to another aspect of the present disclosure, a kind of message forwarding method is provided, route exchange device, the road are applied to
There is gre tunneling by switching equipment and remote equipment foundation, the method includes:
When receiving initial data message or generating instruction generation initial data message according to message, if according to the original
The purpose IP address of beginning data message determines that the recipient of the initial data message is the container being deployed in VM, then obtains
Dispose the IP address of the VM of the container;
The IP address that the purpose IP address of the initial data message is replaced with to the VM obtains corresponding first data
Message;
GRE encapsulation is carried out to first data message, obtains GRE messages;Wherein, the pre- of GRE headings is write down characters
The IP address of the container is carried in section;
The GRE messages are forwarded by the gre tunneling.
According to another aspect of the present disclosure, a kind of apparatus for forwarding message is provided, the first virtual machine VM, the first VM is applied to
There are the gre tunneling, described device to include with the foundation of distal end route exchange device:
Identification module, for when receiving GRE messages, identifying that the reserved field of GRE headings, the reserved field are used
It is deployed in the IP address of the container in VM in carrying;
First acquisition module, if including the IP address of container for the reserved field, with obtaining the IP of the container
Location;
Decapsulation module obtains the first data message for being decapsulated to the GRE messages;
First forwarding module is used for when the VM for disposing the container is a VM, according to the IP of the container
Location is forwarded first data message.
According to another aspect of the present disclosure, a kind of apparatus for forwarding message is provided, host, the host and distal end are applied to
Route exchange device foundation has gre tunneling, VM is created in the host, described device includes:
Identification module, for when receiving GRE messages, identifying that the reserved field of GRE headings, the reserved field are used
It is deployed in the IP address of the container in VM in carrying;
First acquisition module, if including the IP address of container for the reserved field, with obtaining the IP of the container
Location;
Decapsulation module obtains the first data message for being decapsulated to the GRE messages;
First forwarding module, the IP for sending first data message and the container to the VM for disposing the container
Address is forwarded first data message for making the VM of the deployment container according to the IP address of the container.
According to another aspect of the present disclosure, a kind of apparatus for forwarding message is provided, route exchange device, the road are applied to
There are the gre tunneling, described device to include by switching equipment and remote equipment foundation:
Second acquisition module, for receiving initial data message or generating instruction generation original datagram according to message
If Wen Shi determines that the recipient of the initial data message is to be deployed according to the purpose IP address of the initial data message
Container in VM then obtains the IP address for the VM for disposing the container;
Replacement module, the IP address for the purpose IP address of the initial data message to be replaced with to the VM, obtains
Corresponding first data message;
Package module obtains GRE messages for carrying out GRE encapsulation to first data message;Wherein, the GRE reports
The IP address of the container is carried in the reserved field of literary head;
Sending module, for forwarding the GRE messages by the gre tunneling.
The message forwarding method and device of the disclosure identify the reserved field of GRE headings when receiving GRE messages,
If reserved field includes the IP address of container, the IP address of the container is obtained, which is decapsulated, obtains
One data message, and according to the IP address of the container, the first data message is forwarded, thus, it is possible to realize in a website
Router communicated with the container being deployed in VM in another website by gre tunneling.
According to below with reference to the accompanying drawings to detailed description of illustrative embodiments, the other feature and aspect of the disclosure will become
It is clear.
Description of the drawings
Including in the description and the attached drawing of a part for constitution instruction and specification together illustrate the disclosure
Exemplary embodiment, feature and aspect, and for explaining the principles of this disclosure.
Fig. 1 shows the networking schematic diagram of system for cloud computing in the related technology.
Fig. 2 shows the schematic diagrames of GRE messages in the related technology.
Fig. 3 shows the schematic diagram of the GRE messages according to one embodiment of the disclosure.
Fig. 4 shows the networking schematic diagram of system for cloud computing in the related technology.
Fig. 5 shows the networking schematic diagram of the system for cloud computing according to one embodiment of the disclosure.
Fig. 6 shows the flow chart of the message forwarding method according to one embodiment of the disclosure.
Fig. 7 shows the schematic diagram of the GRE headings according to one embodiment of the disclosure.
Fig. 8 shows the flow chart of the message forwarding method according to one embodiment of the disclosure.
Fig. 9 shows the flow chart of the message forwarding method according to one embodiment of the disclosure.
Figure 10 shows the flow chart of the message forwarding method according to one embodiment of the disclosure.
Figure 11 shows the block diagram of the apparatus for forwarding message according to one embodiment of the disclosure.
Figure 12 shows the block diagram of the apparatus for forwarding message according to one embodiment of the disclosure.
Figure 13 shows the block diagram of the apparatus for forwarding message according to one embodiment of the disclosure.
Figure 14 shows the block diagram of the apparatus for forwarding message according to one embodiment of the disclosure.
Specific implementation mode
Various exemplary embodiments, feature and the aspect of the disclosure are described in detail below with reference to attached drawing.It is identical in attached drawing
Reference numeral indicate functionally the same or similar element.Although the various aspects of embodiment are shown in the accompanying drawings, remove
It non-specifically points out, it is not necessary to attached drawing drawn to scale.
Dedicated word " exemplary " means " being used as example, embodiment or illustrative " herein.Here as " exemplary "
Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, in order to better illustrate the disclosure, numerous details is given in specific implementation mode below.
It will be appreciated by those skilled in the art that without certain details, the disclosure can equally be implemented.In some instances, for
Method, means, element and circuit well known to those skilled in the art are not described in detail, in order to highlight the purport of the disclosure.
In order to make those skilled in the art more fully understand the technical solution in the embodiment of the present invention, below first to this hair
Portion of techniques term involved in bright embodiment is briefly described.
Fig. 2 shows the schematic diagrames of GRE messages in the related technology.As shown in Figure 2:
Payload data (English:Payload Packet):Need the data message for encapsulating and transmitting.The agreement of payload data
Type, referred to as passenger protocol (English:Passenger Protocol).Passenger protocol can be arbitrary network layer protocol.
GRE headings (English:GRE Header):Added message is packaged payload data using GRE protocol
Head, including the contents such as the encapsulation number of plies, version, passenger protocol type, verification and information, Key information.Payload data is packaged
GRE protocol, referred to as tunneling (English:Encapsulation Protocol).
Transmission protocol message head (English:Delivery Header):The heading added on GRE messages, to transmit
Agreement is forwarded processing to GRE messages.Transport protocol (English:Delivery Protocol or Transport
Protocol) refer to the network layer protocol for being responsible for forwarding GRE messages.Equipment supports two kinds of transport protocols of IPv4 and IPv6.Work as biography
When defeated agreement is IPv4, gre tunneling is known as the tunnels GRE over IPv4;When transport protocol is IPv6, gre tunneling is known as GRE
The tunnels over IPv6.
In order to which each message described in the following embodiments does not produce ambiguity, for institute in the embodiment of the present disclosure in the disclosure
Each message being related to illustrates:
GRE messages refer in the disclosure:Encapsulate the data message after GRE headings and transmission protocol message head.Such as
Shown in Fig. 3, if passenger protocol be IP agreement, GRE messages include outer layer IP packet head, GRE headings, internal layer IP packet head and
Data portion.
Initial data message:If passenger protocol is IP agreement, initial data message is IP packet.As shown in figure 3, original
Data message includes internal layer IP packet head and data portion, and the purpose IP address of the internal layer IP packet head is to be deployed in VM
The IP address of container.That is the recipient of initial data message is the container being deployed in VM.
Fig. 4 shows the networking schematic diagram of system for cloud computing in the related technology.As shown in figure 4, there is routing in website A
Device, there are hosts in website B.Multiple VM, such as VM1, VM2 and VM3 can be created in host in website B.Wherein, router
IP address be 1.1.1.1, the IP address of host is 2.2.2.2, and the IP address of VM1 is 3.3.3.1, and the IP address of VM2 is
3.3.3.2 and the IP address of VM3 is 3.3.3.3.
As shown in figure 4, gre tunneling establishes the router in website A and between the host in website B, i.e., gre tunneling mouth divides
It is positioned respectively on router and host.For example, the IP address of the gre tunneling mouth on router is 10.1.1.1, the GRE on host
The IP address of tunnel face is 11.1.1.1.If IP packet is sent to the VM2 in host from router, in the IP packet
In layer IP packet head, source IP address is the IP address 1.1.1.1 of router, and purpose IP address is the IP address 3.3.3.2 of VM2.
As shown in figure 4, the IP packet passes through IP network by gre tunneling, need by sealing up two mistakes of dress and decapsulation
Journey.Add encapsulation process as follows:Router encapsulates GRE headings and outer layer IP packet head to the IP packet, obtains GRE messages.Its
In, in the outer layer IP packet head of the GRE messages, source IP address is the IP address 10.1.1.1 of the gre tunneling mouth on router, mesh
IP address be host on gre tunneling mouth IP address 11.1.1.1.Router sends out the GRE messages by gre tunneling,
Host receives the GRE messages.Decapsulation process is as follows:The outer layer IP packet head and GRE messages that the GRE messages are included by host
Head is peeled off, and the IP packet is obtained.
It should be noted that it will be appreciated by those skilled in the art that the foundation of gre tunneling has diversity.Such as Fig. 4 institutes
Show, gre tunneling can be both established between router and host, can also be built between VM1, VM2 or VM3 in router and host
Vertical gre tunneling, the disclosure are not restricted this.
Currently, with the continuous development of system for cloud computing, the functional requirement of VM is being continuously increased.For example, can be in VM
Deployment container, the container disposed in VM belong to same subnet.But since a destination IP can only be encapsulated in internal layer IP packet head
Address so IP packet can only reach VM, and cannot reach the container being deployed in VM, cause the routing in a website
Device can not be communicated by gre tunneling with the container being deployed in VM in another website.
Fig. 5 shows the networking schematic diagram of the system for cloud computing according to one embodiment of the disclosure.Fig. 5 is used for Fig. 6, Fig. 8, figure
The message forwarding method of one embodiment of the disclosure shown in 9 and Figure 10 carries out schematic example.In addition, in Fig. 6, Fig. 8, Fig. 9 and
In the corresponding embodiments of Figure 10, schematic example is carried out by IP agreement of passenger protocol.
As shown in figure 5, there are router in website A, there are hosts in website B.It can be created in host in website B more
A VM, for example, creating VM1, VM2 and VM3 in host.One or more containers can be disposed in each VM, are disposed in each VM
Container belong to same subnet.For example, deployment container 1 in VM1, container 1 belongs to subnet 1;Deployment container 2 and container 3 in VM2,
Container 2 and container 3 belong to subnet 2;Deployment container 4 and container 5 in VM3, container 4 and container 5 belong to subnet 3.
Wherein, the IP address of router is 1.1.1.1, and the IP address of host is 2.2.2.2, and the IP address of VM1 is
3.3.3.1, the IP address of container 1 is 4.4.4.1, and the IP address of VM2 is 3.3.3.2, and the IP address of container 2 is 4.4.4.2, is held
The IP address that the IP address of device 3 is 4.4.4.3 and VM3 is 3.3.3.3, and the IP address of container 4 is 4.4.4.4, container 5
IP address is 4.4.4.5.
Fig. 6 shows the flow chart of the message forwarding method according to one embodiment of the disclosure.This method is applied to the first VM, the
One VM has gre tunneling with the foundation of distal end route exchange device.As shown in fig. 6, the message forwarding method includes step S11 to step
S14。
In step s 11, when receiving GRE messages, the reserved field of GRE headings is identified, reserved field is for taking
Band is deployed in the IP address of the container in VM.
Wherein, route exchange device can be router or virtual router (English:Virtual Server Router,
It writes a Chinese character in simplified form:VSR), the disclosure is not restricted this.
Fig. 7 shows the schematic diagram of the GRE headings according to one embodiment of the disclosure.As shown in fig. 7, in the related technology, GRE
Heading may include recursion control (Recur), flag bit (Flags), version (Ver), protocol type (Prorocol
Type), verification and (Checksum), deviation (Offest), key (Key), sequence number (Sequence Number) and routing
(Routing) fields such as.
In one implementation, the reserved field of GRE headings can be the existing field that GRE headings include.Example
Such as, the reserved field of GRE headings is the checksum field and deviate field that GRE headings include.
It is understood that due to checksum field and deviate field for adjacent fields, and checksum field and deviation word
Duan Junwei Optional Fields, field length are 2 bytes, therefore by checksum field and can deviate field integrally as pre-
It writes down characters section, the length of the reserved field is 4 bytes, identical as the length of the IP address of container, can be used in packaging container
IP address.
It should be noted that although by checksum field and to deviate field integrally as reserved field as example introduction
The reserved fields of GRE headings, it is understood by one of ordinary skill in the art that the disclosure answer it is without being limited thereto.People in the art
Member can flexibly set the reserved field of GRE headings according to practical application scene.
In one implementation, the container being deployed in VM is the Docker containers being deployed in VM.
It should be noted that although describing the appearance being deployed in VM as example using the Docker containers being deployed in VM
Device, it is understood by one of ordinary skill in the art that the disclosure answer it is without being limited thereto.Those skilled in the art can be according to practical application field
Flexibly setting is deployed in the container in VM to scape, i.e., other can be deployed in VM and belong to the equipment of same subnet in the disclosure
It is applicable in.
In step s 12, if reserved field includes the IP address of container, the IP address of the container is obtained.
In step s 13, which is decapsulated, obtains the first data message.
In step S14, when the VM for disposing the container is a VM, according to the IP address of the container, to the first data
Message is forwarded.
In one implementation, according to the IP address of the container, (step S14) is forwarded to the first data message,
Including:The purpose IP address of first data message is replaced with into the container IP address, obtains corresponding initial data message;According to
The purpose IP address of the initial data message is forwarded the initial data message.
As an example, as shown in figure 5, gre tunneling establishes the router in website A and between the VM3 in website B,
That is gre tunneling mouth is arranged respectively on router and VM3.If be deployed in VM3 in the router and website B in website A
Container 5 is communicated, then for GRE messages when being sent to VM3 from router, VM3 is as follows to the processing procedure of the GRE messages:
As shown in figure 5, VM3 receives the GRE messages that router is sent by gre tunneling.VM3 identifies GRE headings
Reserved field.Reserved field includes the IP address 4.4.4.5 of container, then VM3 obtains the IP address 4.4.4.5 of the container and (holds
The IP address of device 5).VM3 peels the outer layer IP packet head that the GRE messages include and GRE headings off, obtains the first datagram
Text.It is illustrated so that data message is IP packet as an example in the present embodiment.First data message is will be outside GRE messages in VM3
IP, layer and GRE headings decapsulate the IP packet 1 obtained later.The purpose IP address of IP packet 1 be 3.3.3.3 (i.e. VM3's
IP address).VM3 determines that the VM of deployment container 5 is to establish gre tunneling according to the purpose IP address 3.3.3.3 of IP packet 1
VM3, i.e. container 5 are deployed on VM3.Thus the purpose IP address 3.3.3.3 of IP packet 1 is replaced with 4.4.4.5 by VM3, is obtained
The corresponding original IP packet of IP packet 1.VM3 is forwarded the original IP packet, i.e., sends the original IP packet to container 5.
In one implementation, this method further includes:If reserved field does not include the IP address of container, GRE is reported
Text is decapsulated, and the second data message that GRE messages include is obtained;According to the purpose IP address of the second data message, to
Two data messages are forwarded.
As an example, as shown in figure 5, VM3 receives the GRE messages that router is sent by gre tunneling.VM3 knows
The reserved field of other GRE headings.Reserved field does not include the IP address of container.The outer layer IP reports that the GRE messages are included by VM3
Literary head and GRE headings are peeled off, and the second data message is obtained.It is said so that data message is IP packet as an example in the present embodiment
It is bright.Second data message is that outer layer IP and GRE headings of GRE messages are decapsulated the IP packet 4 obtained later in VM3.
If the purpose IP address of IP packet 4 is 3.3.3.2 (i.e. the IP address of VM2), VM3 is forwarded IP packet 4, i.e., to VM2
Send IP packet 4.
The message forwarding method of the disclosure carries the container being deployed in the first VM by the reserved field of GRE headings
IP address obtain the IP address of the container, and according to the container when the first VM for establishing gre tunneling receives GRE messages
IP address, the data message decapsulated to GRE messages is forwarded, and thus, it is possible to realize that the routing in a website is handed over
Exchange device is communicated by gre tunneling with the container being deployed in VM in another website.
Fig. 8 shows the flow chart of the message forwarding method according to one embodiment of the disclosure.This method is applied to the first VM, the
One VM has gre tunneling with the foundation of distal end route exchange device.As shown in figure 8, the message forwarding method includes step S11 to step
S15。
In step s 11, when receiving GRE messages, the reserved field of GRE headings is identified, reserved field is for taking
Band is deployed in the IP address of the container in VM.
In step s 12, if reserved field includes the IP address of container, the IP address of the container is obtained.
In step s 13, which is decapsulated, obtains the first data message.
In step S14, when the VM for disposing the container is a VM, according to the IP address of the container, to the first data
Message is forwarded.
In step S15, when the VM for disposing the container is other VM other than the first VM, to the VM hairs for disposing the container
The IP address for sending the first data message and the container, for making the VM of the deployment container according to the IP address of the container, to first
Data message is forwarded.
In one implementation, according to the IP address of the container, (step S15) is forwarded to the first data message,
Including:The purpose IP address of first data message is replaced with into the container IP address, obtains corresponding initial data message;According to
The purpose IP address of the initial data message is forwarded the initial data message.
As an example, as shown in figure 5, gre tunneling establishes the router in website A and between the VM3 in website B,
That is gre tunneling mouth is arranged respectively on router and VM3.If be deployed in VM2 in the router and website B in website A
Container 3 is communicated, then for GRE messages when being sent to VM3 from router, VM3 is as follows to the processing procedure of the GRE messages:
As shown in figure 5, VM3 receives the GRE messages that router is sent by gre tunneling.VM3 identifies GRE headings
Reserved field.Reserved field includes the IP address 4.4.4.3 of container, then VM3 obtains the IP address 4.4.4.3 of the container and (holds
The IP address of device 3).VM3 peels the outer layer IP packet head that the GRE messages include and GRE headings off, obtains the first datagram
Text.It is illustrated so that data message is IP packet as an example in the present embodiment.First data message is will be outside GRE messages in VM3
IP, layer and GRE headings decapsulate the IP packet 2 obtained later.The purpose IP address of IP packet 2 be 3.3.3.2 (i.e. VM2's
IP address).VM3 determines that the VM of deployment container 3 is the VM3 for establishing gre tunneling according to the purpose IP address 3.3.3.2 of IP packet 2
Other VM in addition, i.e. container 3 are deployed on VM2.Thus VM3 sends IP packet 2 and IP address 4.4.4.3 to VM2.VM2 connects
IP packet 2 and IP address 4.4.4.3 are received, and the purpose IP address 3.3.3.2 of IP packet 2 is replaced with into 4.4.4.3, obtains IP reports
Literary 2 corresponding original IP packets.VM2 is forwarded the original IP packet, i.e., sends the original IP packet to container 3.
The message forwarding method of the disclosure carries the container being deployed in the 2nd VM by the reserved field of GRE headings
IP address obtain the IP address of the container when the first VM for establishing gre tunneling receives GRE messages, and sent out to the 2nd VM
The IP address for the data message and the container that GRE messages decapsulate is sent, so that IP address of the 2nd VM according to the container,
The data message is forwarded, thus, it is possible to realize that the route exchange device in a website passes through gre tunneling and another
The container being deployed in website in VM is communicated.
Fig. 9 shows the flow chart of the message forwarding method according to one embodiment of the disclosure.This method is applied to host, host
There is gre tunneling with the foundation of distal end route exchange device, VM is created in host.As shown in figure 9, the message forwarding method includes step
S21 to step S24.
In the step s 21, when receiving GRE messages, the reserved field of GRE headings is identified, reserved field is for taking
Band is deployed in the IP address of the container in VM.
In step S22, if reserved field includes the IP address of container, the IP address of the container is obtained.
In step S23, which is decapsulated, the first data message is obtained.
In step s 24, the IP address that the first data message and the container are sent to the VM for disposing the container, for making portion
The VM of the container is affixed one's name to according to the IP address of the container, the first data message is forwarded.
In one implementation, the reserved field of GRE headings can be the existing field that GRE headings include.Example
Such as, the reserved field of GRE headings is the checksum field and deviate field that GRE headings include.For the description of the part
It may refer to Fig. 6 and embodiment be shown.
In one implementation, the container being deployed in VM is the Docker containers being deployed in VM.For the part
Description may refer to Fig. 6 embodiment be shown.
In one implementation, according to the IP address of the container, (step S24) is forwarded to the first data message,
Including:The purpose IP address of first data message is replaced with into the container IP address, obtains corresponding initial data message;According to
The purpose IP address of the initial data message is forwarded the initial data message.
As an example, as shown in figure 5, gre tunneling establishes the router in website A and between the host in website B,
That is gre tunneling mouth is arranged respectively on router and host.If be deployed in VM2 in the router and website B in website A
Container 3 is communicated, then for GRE messages when being sent to host from router, host is as follows to the processing procedure of the GRE messages:
As shown in figure 5, host receives the GRE messages that router is sent by gre tunneling.Host identifies GRE headings
Reserved field.Reserved field includes the IP address 4.4.4.3 of container, then host obtains the IP address 4.4.4.3 of the container (i.e.
The IP address of container 3).VM3 peels the outer layer IP packet head that the GRE messages include and GRE headings off, obtains the first datagram
Text.It is illustrated so that data message is IP packet as an example in the present embodiment.First data message is will be outside GRE messages in host
IP, layer and GRE headings decapsulate the IP packet 3 obtained later.The purpose IP address of IP packet 3 be 3.3.3.2 (i.e. VM2's
IP address).Host sends IP packet 3 and IP address 4.4.4.3 to VM2.VM2 receives IP packet 3 and IP address 4.4.4.3, and
The purpose IP address 3.3.3.2 of IP packet 3 is replaced with into 4.4.4.3, obtains the corresponding original IP packet of IP packet 3.VM2 is to this
Original IP packet is forwarded, i.e., sends the original IP packet to container 3.
In one implementation, this method further includes:If reserved field does not include the IP address of container, GRE is reported
Text is decapsulated, and the second data message that GRE messages include is obtained;According to the purpose IP address of the second data message, to
Two data messages are forwarded.
As an example, as shown in figure 5, host receives the GRE messages that router is sent by gre tunneling.Host
Identify the reserved field of GRE headings.Reserved field does not include the IP address of container.The outer layer that the GRE messages are included by host
IP packet head and GRE headings are peeled off, and the second data message is obtained.It is carried out so that data message is IP packet as an example in the present embodiment
Explanation.Second data message is that outer layer IP and GRE headings of GRE messages are decapsulated the IP packet obtained later in host
5.If the purpose IP address of IP packet 5 be 3.3.3.2 (i.e. the IP address of VM2), host is forwarded IP packet 5, i.e., to
VM2 sends IP packet 5.
The message forwarding method of the disclosure carries the IP for being deployed in the container in VM by the reserved field of GRE headings
Address obtains the IP address of the container when the host for establishing gre tunneling receives GRE messages, and to the VM for disposing the container
The IP address for sending data message and the container that GRE messages decapsulate, so that disposing the VM of the container according to the appearance
The IP address of device is forwarded the data message, and thus, it is possible to realize that the route exchange device in a website passes through GRE tunnels
Road is communicated with the container being deployed in VM in another website.
Figure 10 shows the flow chart of the message forwarding method according to one embodiment of the disclosure.This method is applied to route switching
Equipment, route exchange device have gre tunneling with remote equipment foundation.As shown in Figure 10, which includes step S31
With step S34.
In step S31, when receiving initial data message or generating instruction generation initial data message according to message,
If according to the purpose IP address of the initial data message, determine that the recipient of the initial data message is the appearance being deployed in VM
Device then obtains the IP address for the VM for disposing the container.
Wherein, remote equipment can be host or VM, and the disclosure is not restricted this.
In one implementation, router can be as the forwarding side of initial data message.In that case, it route
Device is when receiving initial data message, according to the purpose IP address of the initial data message, determines the initial data message
Whether recipient is the container being deployed in VM.
In another implementation, router can be as the initial sender of initial data message.In this kind of situation
Under, router is when generating instruction according to message and generating initial data message, according to the purpose IP address of the initial data message,
Determine whether the recipient of the initial data message is the container being deployed in VM.
In one implementation, if passenger protocol is IP agreement, it is configured with static table in router, is deposited in static table
It contains the IP address of container and disposes the correspondence between the IP address of the VM of the container.Router is receiving initial IP report
Text or according to message generate instruction generate original IP packet when, obtain the IP address of the original IP packet, and according to the initial IP
The IP address of message searches static table.
If the IP address of the original IP packet is matched with the IP of the container stored in static table, router determines the original
The recipient of beginning IP packet is the container being deployed in VM.If the appearance stored in the IP address and static table of the original IP packet
The IP of device is mismatched, then router determines that the recipient of the original IP packet is not the container being deployed in VM.
As an example, as shown in figure 5, router receives original IP packet, the destination IP of the original IP packet
Location is 4.4.4.3.Router searches static table according to the purpose IP address 4.4.4.3 of the original IP packet.Table 1 is shown according to this
The static table of one embodiment is disclosed.As shown in table 1, the purpose IP address 4.4.4.3 of the original IP packet is stored with static table
Container 3 IP matching, then router determines that the recipient of the original IP packet is the container 3 being deployed in VM2.Router obtains
Take the IP address 3.3.3.2 of the VM2 of deployment container 3.
Table 1
The mark of container | The IP address of container | The mark of VM | Dispose the IP address of the VM of the container |
Container 1 | 4.4.4.1 | VM1 | 3.3.3.1 |
Container 2 | 4.4.4.2 | VM2 | 3.3.3.2 |
Container 3 | 4.4.4.3 | VM2 | 3.3.3.2 |
Container 4 | 4.4.4.4 | VM3 | 3.3.3.3 |
Container 5 | 4.4.4.5 | VM3 | 3.3.3.3 |
In step s 32, the IP address that the purpose IP address of initial data message is replaced with to the VM obtains corresponding
One data message.
In step S33, GRE encapsulation is carried out to the first data message, obtains GRE messages;Wherein, GRE headings is pre-
The IP address of the container is carried in section of writeeing down characters.
In step S34, which is forwarded by gre tunneling.
The example of above-mentioned steps S31 is accepted, as shown in figure 5, router receives original IP packet, the original IP packet
Purpose IP address is 4.4.4.3.Router determines that the recipient of the original IP packet is the container 3 being deployed in VM2.Router
Obtain the IP address 3.3.3.2 of the VM2 of deployment container 3.Router replaces with the purpose IP address 4.4.4.3 of original IP packet
The ground the IP of VM2 3.3.3.2, obtains the first data message.The purpose IP address of first data message is 3.3.3.2.Router pair
First data message carries out GRE encapsulation, obtains GRE messages;Wherein, container 3 is carried in the reserved field of GRE headings
IP address 4.4.4.3.Router by gre tunneling by forwarding the GRE messages.
The message forwarding method of the disclosure, route exchange device are receiving initial data message or are being referred to according to message generation
When enabling generation initial data message, if according to the purpose IP address of the initial data message, connecing for the initial data message is determined
Debit is the container being deployed in VM, then obtains the IP address for the VM for disposing the container, by the destination IP of initial data message
Location replaces with the IP address of the VM, obtains corresponding data message, and forward the GRE of encapsulation of data message to report by gre tunneling
Text, thus, it is possible to realize the route exchange device in a website by being deployed in VM in gre tunneling and another website
Container is communicated.
Figure 11 shows the block diagram of the apparatus for forwarding message according to one embodiment of the disclosure.The device is applied to the first virtual machine
VM, the first VM have gre tunneling with the foundation of distal end route exchange device, and as shown in figure 11, described device includes:
Identification module 11, for when receiving GRE messages, identifying the reserved field of GRE headings, the reserved field
For carrying the IP address for being deployed in the container in VM;First acquisition module 12, if including container for the reserved field
IP address then obtains the IP address of the container;Decapsulation module 13 obtains for being decapsulated to the GRE messages
One data message;First forwarding module 14 is used for when the VM for disposing the container is a VM, according to the container
IP address is forwarded first data message.
In one implementation, described device further includes:First forwarding module 14 is additionally operable to disposing the appearance
When the VM of device is other VM other than the first VM, first data message and described is sent to the VM for disposing the container
The IP address of container, for making the VM of the deployment container according to the IP address of the container, to first data message into
Row forwarding.
In one implementation, according to the IP address of the container, first data message is forwarded, is wrapped
It includes:The purpose IP address of first data message is replaced with into the container IP address, obtains corresponding initial data message;
According to the purpose IP address of the initial data message, the initial data message is forwarded.
In one implementation, described device further includes:The decapsulation module 13, if being additionally operable to the reserved field
Do not include the IP address of container, then the GRE messages is decapsulated, obtain the second data message;Second forwarding module 15,
For the purpose IP address according to second data message, second data message is forwarded.
In one implementation, the container being deployed in VM is the Docker containers being deployed in the VM.
The apparatus for forwarding message of the disclosure carries the container being deployed in the first VM by the reserved field of GRE headings
IP address obtain the IP address of the container, and according to the container when the first VM for establishing gre tunneling receives GRE messages
IP address, the data message decapsulated to GRE messages is forwarded, or sends GRE messages to the 2nd VM and decapsulate
The IP address of the data message and the container that arrive, so that IP address of the 2nd VM according to the container, carries out the data message
Forwarding, thus, it is possible to realize the route exchange device in a website by being deployed in VM in gre tunneling and another website
Container communicated.
Figure 12 shows the block diagram of the apparatus for forwarding message according to one embodiment of the disclosure.The device is applied to host, described
Host has gre tunneling with the foundation of distal end route exchange device, VM is created in the host, as shown in figure 12, described device includes:
Identification module 21, for when receiving GRE messages, identifying the reserved field of GRE headings, the reserved field
For carrying the IP address for being deployed in the container in VM;First acquisition module 22, if including container for the reserved field
IP address then obtains the IP address of the container;Decapsulation module 23 obtains for being decapsulated to the GRE messages
One data message;First forwarding module 24, for sending first data message and the appearance to the VM for disposing the container
The IP address of device carries out first data message for making the VM of the deployment container according to the IP address of the container
Forwarding.
In one implementation, according to the IP address of the container, first data message is forwarded, is wrapped
It includes:The purpose IP address of first data message is replaced with into the container IP address, obtains corresponding initial data message;
According to the purpose IP address of the initial data message, the initial data message is forwarded.
In one implementation, described device further includes:The decapsulation module 23, if being additionally operable to the reserved field
Do not include the IP address of container, then the GRE messages is decapsulated, obtain the second data message;Second forwarding module 25,
For the purpose IP address according to second data message, second data message is forwarded.
In one implementation, the container being deployed in VM is the Docker containers being deployed in the VM.
The apparatus for forwarding message of the disclosure carries the IP for being deployed in the container in VM by the reserved field of GRE headings
Address obtains the IP address of the container when the host for establishing gre tunneling receives GRE messages, and to the VM for disposing the container
The IP address for sending data message and the container that GRE messages decapsulate, so that disposing the VM of the container according to the appearance
The IP address of device is forwarded the data message, and thus, it is possible to realize that the route exchange device in a website passes through GRE tunnels
Road is communicated with the container being deployed in VM in another website.
Figure 13 shows the block diagram of the apparatus for forwarding message according to one embodiment of the disclosure.The device is set applied to route switching
Standby, the route exchange device has gre tunneling with remote equipment foundation, and as shown in figure 13, described device includes:
Second acquisition module 31, for receiving initial data message or generating instruction generation initial data according to message
When message, if according to the purpose IP address of the initial data message, determine that the recipient of the initial data message is deployment
Container in VM then obtains the IP address for the VM for disposing the container;
Replacement module 32, the IP address for the purpose IP address of the initial data message to be replaced with to the VM, obtains
To corresponding first data message;
Package module 33 obtains GRE messages for carrying out GRE encapsulation to first data message;Wherein, the GRE
The IP address of the container is carried in the reserved field of heading;
Sending module 34, for forwarding the GRE messages by the gre tunneling.
The apparatus for forwarding message of the disclosure, route exchange device are receiving initial data message or are being referred to according to message generation
When enabling generation initial data message, if according to the purpose IP address of the initial data message, connecing for the initial data message is determined
Debit is the container being deployed in VM, then obtains the IP address for the VM for disposing the container, by the destination IP of initial data message
Location replaces with the IP address of the VM, obtains corresponding data message, and forward the GRE of encapsulation of data message to report by gre tunneling
Text, thus, it is possible to realize the route exchange device in a website by being deployed in VM in gre tunneling and another website
Container is communicated.
Figure 14 shows the block diagram of the apparatus for forwarding message according to one embodiment of the disclosure.Referring to Fig.1 4, which can wrap
The machine readable storage medium 902 for including processor 901, being stored with machine-executable instruction.Processor 901 and machine readable storage
Medium 902 can be communicated via system bus 903.Also, processor 901 by read machine readable storage medium storing program for executing 902 with report
The corresponding machine-executable instruction of literary forwarding logic is to execute the message forwarding method that above convergence switch executes.
The disclosure can also provide another apparatus for forwarding message, which may include processor, is stored with machine
The machine readable storage medium of executable instruction.Processor can be communicated with machine readable storage medium via system bus.Also,
Processor is by machine-executable instruction corresponding with message forwarding logic in read machine readable storage medium storing program for executing to execute above
The message forwarding method that middle resource pool gateway executes.
Machine readable storage medium referred to herein can be any electronics, magnetism, optics or other physical stores dress
It sets, can include or stores information, such as executable instruction, data, etc..For example, machine readable storage medium can be:RAM
(Radom Access Memory, random access memory), volatile memory, nonvolatile memory, flash memory, storage driving
Device (such as hard disk drive), solid state disk, any kind of storage dish (such as CD, dvd) or similar storage medium,
Or combination thereof.
The presently disclosed embodiments is described above, above description is exemplary, and non-exclusive, and
It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill
Many modifications and changes will be apparent from for the those of ordinary skill in art field.The selection of term used herein, purport
In the principle, practical application or technological improvement to the technology in market for best explaining each embodiment, or this technology is made to lead
Other those of ordinary skill in domain can understand each embodiment disclosed herein.
Claims (14)
1. a kind of message forwarding method, which is characterized in that be applied to the first virtual machine VM, the first VM and distal end route exchange device
Foundation has gre tunneling, the method includes:
When receiving GRE messages, identify that the reserved field of GRE headings, the reserved field are deployed in for carrying in VM
Container IP address;
If the reserved field includes the IP address of container, the IP address of the container is obtained;
The GRE messages are decapsulated, the first data message is obtained;
When the VM for disposing the container is a VM, according to the IP address of the container, to first data message
It is forwarded.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
When the VM for disposing the container is other VM other than the first VM, described the is sent to the VM for disposing the container
The IP address of one data message and the container, for making the VM of the deployment container according to the IP address of the container, to institute
The first data message is stated to be forwarded.
3. a kind of message forwarding method, which is characterized in that be applied to host, the host has with the foundation of distal end route exchange device
Gre tunneling creates VM in the host, the method includes:
When receiving GRE messages, identify that the reserved field of GRE headings, the reserved field are deployed in for carrying in VM
Container IP address;
If the reserved field includes the IP address of container, the IP address of the container is obtained;
The GRE messages are decapsulated, the first data message is obtained;
The IP address that first data message and the container are sent to the VM for disposing the container, for making the deployment appearance
The VM of device is forwarded first data message according to the IP address of the container.
4. method as claimed in any of claims 1 to 3, which is characterized in that right according to the IP address of the container
First data message is forwarded, including:
The purpose IP address of first data message is replaced with into the container IP address, obtains corresponding original datagram
Text;
According to the purpose IP address of the initial data message, the initial data message is forwarded.
5. method as claimed in any of claims 1 to 3, which is characterized in that the method further includes:
If the reserved field does not include the IP address of container, the GRE messages are decapsulated, the second datagram is obtained
Text;
According to the purpose IP address of second data message, second data message is forwarded.
6. method as claimed in any of claims 1 to 3, which is characterized in that the container being deployed in VM is
The Docker containers being deployed in the VM.
7. a kind of message forwarding method, which is characterized in that be applied to route exchange device, the route exchange device is set with distal end
Standby establish has gre tunneling, the method includes:
When receiving initial data message or generating instruction generation initial data message according to message, if according to the original number
According to the purpose IP address of message, determines that the recipient of the initial data message is the container being deployed in VM, then obtain deployment
The IP address of the VM of the container;
The IP address that the purpose IP address of the initial data message is replaced with to the VM obtains corresponding first datagram
Text;
GRE encapsulation is carried out to first data message, obtains GRE messages;Wherein, in the reserved field of the GRE headings
Carry the IP address of the container;
The GRE messages are forwarded by the gre tunneling.
8. a kind of apparatus for forwarding message, which is characterized in that be applied to the first virtual machine VM, the first VM and distal end route exchange device
Foundation has the gre tunneling, described device to include:
Identification module, for when receiving GRE messages, identifying the reserved field of GRE headings, the reserved field is for taking
Band is deployed in the IP address of the container in VM;
First acquisition module obtains the IP address of the container if including the IP address of container for the reserved field;
Decapsulation module obtains the first data message for being decapsulated to the GRE messages;
First forwarding module is used for when the VM for disposing the container is a VM, right according to the IP address of the container
First data message is forwarded.
9. device according to claim 8, which is characterized in that described device further includes:
First forwarding module is additionally operable to when the VM for disposing the container is other VM other than the first VM, to portion
The VM for affixing one's name to the container sends the IP address of first data message and the container, the VM roots for making the deployment container
According to the IP address of the container, first data message is forwarded.
10. a kind of apparatus for forwarding message, which is characterized in that be applied to host, the host is established with distal end route exchange device
There is gre tunneling, VM is created in the host, described device includes:
Identification module, for when receiving GRE messages, identifying the reserved field of GRE headings, the reserved field is for taking
Band is deployed in the IP address of the container in VM;
First acquisition module obtains the IP address of the container if including the IP address of container for the reserved field;
Decapsulation module obtains the first data message for being decapsulated to the GRE messages;
First forwarding module, the IP for sending to the VM for disposing the container first data message and the container
Location is forwarded first data message for making the VM of the deployment container according to the IP address of the container.
11. the device according to any one of claim 8 to 10, which is characterized in that according to the IP address of the container,
First data message is forwarded, including:
The purpose IP address of first data message is replaced with into the container IP address, obtains corresponding original datagram
Text;
According to the purpose IP address of the initial data message, the initial data message is forwarded.
12. the device according to any one of claim 8 to 10, which is characterized in that described device further includes:
The decapsulation module carries out the GRE messages if being additionally operable to the IP address that the reserved field does not include container
Decapsulation, obtains the second data message;
Second forwarding module carries out second data message for the purpose IP address according to second data message
Forwarding.
13. the device according to any one of claim 8 to 10, which is characterized in that the container being deployed in VM
To be deployed in the Docker containers in the VM.
14. a kind of apparatus for forwarding message, which is characterized in that be applied to route exchange device, the route exchange device and distal end
Equipment foundation has the gre tunneling, described device to include:
Second acquisition module, for receiving initial data message or generating instruction generation initial data message according to message
When, if according to the purpose IP address of the initial data message, determine that the recipient of the initial data message is to be deployed in VM
In container, then obtain the IP address for the VM for disposing the container;
Replacement module, the IP address for the purpose IP address of the initial data message to be replaced with to the VM, is corresponded to
The first data message;
Package module obtains GRE messages for carrying out GRE encapsulation to first data message;Wherein, the GRE headings
Reserved field in carry the IP address of the container;
Sending module, for forwarding the GRE messages by the gre tunneling.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810542714.3A CN108390812B (en) | 2018-05-30 | 2018-05-30 | Message forwarding method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810542714.3A CN108390812B (en) | 2018-05-30 | 2018-05-30 | Message forwarding method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108390812A true CN108390812A (en) | 2018-08-10 |
CN108390812B CN108390812B (en) | 2020-07-07 |
Family
ID=63071562
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810542714.3A Active CN108390812B (en) | 2018-05-30 | 2018-05-30 | Message forwarding method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108390812B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109450768A (en) * | 2018-11-01 | 2019-03-08 | 中国联合网络通信集团有限公司 | The method of container interconnection and the system interconnected for container |
CN110147344A (en) * | 2019-05-21 | 2019-08-20 | 优刻得科技股份有限公司 | Method, apparatus, storage medium and the system communicated between multiple physical machines |
CN110611625A (en) * | 2018-11-27 | 2019-12-24 | 新华三技术有限公司 | Network device and virtual device |
CN115277586A (en) * | 2022-07-29 | 2022-11-01 | 中国电信股份有限公司 | Method, system, equipment and storage medium for processing Pod flow |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100180014A1 (en) * | 2009-01-14 | 2010-07-15 | International Business Machines Corporation | Providing network identity for virtual machines |
CN103067270A (en) * | 2013-01-08 | 2013-04-24 | 杭州华三通信技术有限公司 | Virtual machine exchange visit safety control method and device |
CN105591873A (en) * | 2015-10-27 | 2016-05-18 | 杭州华三通信技术有限公司 | Virtual machine isolation method and device |
CN106169994A (en) * | 2016-06-29 | 2016-11-30 | 中国联合网络通信集团有限公司 | The method of controlling security communicated between container and device |
-
2018
- 2018-05-30 CN CN201810542714.3A patent/CN108390812B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100180014A1 (en) * | 2009-01-14 | 2010-07-15 | International Business Machines Corporation | Providing network identity for virtual machines |
CN103067270A (en) * | 2013-01-08 | 2013-04-24 | 杭州华三通信技术有限公司 | Virtual machine exchange visit safety control method and device |
CN105591873A (en) * | 2015-10-27 | 2016-05-18 | 杭州华三通信技术有限公司 | Virtual machine isolation method and device |
CN106169994A (en) * | 2016-06-29 | 2016-11-30 | 中国联合网络通信集团有限公司 | The method of controlling security communicated between container and device |
Non-Patent Citations (1)
Title |
---|
刘桂开等: "《虚拟专用网隧道技术分析》", 《计算机科学》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109450768A (en) * | 2018-11-01 | 2019-03-08 | 中国联合网络通信集团有限公司 | The method of container interconnection and the system interconnected for container |
CN109450768B (en) * | 2018-11-01 | 2021-06-01 | 中国联合网络通信集团有限公司 | Method for interconnecting containers and system for interconnecting containers |
CN110611625A (en) * | 2018-11-27 | 2019-12-24 | 新华三技术有限公司 | Network device and virtual device |
US11765102B2 (en) | 2018-11-27 | 2023-09-19 | New H3C Technologies Co., Ltd. | Network device and conversion apparatus |
CN110147344A (en) * | 2019-05-21 | 2019-08-20 | 优刻得科技股份有限公司 | Method, apparatus, storage medium and the system communicated between multiple physical machines |
CN110147344B (en) * | 2019-05-21 | 2022-02-11 | 优刻得科技股份有限公司 | Method, apparatus, storage medium, and system for communicating between multiple physical machines |
CN115277586A (en) * | 2022-07-29 | 2022-11-01 | 中国电信股份有限公司 | Method, system, equipment and storage medium for processing Pod flow |
Also Published As
Publication number | Publication date |
---|---|
CN108390812B (en) | 2020-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104639414B (en) | A kind of message forwarding method and equipment | |
CN108390812A (en) | Message forwarding method and device | |
CN105591982B (en) | A kind of method and apparatus of message transmissions | |
CN104601432B (en) | A kind of message transmitting method and equipment | |
CN106713103B (en) | Method and system for virtual and physical network integration | |
CN108737269B (en) | Encapsulation method, device and node | |
CN104067562B (en) | Agreement for second layer Multi net voting link tunnel | |
US20120099602A1 (en) | End-to-end virtualization | |
CN105591873B (en) | A kind of virtual machine partition method and device | |
EP4160950A1 (en) | Method and apparatus for sending message, and network device, system and storage medium | |
CN105991433B (en) | The method and apparatus of Layer3 Virtual Private Network access Layer 2 virtual private network | |
CN101155130A (en) | Method for learning MAC address and system and equipment for conveying VPLS client data | |
CN108040135A (en) | A kind of VPWS messages pass through the method and device of three layers of IP network | |
CN108718269A (en) | Message processing method and device | |
CN107645433A (en) | Message forwarding method and device | |
CN105471827A (en) | Message transmission method and device | |
CN105553810A (en) | Method and device for forwarding special line service packet | |
CN107370654A (en) | A kind of encapsulation, de-encapsulation method and the relevant apparatus of pseudo-wire data message | |
CN101926132B (en) | Circuit emulation over ip interworking vll | |
CN106878278A (en) | A kind of message processing method and device | |
CN109120526A (en) | The method and the network equipment of point-to-point transmitting message | |
CN108075991A (en) | Message forwarding method and device | |
CN108259453A (en) | A kind of message forwarding method and device | |
CN104811381A (en) | Label-based data transmission method and label-based data transmission equipment under distributed environment | |
CN101286918A (en) | Virtual private network system and data processing method thereof |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230619 Address after: 310052 11th Floor, 466 Changhe Road, Binjiang District, Hangzhou City, Zhejiang Province Patentee after: H3C INFORMATION TECHNOLOGY Co.,Ltd. Address before: 310052 Changhe Road, Binjiang District, Hangzhou, Zhejiang Province, No. 466 Patentee before: NEW H3C TECHNOLOGIES Co.,Ltd. |