CN106921592A - A kind of method of message transmissions, device and convergence switch - Google Patents
A kind of method of message transmissions, device and convergence switch Download PDFInfo
- Publication number
- CN106921592A CN106921592A CN201510983332.0A CN201510983332A CN106921592A CN 106921592 A CN106921592 A CN 106921592A CN 201510983332 A CN201510983332 A CN 201510983332A CN 106921592 A CN106921592 A CN 106921592A
- Authority
- CN
- China
- Prior art keywords
- vxlan
- message
- messages
- forwarded
- pppoe
- 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
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/82—Miscellaneous aspects
- H04L47/825—Involving tunnels, e.g. MPLS
-
- 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
- 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/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/168—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP] specially adapted for link layer protocols, e.g. asynchronous transfer mode [ATM], synchronous optical network [SONET] or point-to-point protocol [PPP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention provides a kind of method of message transmissions, device and convergence switch, wherein, the method for message transmissions is applied to the convergence switch of data center side, including:Receive and judge the type of message to be forwarded;If message to be forwarded is virtual expansible LAN VXLAN encapsulated messages, VXLAN encapsulated messages are then generated the point-to-point protocol PPPOE messages of Ethernet bearing, wherein, record has identification information corresponding with the VXLAN tunnels for sending message to be forwarded in the heading of PPPOE messages;If message to be forwarded is PPPOE messages, the identification information corresponding with the VXLAN tunnels for sending message to be forwarded recorded in the heading according to PPPOE messages, it is determined that sending the descending VXLAN tunnels of message to be forwarded;According to the descending VXLAN tunnels for determining, message to be forwarded is sent.The present invention is solved after VBRAS is deployed in data center, due to supporting the less problem of userbase caused by the MAC Address list item bottleneck of VXLAN convergence switches.
Description
Technical field
The present invention relates to communication technical field, more particularly, to a kind of method of message transmissions, device and convergence
Interchanger.
Background technology
At present, home broadband user is accessed generally using the point-to-point PPPOE agreements conduct carried on Ethernet
Access protocol, using Broadband Remote Access Server BRAS as broadband access equipment, to realize user's
The functions such as certification, charging control.Common home broadband networking structure is as shown in Figure 1.
But the appearance of the new technology such as NFV and software definition networking SDN is virtualized with network function, is used
The BRAS equipment accessed in broadband user occurs in that the equipment i.e. broad band remote of new virtualization form accesses clothes
Business device virtualization VBRAS equipment.It is related that VBRAS can be based on general x86 hardware operation supports BRAS
The software of function realizes the certification Access Control of broadband user, and can be realized by the advantage of cloud computing
Flexible deployment and scheduling.Wherein, a kind of relatively common deployment way of VBRAS is to concentrate to be deployed in metropolitan area
The data center of core, and the drainage of customer flow, the group of the VBRAS are realized using VXLAN interchangers
Web frame is as shown in Figure 2.But, after VBRAS is concentrated and is deployed to data center, data center side
VXLAN converges interaction machine to be needed to learn substantial amounts of user media access control MAC addresses, due to VXLAN
The MAC Address list item size of convergence switch is limited, therefore VXLAN converges the MAC Address of interaction machine
List item turns into the userbase bottleneck after VBRAS concentrates deployment, i.e. MAC Address list item have impact on VBRAS
The userbase that can be supported after introducing.For example, high-end three-tier switch MAC table capacity is higher can reach
128k, is only capable of 13 general-purpose families of support and accesses, and such userbase is only applicable to middle-size and small-size Metropolitan Area Network (MAN) (greatly
Ten thousand) type Metropolitan Area Network (MAN) number of users can reach 100.
The content of the invention
In order to solve after VBRAS is deployed in data center, due to the MAC ground of VXLAN convergence switches
The support less problem of userbase caused by the list item bottleneck of location, the invention provides a kind of side of message transmissions
Method, device and convergence switch.
In order to solve the above-mentioned technical problem, the invention provides a kind of method of message transmissions, the method includes:
Receive and judge the type of message to be forwarded;
If the message to be forwarded is virtual expansible LAN VXLAN encapsulated messages, will be described
VXLAN encapsulated messages generate the point-to-point protocol PPPOE messages of Ethernet bearing, wherein, the PPPOE
Record has identification information corresponding with the VXLAN tunnels for sending the message to be forwarded in the heading of message;
If the message to be forwarded is PPPOE messages, remember in the heading according to the PPPOE messages
The identification information corresponding with the VXLAN tunnels for sending the message to be forwarded of record, it is determined that being treated described in sending
The descending VXLAN tunnels for E-Packeting;According to the described descending VXLAN tunnels for determining, send described
Message to be forwarded.
Optionally, the point-to-point protocol PPPOE that the VXLAN encapsulated messages are generated Ethernet bearing
Message, including:Obtained from the VXLAN encapsulated messages and send the upper of the VXLAN encapsulated messages
The mark VXLAN_ID in row VXLAN tunnels, and the VXLAN encapsulated messages are sealed off, obtain
To original PPPOE messages;VXLAN_ID fields are added in the heading of the original PPPOE messages,
Generation PPPOE messages, wherein, there be as the identification information record in the VXLAN_ID fields
VXLAN_ID。
Optionally, recorded in the heading according to the PPPOE messages with send the report to be forwarded
The corresponding identification information in VXLAN tunnels of text, it is determined that sending the descending VXLAN of the message to be forwarded
Tunnel, including:Obtained from the VXLAN_ID fields of the heading of the PPPOE messages and send described
The VXLAN_ID in the descending VXLAN tunnels of message to be forwarded;According to the described descending VXLAN for obtaining
The VXLAN_ID in tunnel, it is determined that sending the descending VXLAN tunnels of the message to be forwarded.
Optionally, the point-to-point protocol PPPOE that the VXLAN encapsulated messages are generated Ethernet bearing
Message, including:Obtained from the VXLAN encapsulated messages and send the upper of the VXLAN encapsulated messages
The corresponding VXLAN_ID in row VXLAN tunnels, and the VXLAN encapsulated messages are sealed off, obtain
To original PPPOE messages;In in the code CODE fields in the heading of original PPPOE messages
Appearance is moved in type TYPE field, and is recorded in CODE fields and be preset with the VXLAN_ID
Corresponding relation and the VXLAN network identifier VNI as identification information, generate PPPOE messages.
Optionally, recorded in the heading according to the PPPOE messages with send the report to be forwarded
The corresponding identification information in VXLAN tunnels of text, it is determined that sending the descending VXLAN of the message to be forwarded
Tunnel, including:VNI and default VNI and VXLAN_ID in heading according to PPPOE messages
Corresponding relation, obtain the VXLAN_ID in the descending VXLAN tunnels for sending the message to be forwarded;Root
According to the VXLAN_ID in the described descending VXLAN tunnels for obtaining, it is determined that sending under the message to be forwarded
Row VXLAN tunnels.
Optionally, what is recorded in the heading according to the PPPOE messages is described to be forwarded with transmission
The corresponding identification information in VXLAN tunnels of message, it is determined that sending the descending VXLAN of the message to be forwarded
After tunnel, methods described also includes:The PPPOE messages are reduced to original PPPOE messages, and
According to the VXLAN_ID in the descending VXLAN tunnels, tunnel envelope is carried out to the original PPPOE messages
Dress, subsequently into according to determine described descending VXLAN tunnels, send the message to be forwarded the step of.
According to another aspect of the present invention, present invention also offers a kind of device of message transmissions, it is applied to
The convergence switch of data center side, the device includes:
Judge module, for receiving and judges the type of message to be forwarded;
Generation module, if being virtual expansible LAN VXLAN encapsulated messages for the message to be forwarded,
The VXLAN encapsulated messages are then generated the point-to-point protocol PPPOE messages of Ethernet bearing, wherein,
Record has corresponding with the VXLAN tunnels for sending the message to be forwarded in the heading of the PPPOE messages
Identification information;
Determining module, if being PPPOE messages for the message to be forwarded, reports according to the PPPOE
The identification information corresponding with the VXLAN tunnels for sending the message to be forwarded recorded in the heading of text,
It is determined that sending the descending VXLAN tunnels of the message to be forwarded;Sending module, for according to the institute for determining
Descending VXLAN tunnels are stated, the message to be forwarded is sent.
Optionally, the generation module from the VXLAN encapsulated messages specifically for obtaining and sending institute
State the mark VXLAN_ID in the up VXLAN tunnels of VXLAN encapsulated messages, and by the VXLAN
Encapsulated message is sealed off, and obtains original PPPOE messages;In the heading of the original PPPOE messages
Interior addition VXLAN_ID fields, generate PPPOE messages, wherein, remember in the VXLAN_ID fields
Record has the VXLAN_ID as the identification information.
Optionally, the determining module is specifically for from the heading of the PPPOE messages
The descending VXLAN tunnels of the transmission message to be forwarded are obtained in VXLAN_ID fields
VXLAN_ID;According to the VXLAN_ID in the described descending VXLAN tunnels for obtaining, it is determined that sending described
The descending VXLAN tunnels of message to be forwarded.
Optionally, the generation module from the VXLAN encapsulated messages specifically for obtaining and sending institute
State the corresponding VXLAN_ID in up VXLAN tunnels of VXLAN encapsulated messages, and by the VXLAN
Encapsulated message is sealed off, and obtains original PPPOE messages;By in the heading of original PPPOE messages
Content in code CODE fields is moved in type TYPE field, and in CODE fields record with
The VXLAN_ID the is preset with corresponding relation and VXLAN network identifiers as identification information
VNI, generates PPPOE messages.
Optionally, the determining module specifically for, VNI in heading according to PPPOE messages and
The corresponding relation of default VNI and VXLAN_ID, obtains and sends the descending of the message to be forwarded
The VXLAN_ID in VXLAN tunnels;According to the VXLAN_ID in the described descending VXLAN tunnels for obtaining,
It is determined that sending the descending VXLAN tunnels of the message to be forwarded.
Optionally, described device also includes:Package module, it is original for the PPPOE messages to be reduced to
PPPOE messages, and according to the VXLAN_ID in the descending VXLAN tunnels, to the original PPPOE
Message carries out tunnel encapsulation, then triggers sending module.
According to another aspect of the present invention, present invention also offers a kind of convergence switch, the convergence is exchanged
Machine includes the device of the message transmissions of the above.
The beneficial effects of the invention are as follows:
The method of the message transmissions that the present invention is provided, can treat according to the type of message to be forwarded and E-Packet
Different operations are carried out, wherein, if message to be forwarded is VXLAN encapsulated messages, VXLAN is sealed
Dress message generation PPPOE messages, record has and sends message to be forwarded in the heading of the PPPOE messages
The corresponding identification information in VXLAN tunnels.If message to be forwarded is PPPOE messages, according to the PPPOE
The identification information corresponding with the VXLAN tunnels for sending message to be forwarded recorded in the heading of message, really
Surely the descending VXLAN tunnels of message to be forwarded are sent.The present invention can be according to the heading of PPPOE messages
The identification information corresponding with the VXLAN tunnels for sending message to be forwarded of middle record, directly determines to be forwarded
The downlink tunnel of message, is solved after VBRAS is deployed in data center, and VXLAN convergence switches are being learned
When the MAC Address for commonly using family forwards message to be forwarded, used due to being supported caused by MAC Address list item bottleneck
The less problem of family scale, while ensure that user data normal drainage, expands the use that can be supported
Family scale.
Brief description of the drawings
Fig. 1 represents home broadband networking of the prior art;
Fig. 2 represents the networking structure of VBRAS;
The step of Fig. 3 represents the method for message transmissions in first embodiment of the present invention flow chart;
The step of Fig. 4 represents the method for message transmissions in second embodiment of the present invention flow chart;
Fig. 5 represents the structural representation of the heading of original PPPOE messages;
Fig. 6 represents the structural representation of the heading of the PPPOE messages after addition VXLAN_ID fields;
The step of Fig. 7 represents the method for message transmissions in third embodiment of the present invention flow chart;
Fig. 8 represents the schematic diagram of TYPE field and CODE fields in the heading of original PPPOE messages;
Fig. 9 represents the schematic diagram of TYPE field and CODE fields in the heading of PPPOE messages;
Figure 10 represents the structured flowchart of the device of message transmissions in the fourth embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although being shown in accompanying drawing
The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure without should be by
Embodiments set forth here is limited.Conversely, there is provided these embodiments are able to be best understood from this
It is open, and can by the scope of the present disclosure it is complete convey to those skilled in the art.
First embodiment:
As shown in figure 3, be flow chart the step of the method for message transmissions in the first embodiment of the present invention, should
Method comprises the following steps:
Step 101, receives and judges the type of message to be forwarded.
In this step, the type of message to be forwarded is judged after message to be forwarded is received.Specifically,
The type of message to be forwarded can be by up VXLAN tunnels send VXLAN encapsulated messages or
To need to be transmitted to by descending VXLAN tunnels the PPPOE messages of user side.Wherein, if report to be forwarded
Text then enters step 102 for VXLAN encapsulated messages, if message to be forwarded is PPPOE messages, enters
Step 103.
Step 102, PPPOE messages are generated by VXLAN encapsulated messages.
In this step, if specifically, the type of the message to be forwarded for receiving be VXLAN encapsulated messages,
VXLAN encapsulated messages are then generated into PPPOE messages, wherein, remember in the heading of the PPPOE messages
Record has identification information corresponding with the VXLAN tunnels for sending message to be forwarded.The identification information is enabled to
The VXLAN tunnels for sending message to be forwarded are directly found from the heading of PPPOE messages.Specifically,
The identification information can be the mark VXLAN_ID in VXLAN tunnels, or VXLAN tunnels
Network identifier VNI.
Step 103, the VXLAN with transmission message to be forwarded recorded in the heading according to PPPOE messages
The corresponding identification information in tunnel, it is determined that sending the descending VXLAN tunnels of message to be forwarded.
In this step, if the message to be forwarded for receiving is PPPOE messages, according to PPPOE messages
Heading in the identification information corresponding with the VXLAN tunnels for sending message to be forwarded that records, it is determined that hair
Send the descending VXLAN tunnels of message to be forwarded.Specifically, due to being recorded in the heading of PPPOE messages
There is identification information corresponding with the VXLAN tunnels for sending message to be forwarded, therefore can directly from PPPOE
The descending VXLAN tunnels of transmission message to be forwarded are determined in the heading of message.
Specifically, it is determined that after the descending VXLAN tunnels for sending message to be forwarded, can be according to determination
Descending VXLAN tunnels, send message to be forwarded.
In the present embodiment, it is possible to the type according to message to be forwarded is treated to E-Packet carries out different operations,
Wherein, if message to be forwarded is VXLAN encapsulated messages, VXLAN encapsulated messages are generated into PPPOE
Message, record has corresponding with the VXLAN tunnels for sending message to be forwarded in the heading of the PPPOE messages
Identification information.If message to be forwarded is PPPOE messages, in the heading according to the PPPOE messages
The identification information corresponding with the VXLAN tunnels for sending message to be forwarded of record, it is determined that sending report to be forwarded
The descending VXLAN tunnels of text.The present embodiment can according in the heading of PPPOE messages record and hair
The corresponding identification information in VXLAN tunnels of message to be forwarded is sent, the descending tunnel of message to be forwarded is directly determined
Road, solves after VBRAS is deployed in data center, and VXLAN convergence switches need to learn user's
MAC Address forwards message to be forwarded, and due to supported caused by MAC Address list item bottleneck userbase compared with
Small problem, while ensure that user data normal drainage, expands the userbase that can be supported.
Second embodiment:
As shown in figure 4, be flow chart the step of the method for message transmissions in the second embodiment of the present invention, should
Method includes:
Step 201, receives and judges the type of message to be forwarded.
In this step, the type of message to be forwarded is judged after message to be forwarded is received.Specifically,
The type of message to be forwarded can be by up VXLAN tunnels send VXLAN encapsulated messages or
To need to be transmitted to by descending VXLAN tunnels the PPPOE messages of user side.Wherein, if report to be forwarded
Text is VXLAN encapsulated messages, then into step 202, if message to be forwarded is PPPOE messages, enter
Enter step 204.
Step 202, obtains the up VXLAN for sending VXLAN encapsulated messages from VXLAN encapsulated messages
The mark VXLAN_ID in tunnel, and VXLAN encapsulated messages are sealed off, obtain original PPPOE reports
Text.
In this step, if the message to be forwarded for receiving is the VXLAN sent from up VXLAN tunnels
Encapsulated message, then first check for the VXLAN_ID of the VXLAN encapsulated messages, and seal from the VXLAN
The VXLAN_ID in the up VXLAN tunnels for sending the VXLAN encapsulated messages is obtained in dress message, so
The VXLAN encapsulated messages are sealed off afterwards, the original PPPOE messages after being sealed off.Need herein
Illustrate, as shown in figure 5, the structural representation of the heading for original PPPOE messages, from Fig. 5
As can be seen that original PPPOE messages do not record the identification information in VXLAN tunnels.
Step 203, adds VXLAN_ID fields in the heading of original PPPOE messages, generates PPPOE
Message.
In this step, after original PPPOE messages are got, can be in original PPPOE messages
Addition VXLAN_ID fields in heading, generate PPPOE messages.Specifically, VXLAN_ID fields
Middle record has the VXLAN_ID of the identification information as VXLAN tunnels, enables to from after generation
Direct access sends the VXLAN tunnels of message to be forwarded in the heading of PPPOE messages
VXLAN_ID.Wherein, as shown in fig. 6, being the PPPOE messages after addition VXLAN_ID fields
The structural representation of heading, from fig. 6, it can be seen that increased length in the heading of PPPOE messages being
The VXLAN_ID fields of 24bit.
Step 204, obtains from the VXLAN_ID fields of the heading of PPPOE messages and sends report to be forwarded
The VXLAN_ID in the descending VXLAN tunnels of text.
In this step, if specifically, the message to be forwarded for receiving is to need by descending VXLAN tunnels
Road is sent to the PPPOE messages of user side, because the heading of PPPOE messages includes that record has conduct
The VXLAN_ID fields of the VXLAN_ID of VXLAN tunnel identification informations, thus can directly from
The descending VXLAN for sending message to be forwarded is obtained in the VXLAN_ID fields of the heading of PPPOE messages
The VXLAN_ID in tunnel.
Step 205, according to the VXLAN_ID in the descending VXLAN tunnels for obtaining, it is determined that sending to be forwarded
The descending VXLAN tunnels of message.
In this step, specifically, because VXLAN tunnels have unique VXLAN_ID, therefore
After getting the VXLAN_ID in the descending VXLAN tunnels for sending message to be forwarded, can be according to descending
The VXLAN_ID in VXLAN tunnels determines to send the descending VXLAN tunnels of message to be forwarded, to cause
PPPOE messages can be forwarded to user side by the descending VXLAN tunnels.
Step 206, original PPPOE messages are reduced to by PPPOE messages, and according to descending VXLAN tunnels
The VXLAN_ID in road, tunnel encapsulation is carried out to original PPPOE messages.
In this step, specifically, being added with VXLAN_ID fields because user side can not be recognized
PPPOE messages, therefore determined to send the descending of message to be forwarded according to the VXLAN_ID for obtaining
, it is necessary to PPPOE messages are reduced into original PPPOE messages after VXLAN tunnels, will add
VXLAN_ID fields are deleted.Additionally, by PPPOE messages be reduced to original PPPOE messages it
Afterwards, due to needing to be transmitted by VXLAN tunnels, it is therefore desirable to according to the VXLAN_ID of downlink tunnel
Tunnel encapsulation is carried out to original PPPOE messages.Specifically, carrying out tunnel envelope to original PPPOE messages
After dress, the message to be forwarded after encapsulation can be sent according to the descending VXLAN tunnels for determining.
In the present embodiment, receiving and seal off after VXLAN encapsulated messages obtain original PPPOE messages,
Increasing record in the heading of original PPPOE messages has the identification information VXLAN_ID in VXLAN tunnels
VXLAN_ID fields to generate PPPOE messages so that receiving treating for PPPOE messages
When E-Packeting, VXLAN_ID fields that can be in heading directly according to PPPOE messages are treated and turned
Text of transmitting messages is forwarded.The present embodiment causes that the forwarding of message to be forwarded no longer needs the branch of MAC Address list item
Support, solves after VBRAS is deployed in data center, and VXLAN convergence switches need to learn user's
MAC Address forwards message to be forwarded, and due to supported caused by MAC Address list item bottleneck userbase compared with
Small problem.Further, since directly record has VXLAN tunnels in VXLAN_ID fields
VXLAN_ID, therefore VXLAN_ID fields according to the heading of PPPOE messages are forwarded
When, the userbase supported can be caused close to unlimited, while ensure that user data normal drainage,
Largely extend the userbase that can be supported.
3rd embodiment:
As shown in fig. 7, be flow chart the step of the method for message transmissions in the third embodiment of the present invention, should
Method includes:
Step 301, receives and judges the type of message to be forwarded.
In this step, the type of message to be forwarded is judged after message to be forwarded is received.Specifically,
The type of message to be forwarded can be by up VXLAN tunnels send VXLAN encapsulated messages or
To need to be transmitted to by descending VXLAN tunnels the PPPOE messages of user side.Wherein, if report to be forwarded
Text is VXLAN encapsulated messages, then into step 302, if message to be forwarded is PPPOE messages, enter
Enter step 304.
Step 302, obtains the up VXLAN for sending VXLAN encapsulated messages from VXLAN encapsulated messages
The corresponding VXLAN_ID in tunnel, and VXLAN encapsulated messages are sealed off, obtain original PPPOE reports
Text.
In this step, if the message to be forwarded for receiving is the VXLAN sent from up VXLAN tunnels
Encapsulated message, then first check for the VXLAN_ID of the VXLAN encapsulated messages, and seal from the VXLAN
The VXLAN_ID in the up VXLAN tunnels for sending the VXLAN encapsulated messages is obtained in dress message, so
The VXLAN encapsulated messages are sealed off afterwards, the original PPPOE messages after being sealed off.Need herein
Illustrate, as shown in figure 5, the structural representation of the heading for original PPPOE messages, from Fig. 5
As can be seen that original PPPOE messages do not record the identification information in VXLAN tunnels.
Step 303, by the content movement in the code CODE fields in the heading of original PPPOE messages
Into type TYPE field, and record is preset with corresponding relation with VXLAN_ID in CODE fields
And as the VXLAN network identifier VNI of identification information, generate PPPOE messages.
In this step, after original PPPOE messages are got, can be by original PPPOE messages
The content in CODE fields in heading is moved in TYPE field, and is recorded in CODE fields
Be preset with corresponding relation with VXLAN_ID and VNI as identification information, generates PPPOE messages.
Specifically, can be first the heading of PPPOE messages before recording VNI in CODE fields
Distribution VNI, then sets up the mapping table of VNI and VXLAN_ID.Specifically, as shown in figure 8,
It is the schematic diagram of TYPE field and CODE fields in the heading of original PPPOE messages, as shown in figure 9,
It is the schematic diagram of TYPE field and CODE fields in the heading of PPPOE messages.From Fig. 8's and Fig. 9
As can be seen that the value of TYPE field becomes from the value 0 × 01 in the heading of original PPPOE messages in contrast
Turn to the value 0 × 02 in the heading of PPPOE messages, and the heading of original PPPOE messages
The content alteration recorded in CODE fields is VNI.
Further, since the length of CODE fields is 8bit, therefore CODE fields can support 0~255
256 values, therefore can support to identify 256 VXLAN tunnels.Under normal circumstances, a VXLAN
Tunnel one VXLAN access node of correspondence, if a VXLAN access node can support a general-purpose
Family, then 256 VXLAN tunnels can then support 256 general-purpose families.Be can be seen that from userbase
VNI is recorded in CODE fields to complete to disclosure satisfy that the demand of present network.
Step 304, VNI in heading and default VNI according to PPPOE messages with
The corresponding relation of VXLAN_ID, obtains the descending VXLAN tunnels of transmission message to be forwarded
VXLAN_ID。
In this step, if specifically, the message to be forwarded for receiving is to need by descending VXLAN tunnels
Road is sent to the PPPOE messages of user side, due to remembering in the CODE fields of the heading of PPPOE messages
Record has the VNI that corresponding relation is preset with VXLAN_ID, therefore can directly according to PPPOE messages
VNI and default VNI and the corresponding relation of VXLAN_ID in heading, obtain and send to be forwarded
The VXLAN_ID in the descending VXLAN tunnels of message.
Step 305, according to the VXLAN_ID in the descending VXLAN tunnels for obtaining, it is determined that sending to be forwarded
The descending VXLAN tunnels of message.
In this step, specifically, because VXLAN tunnels have unique VXLAN_ID, therefore
Corresponding relation according to VNI and VXLAN_ID gets the descending VXLAN tunnels for sending message to be forwarded
VXLAN_ID after, can according to the VXLAN_ID in descending VXLAN tunnels determine send wait turn
Transmit messages text descending VXLAN tunnels, to allow PPPOE messages by the descending VXLAN tunnels
It is forwarded to user side.
Step 306, original PPPOE messages are reduced to by PPPOE messages, and according to descending VXLAN tunnels
The VXLAN_ID in road, tunnel encapsulation is carried out to original PPPOE messages.
In this step, specifically, because user side can not recognize change TYPE field and CODE fields
PPPOE messages afterwards, therefore determined to send the descending of message to be forwarded according to the VXLAN_ID for obtaining
, it is necessary to PPPOE messages are reduced into original PPPOE messages after VXLAN tunnels, will TYPE words
Section and CODE fields are reduced.Additionally, by PPPOE messages be reduced to original PPPOE messages it
Afterwards, due to needing to be transmitted by VXLAN tunnels, it is therefore desirable to according to the VXLAN_ID of downlink tunnel
Tunnel encapsulation is carried out to original PPPOE messages.Specifically, carrying out tunnel envelope to original PPPOE messages
After dress, the message to be forwarded after encapsulation can be sent according to the descending VXLAN tunnels for determining.
In the present embodiment, receiving and seal off after VXLAN encapsulated messages obtain original PPPOE messages,
TYPE field and CODE fields to the heading of original PPPOE messages are redefined, will CODE
Content in field is moved in TYPE field, and record is preset with VXLAN_ID in CODE fields
Have corresponding relation and as the VNI of VXLAN tunnel identification informations, so that being PPPOE receiving
During the message to be forwarded of message, can be according to the VNI of CODE field records in the heading of PPPOE messages
With the corresponding relation of default VNI sums, the VXLAN_ID in descending VXLAN tunnels is obtained, and according to obtaining
The VXLAN_ID for taking is forwarded.Further, since the length of CODE fields is 8bit, therefore CODE
Field can support 0~255 256 values, therefore can support to identify 256 VXLAN tunnels,
While ensure that user data normal drainage, the userbase that can be supported largely is extended.
Fourth embodiment:
As shown in Figure 10, be message transmissions in the fourth embodiment of the present invention device structured flowchart.The dress
The convergence switch for being applied to data center side is put, the device 400 includes:
Judge module 401, for receiving and judges the type of message to be forwarded;
Generation module 402, if being virtual expansible LAN VXLAN encapsulated messages for message to be forwarded,
VXLAN encapsulated messages are then generated the point-to-point protocol PPPOE messages of Ethernet bearing, wherein, PPPOE
Record has identification information corresponding with the VXLAN tunnels for sending message to be forwarded in the heading of message;
Determining module 403, if being PPPOE messages for message to be forwarded, according to the report of PPPOE messages
The identification information corresponding with the VXLAN tunnels for sending message to be forwarded recorded in literary head, it is determined that transmission is treated
The descending VXLAN tunnels for E-Packeting;Sending module 405, for according to the descending VXLAN tunnels for determining
Road, sends message to be forwarded.
Optionally, generation module 402 from VXLAN encapsulated messages specifically for obtaining and sending VXLAN
The mark VXLAN_ID in the up VXLAN tunnels of encapsulated message, and VXLAN encapsulated messages are carried out
Seal off, obtain original PPPOE messages;VXLAN_ID is added in the heading of original PPPOE messages
Field, generates PPPOE messages, wherein, there be as identification information record in VXLAN_ID fields
VXLAN_ID。
Optionally, determining module 403 is specifically for from the VXLAN_ID of the heading of PPPOE messages
The VXLAN_ID in the descending VXLAN tunnels for sending message to be forwarded is obtained in field;Under obtaining
The VXLAN_ID in row VXLAN tunnels, it is determined that sending the descending VXLAN tunnels of message to be forwarded.
Optionally, generation module 402 from VXLAN encapsulated messages specifically for obtaining and sending VXLAN
The corresponding VXLAN_ID in up VXLAN tunnels of encapsulated message, and VXLAN encapsulated messages are carried out
Seal off, obtain original PPPOE messages;By the code CODE words in the heading of original PPPOE messages
Content in section is moved in type TYPE field, and is recorded in CODE fields pre- with VXLAN_ID
Be provided with corresponding relation and the VXLAN network identifier VNI as identification information, generate PPPOE messages.
Optionally, determining module 403 specifically for, VNI in heading according to PPPOE messages and
The corresponding relation of default VNI and VXLAN_ID, obtains the descending VXLAN tunnels for sending message to be forwarded
The VXLAN_ID in road;According to the VXLAN_ID in the descending VXLAN tunnels for obtaining, it is determined that send to wait to turn
Transmit messages text descending VXLAN tunnels.
Optionally, device also includes:Package module 404, for PPPOE messages to be reduced into original PPPOE
Message, and according to the VXLAN_ID in descending VXLAN tunnels, tunnel envelope is carried out to original PPPOE messages
Dress, then triggers sending module 405.
In another embodiment of the present invention, present invention also offers a kind of convergence switch, the convergence is handed over
The device 400 of the message transmissions changed planes including more than.
Above-described is the preferred embodiment of the present invention, it should be pointed out that for the ordinary people of the art
For member, some improvements and modifications can also be made under the premise of principle of the present invention is not departed from, these
Improvements and modifications are also within the scope of the present invention.
Claims (13)
1. a kind of method of message transmissions, is applied to the convergence switch of data center side, it is characterised in that
Methods described includes:
Receive and judge the type of message to be forwarded;
If the message to be forwarded is virtual expansible LAN VXLAN encapsulated messages, will be described
VXLAN encapsulated messages generate the point-to-point protocol PPPOE messages of Ethernet bearing, wherein, the PPPOE
Record has identification information corresponding with the VXLAN tunnels for sending the message to be forwarded in the heading of message;
If the message to be forwarded is PPPOE messages, remember in the heading according to the PPPOE messages
The identification information corresponding with the VXLAN tunnels for sending the message to be forwarded of record, it is determined that being treated described in sending
The descending VXLAN tunnels for E-Packeting;According to the described descending VXLAN tunnels for determining, send described
Message to be forwarded.
2. method according to claim 1, it is characterised in that described encapsulate the VXLAN is reported
The point-to-point protocol PPPOE messages of text generation Ethernet bearing, including:
The up VXLAN for sending the VXLAN encapsulated messages is obtained from the VXLAN encapsulated messages
The mark VXLAN_ID in tunnel, and the VXLAN encapsulated messages are sealed off, obtain original PPPOE
Message;
VXLAN_ID fields, generation PPPOE reports are added in the heading of the original PPPOE messages
Text, wherein, record has the VXLAN_ID as the identification information in the VXLAN_ID fields.
3. method according to claim 2, it is characterised in that described according to the PPPOE messages
The identification information corresponding with the VXLAN tunnels for sending the message to be forwarded recorded in heading, it is determined that
The descending VXLAN tunnels of the message to be forwarded are sent, including:
Obtained from the VXLAN_ID fields of the heading of the PPPOE messages and send the report to be forwarded
The VXLAN_ID in the descending VXLAN tunnels of text;
According to the VXLAN_ID in the described descending VXLAN tunnels for obtaining, it is determined that sending the report to be forwarded
The descending VXLAN tunnels of text.
4. method according to claim 1, it is characterised in that described encapsulate the VXLAN is reported
The point-to-point protocol PPPOE messages of text generation Ethernet bearing, including:
The up VXLAN for sending the VXLAN encapsulated messages is obtained from the VXLAN encapsulated messages
The corresponding VXLAN_ID in tunnel, and the VXLAN encapsulated messages are sealed off, obtain original PPPOE
Message;
Content in code CODE fields in the heading of original PPPOE messages is moved to type
In TYPE field, and recorded in CODE fields with the VXLAN_ID be preset with corresponding relation and
As the VXLAN network identifier VNI of identification information, PPPOE messages are generated.
5. method according to claim 4, it is characterised in that described according to the PPPOE messages
The identification information corresponding with the VXLAN tunnels for sending the message to be forwarded recorded in heading, it is determined that
The descending VXLAN tunnels of the message to be forwarded are sent, including:
VNI in heading and default VNI according to PPPOE messages is corresponding with VXLAN_ID
Relation, obtains the VXLAN_ID in the descending VXLAN tunnels for sending the message to be forwarded;
According to the VXLAN_ID in the described descending VXLAN tunnels for obtaining, it is determined that sending the report to be forwarded
The descending VXLAN tunnels of text.
6. the method according to claim 2 or 4, it is characterised in that described according to the PPPOE
The identification information corresponding with the VXLAN tunnels for sending the message to be forwarded recorded in the heading of message,
It is determined that after sending the descending VXLAN tunnels of the message to be forwarded, methods described also includes:
The PPPOE messages are reduced to original PPPOE messages, and according to the descending VXLAN tunnels
The VXLAN_ID in road, tunnel encapsulation is carried out to the original PPPOE messages, subsequently into according to determination
The step of descending VXLAN tunnels, transmission message to be forwarded.
7. a kind of device of message transmissions, is applied to the convergence switch of data center side, it is characterised in that
Described device includes:
Judge module, for receiving and judges the type of message to be forwarded;
Generation module, if being virtual expansible LAN VXLAN encapsulated messages for the message to be forwarded,
The VXLAN encapsulated messages are then generated the point-to-point protocol PPPOE messages of Ethernet bearing, wherein,
Record has corresponding with the VXLAN tunnels for sending the message to be forwarded in the heading of the PPPOE messages
Identification information;
Determining module, if being PPPOE messages for the message to be forwarded, reports according to the PPPOE
The identification information corresponding with the VXLAN tunnels for sending the message to be forwarded recorded in the heading of text,
It is determined that sending the descending VXLAN tunnels of the message to be forwarded;Sending module, for according to the institute for determining
Descending VXLAN tunnels are stated, the message to be forwarded is sent.
8. device according to claim 7, it is characterised in that the generation module specifically for, from
The up VXLAN tunnels for sending the VXLAN encapsulated messages are obtained in the VXLAN encapsulated messages
Mark VXLAN_ID, and the VXLAN encapsulated messages are sealed off, obtain original PPPOE reports
Text;VXLAN_ID fields, generation PPPOE reports are added in the heading of the original PPPOE messages
Text, wherein, record has the VXLAN_ID as the identification information in the VXLAN_ID fields.
9. device according to claim 8, it is characterised in that the determining module specifically for, from
Obtained in the VXLAN_ID fields of the heading of the PPPOE messages and sent under the message to be forwarded
The VXLAN_ID in row VXLAN tunnels;According to the described descending VXLAN tunnels for obtaining
VXLAN_ID, it is determined that sending the descending VXLAN tunnels of the message to be forwarded.
10. device according to claim 7, it is characterised in that the generation module specifically for, from
The up VXLAN tunnels for sending the VXLAN encapsulated messages are obtained in the VXLAN encapsulated messages
Corresponding VXLAN_ID, and the VXLAN encapsulated messages are sealed off, obtain original PPPOE reports
Text;Content in code CODE fields in the heading of original PPPOE messages is moved to type TYPE
In field, and recorded in CODE fields with the VXLAN_ID be preset with corresponding relation and as mark
The VXLAN network identifier VNI of knowledge information, generate PPPOE messages.
11. devices according to claim 10, it is characterised in that the determining module specifically for,
The corresponding relation of VNI in heading and default VNI according to PPPOE messages and VXLAN_ID,
Obtain the VXLAN_ID in the descending VXLAN tunnels for sending the message to be forwarded;According to obtaining
The VXLAN_ID in descending VXLAN tunnels, it is determined that sending the descending VXLAN tunnels of the message to be forwarded
Road.
12. device according to claim 8 or 10, it is characterised in that described device also includes:Envelope
Die-filling piece, for the PPPOE messages to be reduced into original PPPOE messages, and according to described descending
The VXLAN_ID in VXLAN tunnels, tunnel encapsulation is carried out to the original PPPOE messages, is then triggered
Sending module.
13. a kind of convergence switches, positioned at data center side, it is characterised in that the convergence switch includes
The device of the message transmissions as described in any one of claim 7~12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510983332.0A CN106921592B (en) | 2015-12-24 | 2015-12-24 | A kind of method, apparatus and convergence switch of message transmissions |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510983332.0A CN106921592B (en) | 2015-12-24 | 2015-12-24 | A kind of method, apparatus and convergence switch of message transmissions |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106921592A true CN106921592A (en) | 2017-07-04 |
CN106921592B CN106921592B (en) | 2019-08-13 |
Family
ID=59459786
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510983332.0A Active CN106921592B (en) | 2015-12-24 | 2015-12-24 | A kind of method, apparatus and convergence switch of message transmissions |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106921592B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104104747A (en) * | 2014-07-28 | 2014-10-15 | 杭州华三通信技术有限公司 | Method and device for message transmission |
WO2015018323A1 (en) * | 2013-08-05 | 2015-02-12 | Huawei Technologies Co., Ltd. | Method for packet tunneling through software defined network, method of intelligently controlling flow of a packet through software defined network and system |
CN104767666A (en) * | 2015-04-15 | 2015-07-08 | 杭州华三通信技术有限公司 | Virtual extensible local area network tunnel terminal tunnel building method and equipment |
-
2015
- 2015-12-24 CN CN201510983332.0A patent/CN106921592B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015018323A1 (en) * | 2013-08-05 | 2015-02-12 | Huawei Technologies Co., Ltd. | Method for packet tunneling through software defined network, method of intelligently controlling flow of a packet through software defined network and system |
CN104104747A (en) * | 2014-07-28 | 2014-10-15 | 杭州华三通信技术有限公司 | Method and device for message transmission |
CN104767666A (en) * | 2015-04-15 | 2015-07-08 | 杭州华三通信技术有限公司 | Virtual extensible local area network tunnel terminal tunnel building method and equipment |
Non-Patent Citations (1)
Title |
---|
孙铭浩: ""VXLAN隧道的设计与实现"", 《哈尔滨工业大学硕士学位论文》 * |
Also Published As
Publication number | Publication date |
---|---|
CN106921592B (en) | 2019-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104780088B (en) | A kind of transmission method and equipment of service message | |
CN104954218B (en) | Distributed virtual switch and retransmission method | |
CN103095546B (en) | A kind of method, device and data center network processing message | |
WO2018059496A1 (en) | Method and apparatus for encapsulating /decapsulating data packets at a radio access node | |
CN1943190B (en) | Flooding suppression method | |
CN103888386B (en) | The transmission method and device, system of expansible virtual local area network packet | |
CN103795636B (en) | Multicast processing method, device and system | |
CN104702479B (en) | The method and apparatus that tunnel is established in SDN network | |
CN103404084B (en) | MAC Address forces retransmission unit and method | |
CN105827495B (en) | The message forwarding method and equipment of VXLAN gateway | |
CN104486103B (en) | A kind of method and apparatus of message transmissions | |
CN106685826B (en) | Switchboard stacked system, from equipment, exchange chip and processing protocol message method | |
CN110417840A (en) | A kind of information processing method and device | |
CN105634901B (en) | Mac address information synchronous method and device based on CAS VXLAN | |
CN106899478B (en) | Method for realizing resource elastic expansion of power test service through cloud platform | |
CN105515992A (en) | Method and device for processing flow table items of VXLAN network | |
CN109617995A (en) | To management system, method and the electronic equipment of tenant's cluster VPC internal container | |
CN107645431A (en) | Message forwarding method and device | |
CN106911547B (en) | Message forwarding method and device | |
CN104521220A (en) | Method and device for message processing | |
CN107770010A (en) | A kind of home intranet method and home networking system based on OpenFlow | |
CN112631726A (en) | Virtual machine data processing method, system, equipment and medium | |
CN109412925A (en) | Forwarding-table item update method and VTEP based on VTEP | |
CN104601561B (en) | Register method, registration equipment and the domestic network system of network | |
CN107896188A (en) | Data forwarding method and device |
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 |