CN106789655A - The sending method and device of a kind of advertising of route message - Google Patents

The sending method and device of a kind of advertising of route message Download PDF

Info

Publication number
CN106789655A
CN106789655A CN201611067357.7A CN201611067357A CN106789655A CN 106789655 A CN106789655 A CN 106789655A CN 201611067357 A CN201611067357 A CN 201611067357A CN 106789655 A CN106789655 A CN 106789655A
Authority
CN
China
Prior art keywords
vlan
message
route
advertising
main frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611067357.7A
Other languages
Chinese (zh)
Other versions
CN106789655B (en
Inventor
罗琳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201611067357.7A priority Critical patent/CN106789655B/en
Publication of CN106789655A publication Critical patent/CN106789655A/en
Application granted granted Critical
Publication of CN106789655B publication Critical patent/CN106789655B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/16Multipoint routing

Landscapes

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

Abstract

The sending method and device of a kind of advertising of route message are the embodiment of the invention provides, the method is applied to gateway device, including:The route requests message that Receiving Host sends;The specified virtual LAN VLAN belonging to the main frame is determined according to the route requests message;The broadcast notification packet in the assigned vlan.It is heavy so as to solve the problems, such as existing gateway equipment the give out a contract for a project task existing when RA messages are sent by the embodiment of the present invention, it is possible to reduce the burden of giving out a contract for a project of gateway device RA messages in fuzzy terminating network.

Description

The sending method and device of a kind of advertising of route message
Technical field
The present invention relates to technical field of the computer network, more particularly to a kind of sending method and of advertising of route message Plant the dispensing device of advertising of route message.
Background technology
With the fast development of computer networking technology, main frame can be by the advertising of route transmitted by gateway device (Router Advertise, RA) message learns to (the Internet Protocol of internet protocol version in network 6 Version 6, IPv6) gateway address, such as change IPv6 parameters and IPv6 addresses are automatically generated according to the prefix of RA messages, Realize Address Autoconfiguration.
Generally, the RA messages in IPv6 networks are the notice reports that gateway device sends to the stateless address main frame for accessing Text, and be that fixed time broadcast sends.When there is newly-increased main frame on network, newly-increased main frame would generally send route to gateway device please (Router Solicitation, RS) message is sought, RA messages are responded to trigger gateway device.To avoid multiple newly-increased main frames all The RA messages are needed, gateway device is not directly to respond RA messages, but the adjustment broadcast RA messages next transmission time, from And ensure that All hosts can as early as possible receive RA messages on network.
VLAN terminations refer to the message to receiving, and VLAN tag (Tag) information matches carried according to message are corresponding After interface, message VLAN Tag are removed, then message is carried out into three layers of forwarding or other Business Processings are transferred to.Fuzzy termination refers to, Being configured with the interface of VLAN terminations only allows to receive vlan identifier (Identifier, ID) message within the specified range, no The VLAN messages for belonging to the scope are not allowed then by the interface.At present, in the network of fuzzy termination, all of broadcasting packet Need to replicate concurrent in each Virtual Local Area Network (Virtual Local Area Network, VLAN) within the specified range Send.By taking the fuzzy terminations of the QINQ with two-layer VLAN Tag messages as an example, if the scope of the outside VLAN Tag for specifying is VLAN 300 arrive VLAN500, and the scope of the inner VLAN Tag for specifying is VLAN 1 to VLAN 4094, then need when such as router (201*4094-1) individual broadcasting packet is sent Deng gateway device, positioned at outside VLAN 500, the master of the subnet of inner VLAN 4094 Machine can just receive message and respond.
Obviously, current gateway device sends RA messages, it is necessary to according to ectonexine VLAN Tag's under the networking of fuzzy termination Scope encapsulated message, is broadcasted in whole networking, therefore the copies of message is huge, and task of giving out a contract for a project is heavy, causes VLAN numberings main frame rearward needs wait to be lot more time to receive RA messages.
The content of the invention
The embodiment of the present invention provides a kind of sending method of advertising of route message with a kind of corresponding advertising of route message Dispensing device, to solve under the networking of fuzzy termination, existing gateway equipment the give out a contract for a project task existing when RA messages are sent is heavy Problem.
In order to solve the above problems, the embodiment of the invention discloses a kind of sending method of advertising of route message, the side Method is applied to gateway device, including:
The route requests message that Receiving Host sends;
The specified virtual LAN VLAN belonging to the main frame is determined according to the route requests message;
The broadcast notification packet in the assigned vlan.
Alternatively, when receiving the route requests message, methods described also includes:
The VLAN scopes of termination are obscured according to the VLAN configured on specified interface, the duplication time of advertising of route message is determined Number, wherein, the specified interface is the interface for receiving the route requests message;
When the number of copy times exceedes limit value, execution determines the finger belonging to the main frame according to the route requests message The step of determining virtual LAN VLAN.
Alternatively, the specified virtual LAN VLAN determined according to the route requests message belonging to the main frame, Including:
VLAN tag Tag to being carried in the route requests message is parsed, and determines specifying belonging to the main frame VLAN。
Alternatively, methods described also includes:
Record the VLAN Tag carried in the route requests message, and the VLAN Tag of record are stored to specifying connect The vlan list of mouth;
When timing sends advertising of route message, according to the VLAN Tag in the vlan list, the route is broadcasted logical Accuse message.
Alternatively, the VLAN Tag according in the vlan list, broadcast the advertising of route message, including:
Using the VLAN Tag in the vlan list, it is determined that the message amount that timing sends;
The advertising of route message is replicated according to the message amount, and is broadcasted.
The embodiment of the invention also discloses a kind of dispensing device of advertising of route message, described device is applied to gateway device In, including:
Route requests receiver module, the route requests message for receiving main frame transmission;
VLAN determining module, it is specified virtual belonging to the main frame for determining according to the route requests message LAN VLAN;
Advertising of route broadcast module, for the broadcast notification packet in the assigned vlan.
Alternatively, described device also includes:
Number of copy times determining module, for obscuring the VLAN scopes of termination according to the VLAN configured on specified interface, really Determine the number of copy times of advertising of route message, wherein, the specified interface is the interface for receiving the route requests message;
Trigger module, when exceeding limit value for the number of copy times, triggers the VLAN determining module and performs The step of determining the specified virtual LAN VLAN belonging to the main frame according to the route requests message.
Alternatively, the VLAN determining module, specifically for the VLAN to being carried in the route requests message Label Tag is parsed, and determines the assigned vlan belonging to the main frame.
Alternatively, also include:
Logging modle, for recording the VLAN Tag carried in the route requests message, and the VLAN that will be recorded Tag is stored to the vlan list of the specified interface;
Timing sending module, for when timing sends advertising of route message, according to the LAN in the vlan list Tag, broadcasts the advertising of route message.
Alternatively, the timing sending module, specifically for using the VLAN Tag in the vlan list, it is determined that timing The message amount of transmission;And, the advertising of route message is replicated according to the message amount, and broadcast.
The embodiment of the present invention includes advantages below:
By the embodiment of the present invention, the gateway device under the networking of fuzzy termination can be not directed through to fuzzy termination VLAN carries out traversal and sends RA messages, and foundation transmission RS messages determine the assigned vlan belonging to main frame, with assigned vlan Broadcast RA messages so that each main frame for belonging to the assigned vlan can quickly receive RA messages, it is to avoid insignificant VLAN Traversal, RA messages are replicated to send and expend central processing unit (Central Processing Unit, CPU) and Internet resources, so that The burden of giving out a contract for a project of the gateway devices such as router RA messages in fuzzy terminating network can be reduced, that is, solves existing gateway The heavy problem of equipment the give out a contract for a project task existing when RA messages are sent.
Brief description of the drawings
The step of Fig. 1 is a kind of sending method embodiment of advertising of route message of the invention flow chart;
The step of Fig. 2 is a kind of sending method alternative embodiment of advertising of route message of the invention flow chart;
Fig. 3 A are a kind of structured flowcharts of the dispensing device embodiment of advertising of route message of the invention;
Fig. 3 B are a kind of structured flowcharts of the dispensing device alternative embodiment of advertising of route message of the invention.
Specific embodiment
It is below in conjunction with the accompanying drawings and specific real to enable the above objects, features and advantages of the present invention more obvious understandable The present invention is further detailed explanation to apply mode.
In actual treatment, the inventors found that the gateway device of existing fuzzy termination group network system is sent out in broadcast , it is necessary to be traveled through and sent RA messages to termination VLAN when sending RA messages, there is insignificant VLAN traversals, RA messages and replicate The situation of transmission.
In embodiments of the present invention, gateway device can be not directed through to fuzzy termination under the networking of fuzzy termination VLAN carries out traversal and sends RA messages, and determines assigned vlan according to the RS messages for receiving, and in the assigned vlan extensively Advertising of route message is broadcast, CPU and Internet resources is expended such that it is able to avoid insignificant VLAN traversals, RA messages from replicating to send, And ensure that the main frame that have sent RS messages can quickly receive RA messages.
Reference picture 1, flow chart the step of show a kind of sending method embodiment of advertising of route message of the invention.Should Method for sending information specifically can apply in the gateway device of fuzzy termination group network system, specifically may include steps of:
Step 102, receives the route requests message of main frame transmission.
In the embodiment of the present invention, gateway device broadcast transmission RA messages, so that each main frame can be according to the RA messages IPv6 addresses are automatically generated, the purpose of Address Autoconfiguration is reached.For example, under the networking of fuzzy termination, main frame can be by hair RS messages, triggering gateway device is sent to produce RA messages rapidly.
Step 104, the specified virtual LAN VLAN belonging to the main frame is determined according to the route requests message.
In embodiments of the present invention, RS messages carry VLAN Tag, to VLAN Tag parsing i.e. can determine that corresponding VLAN, That is assigned vlan.
Step 106, the broadcast notification packet in the assigned vlan.
The interface for receiving the RS messages can be defined as specified interface by gateway device when RS messages are received, and then Can be by the specified interface, the broadcast notification packet in assigned vlan is sent out to each main frame for belonging to the assigned vlan RA messages are sent, such that it is able to avoid insignificant VLAN traversals, RA messages from replicating and send the situation for expending CPU and Internet resources, The main frame that guarantee have sent RS messages can quickly receive the RA messages;And cause that other main frames for belonging to the assigned vlan need not Transmission RS messages can just get the RA messages transmitted by the gateway device, realize that address is matched somebody with somebody automatically with according to the RA messages Put.
In an example of the invention, in IPV6 networks, when the mould configured on the above-mentioned specified interface of gateway device It is internal layer from 300 to 500 to paste the VLAN scopes of termination, and outer layer is then 300 internal layer is belonged to from 1 to 4094, and outer layer is 500 When VLAN host As initiate RS messages, the VLAN Tag of carrying can determine in the RS messages that gateway device sends according to the host A VLAN, i.e. assigned vlan (internal layer is the VLAN that 300, outer layer is 500) belonging to host A, gateway device directly can refer to this Determine VLAN and respond RA broadcasting packets, without traveling through the ectonexine VLAN (201*4094) configured on the specified interface, replicating RA broadcasting packets send in each VLAN, are quickly rung such that it is able to the RS messages to main frame under the fuzzy termination networking Should.
The embodiment of the present invention to obscuring termination networking under the sending method of RA messages optimize, it is to avoid meaningless duplication Send RA messages and expend CPU and Internet resources, so as to reduce the gateway devices such as router RA in fuzzy terminating network The burden of giving out a contract for a project of message, that is, solve the problems, such as that existing gateway equipment the give out a contract for a project task existing when RA messages are sent is heavy, And the main frame of accessing gateway equipment can be enable to get RA messages faster.
In the networking of fuzzy termination, RA messages send can include following two situations:A kind of situation is set as gateway For when it is router interface to configure specified interface, RA messages can be sent by the timing of enabled router function;Another feelings Condition is gateway device when the RS messages that main frame sends are received by specified interface, and the RS messages are responded, and sends RA Message.Wherein, specified interface can include three layer interfaces on the network equipment, VLAN can be configured under the specified interface fuzzy eventually Knot and VLAN obscure the scope of termination.
Reference picture 2, flow the step of show a kind of sending method alternative embodiment of advertising of route message of the invention Figure, specifically may comprise steps of:
Step 202, receives the route requests message of main frame transmission.
In an alternate embodiment of the present invention where, when the route requests message is received, methods described also includes: The VLAN scopes of termination are obscured according to the VLAN configured on specified interface, the number of copy times of advertising of route message is determined, wherein, institute It is the interface for receiving the route requests message to state specified interface;When the number of copy times exceedes limit value, perform according to described The step of route requests message determines the specified virtual LAN VLAN belonging to the main frame.
In the embodiment of the present invention, gateway device can receive the route requests report when route requests message is received The interface of text is defined as specified interface.Specifically, when the interface of gateway device is configured to router interface, gateway device can lead to Cross the RS messages of interface main frame transmission, it is also possible to which the VLAN narrowcasts RA configured over that interface by the interface is reported Text.For example, gateway device can obscure the VLAN scopes of termination according to the VLAN configured on the specified interface, advertising of route is determined The corresponding number of copy times of message;Detect whether the number of copy times exceedes default limit value;If number of copy times exceedes limit value, The step that the VLAN Tag carried according to route requests message determine assigned vlan can be performed before advertising of route message is sent Suddenly, that is, step 204 is performed, CPU and Internet resources is expended to avoid insignificant VLAN traversals, RA messages from replicating to send, so that Can ensure that main frame can quickly receive RA messages.Optionally, if the number of copy times is not less than limit value, can be wide by adjustment Broadcast the transmission time next time of RA messages so that each main frame that VLAN obscures in the range of the VLAN of termination can as soon as possible receive RA Message;Step 204 can also be performed, to reduce the burden of giving out a contract for a project of gateway device RA messages in fuzzy terminating network, the present invention Embodiment is not specifically limited to this.
Used as a specific example of the invention, gateway device can be router interface in the interface of just configuration equipment When, using the interface as specified interface, obtain the corresponding each layer VLAN scopes of the specified interface;Then each layer VLAN scopes are entered Row is calculated, and determines the transmission times of the specified interface broadcasting packet, such that it is able to using the transmission times as number of copy times, with By detect the number of copy times whether exceed default limits value come determine whether enter preset fuzzy termination RA packet optimizations Sending mode.After fuzzy termination RA packet optimization sending modes are entered, gateway device, can when route requests message is received To perform step 204.Wherein, limits value can be configured according to the performance parameter of gateway device, to ensure that gateway device can Quick response is carried out with the RS messages to main frame under the fuzzy termination networking, 255 are such as could be arranged to, the embodiment of the present invention is to this It is not specifically limited.
Step 204, the VLAN Tag to being carried in the route requests message are parsed, and are determined belonging to the main frame Assigned vlan.
Specifically, RS messages can carry VLAN Tag.Gateway device is solved after the RS messages for receiving main frame transmission The corresponding VLAN Tag of the main frame are separated out, such that it is able to determine to send the finger belonging to the main frame of the RS messages using the VLAN Tag Determine VLAN.If for example, the value that the RS messages sent from host A extract inner VLAN Tag is 300, the value of outside VLAN Tag It is 500, then internal layer can be 300 by gateway device, outer layer is the 500 VLAN VLAN that are defined as belonging to host A, and as referring to Determine VLAN.
It should be noted that the embodiment of the present invention determines whether that entering fuzzy termination RA packet optimizations sends to gateway device Execution opportunity the step of pattern is not restricted, and such as gateway device can also be when RS messages be received, by calculating specified interface The VLAN scopes of broadcast transmission obscure termination RA packet optimization sending modes to determine the need for entering.
In a preferred embodiment of the invention, gateway device can be according to the corresponding VLAN models of the specified interface Enclose, determine the corresponding number of copy times of advertising of route message, can specifically include:Obtain the corresponding each layer VLAN of the specified interface Scope, and calculating each layer VLAN scopes, determines the transmission times of the specified interface broadcasting packet, and then can be by The transmission times is used as the number of copy times.
For example, gateway device can determine the RA that the specified interface is broadcasted by calculating the product of each layer VLAN scopes The transmission times of message, and the transmission times as number of copy times can be replicated RA messages with according to the number of copy times, from And the RA messages can be sent to the main frame for needing the RA messages.Specifically, gateway device need to be answered in calculating broadcast RA messages During the number of times of system, inner VLAN scope and outside VLAN scope that fuzzy termination sends can be obtained, and can be by internal layer VLAN scopes are defined as the number of copy times of RA messages with the product (VLAN scope * outside VLANs scope) of outside VLAN scope.
Step 206, the broadcast notification packet in the assigned vlan.
In a preferred embodiment of the invention, the sending method of the advertising of route message can also include:Record institute The VLAN Tag carried in route requests message are stated, and the VLAN that the VLAN Tag of record are stored to the specified interface is arranged Table;So as to when timing sends advertising of route message, the route can be broadcasted according to the VLAN Tag in the vlan list Notification packet.
In the embodiment of the present invention, alternatively, gateway device, can be using described when timing sends advertising of route message VLAN Tag in vlan list, it is determined that the message amount that timing sends;And, it is logical to the route according to the message amount Accuse message to be replicated, and broadcast.Specifically, gateway device can be recorded to the VLAN Tag for parsing, Yi Jike Stored to the vlan list of the specified interface with by the VLAN Tag of record, such that it is able to send advertising of route message in timing When, based on the VLAN Tag recorded in the vlan list, determine the corresponding fixed time broadcast scope of advertising of route message;And then can With the message amount sent based on fixed time broadcast range computation timing, and route notification packet is entered according to the message amount Row is replicated, and the advertising of route message that can be replicated by broadcast transmission.
For example, when the VLAN scopes that interface obscures termination are internal layer 300-500, outer layer scope 1-4094, the present invention is implemented The gateway device of example can evade conventional network equipment, and directly the fuzzy termination of traversal sends, i.e., need not travel through ectonexine VLAN (201*4094) sends advertising of route message, but initiates RS requests in host A (inner VLAN 400, outside VLAN 500) When, advertising of route message is responded in assigned vlan (inner VLAN 400, outside VLAN 500), and by the VLAN of assigned vlan Tag is recorded in vlan list, that is, gateway device receives the RS reports of host request under RA packet optimization sending modes Text, can respond broadcast RA messages by the VLAN where main frame immediately;And the VLAN Tag records that can be carried RS messages exist Vlan list, subsequently just regularly can send advertising of route message, such as in timing mode to the main frame in the assigned vlan list During transmission, the VLAN recorded in the vlan list of specified interface can be traveled through, and replicate transmission broadcast RA messages.
By the embodiment of the present invention, gateway device is receiving the RS messages of main frame, can be by the corresponding VLAN of main frame TAG is recorded, and broadcast RA messages are responded in assigned vlan, so as to ensure that main frame can quickly receive RA messages, and And cause that other main frames of the affiliated VLAN of the main frame just obtain configuration of routers without RS is sent.As the master of difference VLAN under interface After machine is persistently reached the standard grade, gateway device arranges the corresponding VLAN TAG records main frame VLAN under specified interface of the affiliated VLAN of each main frame Table, such that it is able to when clocked flip broadcast RA sends, directly use the VLAN TAG that are preserved of vlan list of specified interface Traversal is replicated and sends broadcast RA.Wherein, the vlan list can be saved in file, and gateway device can be fast when being easy to system reboot Main frame vlan list before speed acquisition.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it to be all expressed as a series of action group Close, but those skilled in the art should know, and the embodiment of the present invention is not limited by described sequence of movement, because according to According to the embodiment of the present invention, some steps can sequentially or simultaneously be carried out using other.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, the involved action not necessarily present invention is implemented Necessary to example.
Reference picture 3A, shows a kind of structured flowchart of the dispensing device embodiment of advertising of route message of the invention.Should Information transmitting apparatus specifically can apply in gateway device, can specifically include such as lower module:
Route requests receiver module 302, the route requests message for receiving main frame transmission.
VLAN determining module 304, for determining specifying belonging to the main frame according to the route requests message Virtual LAN VLAN.
Advertising of route broadcast module 306, for the broadcast notification packet in the assigned vlan.
Reference picture 3B, shows a kind of structured flowchart of the dispensing device embodiment of advertising of route message of the invention.
In a preferred embodiment of the invention, the dispensing device of the advertising of route message can also include following mould Block:
Number of copy times determining module 308, the VLAN for being configured on foundation specified interface obscures the VLAN scopes of termination, Determine the number of copy times of advertising of route message, wherein, the specified interface is the interface for receiving the route requests message.
Trigger module 310, when exceeding limit value for the number of copy times, triggers the VLAN determining module 304 perform the step of determining the specified virtual LAN VLAN belonging to the main frame according to the route requests message.
In a preferred embodiment of the invention, the number of copy times determining module 308, specifically can be used for obtaining institute The corresponding each layer VLAN scopes of specified interface are stated, and each layer VLAN scopes are calculated, determine the specified interface broadcast The transmission times of message, and using the transmission times as the number of copy times.
In a preferred embodiment of the invention, the VLAN determining module 304, specifically for the road Parsed by the VLAN Tag carried in request message, determined the assigned vlan belonging to the main frame.For example, VLAN Determining module 304, specifically can be used for obtaining the corresponding VLAN TAG of newly-increased main frame from route requests message;And based on institute VLAN TAG are stated, the assigned vlan belonging to the newly-increased main frame is determined.
In a preferred embodiment of the invention, the dispensing device of the advertising of route message can also include logging modle 312 and timing sending module 314.
Logging modle 312, for recording the VLAN Tag carried in the route requests message, and the VLAN that will be recorded Tag is stored to the vlan list of the specified interface.
Timing sending module 314, for when timing sends advertising of route message, according to the LAN in the vlan list Tag, broadcasts the advertising of route message.
Optionally, the timing sending module 314, specifically for when timing sends advertising of route message, using described LAN Tag in vlan list, it is determined that the message amount that timing sends;And, it is logical to the route according to the message amount Accuse message to be replicated, and broadcast.For example, gateway device can be when route requests message be responded, by calling logging modle 312, the VLAN TAG that the route requests message is carried are recorded, and the VLAN TAG are stored to stating specified interface In vlan list, so as to when calling the timing of timing sending module 314 to send advertising of route message, be arranged according to the VLAN LAN Tag in table, it is determined that the message amount that timing sends;And, according to the message amount to the advertising of route message Replicated, and broadcast transmission.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related Part is illustrated referring to the part of embodiment of the method.
Each embodiment in this specification is described by the way of progressive, what each embodiment was stressed be with The difference of other embodiment, between each embodiment identical similar part mutually referring to.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can be provided as method, device or calculate Machine program product.Therefore, the embodiment of the present invention can using complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.And, the embodiment of the present invention can using wherein include computer at one or more can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention is with reference to method according to embodiments of the present invention, terminal device (system) and computer program The flow chart and/or block diagram of product is described.It should be understood that flow chart and/or block diagram can be realized by computer program instructions In each flow and/or flow and/or square frame in square frame and flow chart and/or block diagram combination.These can be provided Computer program instructions set to all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is producing a machine so that held by the processor of computer or other programmable data processing terminal equipments Capable instruction is produced for realizing in one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames The device of the function of specifying.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing terminal equipments In the computer-readable memory for working in a specific way so that instruction of the storage in the computer-readable memory produces bag The manufacture of command device is included, the command device is realized in one flow of flow chart or multiple one side of flow and/or block diagram The function of being specified in frame or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments so that Series of operation steps is performed on computer or other programmable terminal equipments to produce computer implemented treatment, so that The instruction performed on computer or other programmable terminal equipments is provided for realizing in one flow of flow chart or multiple flows And/or specified in one square frame of block diagram or multiple square frame function the step of.
Although having been described for the preferred embodiment of the embodiment of the present invention, those skilled in the art once know base This creative concept, then can make other change and modification to these embodiments.So, appended claims are intended to be construed to Including preferred embodiment and fall into having altered and changing for range of embodiment of the invention.
Finally, in addition it is also necessary to explanation, herein, such as first and second or the like relational terms be used merely to by One entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operation Between there is any this actual relation or order.And, term " including ", "comprising" or its any other variant meaning Covering including for nonexcludability, so that process, method, article or terminal device including a series of key elements are not only wrapped Those key elements, but also other key elements including being not expressly set out are included, or also includes being this process, method, article Or the intrinsic key element of terminal device.In the absence of more restrictions, by wanting that sentence "including a ..." is limited Element, it is not excluded that also there is other identical element in the process including the key element, method, article or terminal device.
Sending method above to a kind of advertising of route message provided by the present invention and a kind of hair of advertising of route message Device is sent, is described in detail, specific case used herein is set forth to principle of the invention and implementation method, The explanation of above example is only intended to help and understands the method for the present invention and its core concept;Simultaneously for the one of this area As technical staff, according to thought of the invention, will change in specific embodiments and applications, to sum up institute State, this specification content should not be construed as limiting the invention.

Claims (10)

1. a kind of sending method of advertising of route message, it is characterised in that methods described is applied to gateway device, including:
The route requests message that Receiving Host sends;
The specified virtual LAN VLAN belonging to the main frame is determined according to the route requests message;
The broadcast notification packet in the assigned vlan.
2. method according to claim 1, it is characterised in that when receiving the route requests message, methods described is also Including:
The VLAN scopes of termination are obscured according to the VLAN configured on specified interface, the number of copy times of advertising of route message is determined, its In, the specified interface is the interface for receiving the route requests message;
When the number of copy times exceedes limit value, execution determines the specified void belonging to the main frame according to the route requests message The step of intending LAN VLAN.
3. method according to claim 1 and 2, it is characterised in that it is described determine according to the route requests message it is described Specified virtual LAN VLAN belonging to main frame, including:
VLAN tag Tag to being carried in the route requests message is parsed, and determines the assigned vlan belonging to the main frame.
4. method according to claim 3, it is characterised in that methods described also includes:
The VLAN Tag carried in the route requests message are recorded, and the VLAN Tag of record are stored to specified interface Vlan list;
When timing sends advertising of route message, according to the VLAN Tag in the vlan list, the advertising of route report is broadcasted Text.
5. method according to claim 4, it is characterised in that the VLAN Tag according in the vlan list, extensively The advertising of route message is broadcast, including:
Using the VLAN Tag in the vlan list, it is determined that the message amount that timing sends;
The advertising of route message is replicated according to the message amount, and is broadcasted.
6. a kind of dispensing device of advertising of route message, it is characterised in that described device is applied in gateway device, including:
Route requests receiver module, the route requests message for receiving main frame transmission;
VLAN determining module, for determining the specified virtual local area belonging to the main frame according to the route requests message Net VLAN;
Advertising of route broadcast module, for the broadcast notification packet in the assigned vlan.
7. device according to claim 6, it is characterised in that described device also includes:
Number of copy times determining module, for obscuring the VLAN scopes of termination according to the VLAN configured on specified interface, determines road By the number of copy times of notification packet, wherein, the specified interface is the interface for receiving the route requests message;
Trigger module, when exceeding limit value for the number of copy times, triggers the VLAN determining module and performs foundation The step of route requests message determines the specified virtual LAN VLAN belonging to the main frame.
8. the device according to claim 6 or 7, it is characterised in that the VLAN determining module, specifically for right The VLAN tag Tag carried in the route requests message is parsed, and determines the assigned vlan belonging to the main frame.
9. device according to claim 7, it is characterised in that also include:
Logging modle, for recording the VLAN Tag carried in the route requests message, and the VLAN Tag of record is deposited Store up to the vlan list of the specified interface;
Timing sending module, for when timing sends advertising of route message, according to the LAN Tag in the vlan list, extensively Broadcast the advertising of route message.
10. device according to claim 9, it is characterised in that the timing sending module, specifically for using described VLAN Tag in vlan list, it is determined that the message amount that timing sends;And, it is logical to the route according to the message amount Accuse message to be replicated, and broadcast.
CN201611067357.7A 2016-11-28 2016-11-28 Method and device for sending route announcement message Active CN106789655B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611067357.7A CN106789655B (en) 2016-11-28 2016-11-28 Method and device for sending route announcement message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611067357.7A CN106789655B (en) 2016-11-28 2016-11-28 Method and device for sending route announcement message

Publications (2)

Publication Number Publication Date
CN106789655A true CN106789655A (en) 2017-05-31
CN106789655B CN106789655B (en) 2020-09-25

Family

ID=58902383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611067357.7A Active CN106789655B (en) 2016-11-28 2016-11-28 Method and device for sending route announcement message

Country Status (1)

Country Link
CN (1) CN106789655B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547286A (en) * 2017-09-25 2018-01-05 新华三技术有限公司 The generation method and device of ARP table
CN109327558A (en) * 2018-10-30 2019-02-12 新华三技术有限公司合肥分公司 Address management method and device
EP4027688A4 (en) * 2019-09-27 2022-10-26 Huawei Technologies Co., Ltd. Communication method, apparatus, device and system, and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100290474A1 (en) * 2009-05-14 2010-11-18 Futurewei Technologies, Inc. Multiple Prefix Connections with Translated Virtual Local Area Network
CN102223279A (en) * 2011-06-14 2011-10-19 杭州华三通信技术有限公司 Method for processing multi-VLAN (virtual local area network) and nodes
CN102611952A (en) * 2012-03-29 2012-07-25 杭州华三通信技术有限公司 Method and device for realizing port consultation between fabric channel over Ethernet (FCoE) forwarders
CN102694752A (en) * 2011-03-21 2012-09-26 国基电子(上海)有限公司 Gateway equipment
CN102694664A (en) * 2011-03-25 2012-09-26 华为技术有限公司 Multicast method and multicast equipment
CN102857587A (en) * 2012-08-17 2013-01-02 福建三元达通讯股份有限公司 Method and system for sharing dynamic address pool in multi-virtual local area network (VLAN) environment
CN103200470A (en) * 2013-04-07 2013-07-10 潍坊学院 Issuing device and method of Gb passive optical network system multicasting service

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100290474A1 (en) * 2009-05-14 2010-11-18 Futurewei Technologies, Inc. Multiple Prefix Connections with Translated Virtual Local Area Network
CN102694752A (en) * 2011-03-21 2012-09-26 国基电子(上海)有限公司 Gateway equipment
CN102694664A (en) * 2011-03-25 2012-09-26 华为技术有限公司 Multicast method and multicast equipment
CN102223279A (en) * 2011-06-14 2011-10-19 杭州华三通信技术有限公司 Method for processing multi-VLAN (virtual local area network) and nodes
CN102611952A (en) * 2012-03-29 2012-07-25 杭州华三通信技术有限公司 Method and device for realizing port consultation between fabric channel over Ethernet (FCoE) forwarders
CN102857587A (en) * 2012-08-17 2013-01-02 福建三元达通讯股份有限公司 Method and system for sharing dynamic address pool in multi-virtual local area network (VLAN) environment
CN103200470A (en) * 2013-04-07 2013-07-10 潍坊学院 Issuing device and method of Gb passive optical network system multicasting service

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547286A (en) * 2017-09-25 2018-01-05 新华三技术有限公司 The generation method and device of ARP table
CN107547286B (en) * 2017-09-25 2020-10-09 新华三技术有限公司 Method and device for generating Address Resolution Protocol (ARP) table
CN109327558A (en) * 2018-10-30 2019-02-12 新华三技术有限公司合肥分公司 Address management method and device
EP4027688A4 (en) * 2019-09-27 2022-10-26 Huawei Technologies Co., Ltd. Communication method, apparatus, device and system, and medium

Also Published As

Publication number Publication date
CN106789655B (en) 2020-09-25

Similar Documents

Publication Publication Date Title
CN109640348B (en) Multi-service MEC network architecture, and method and device for processing multi-service data stream
CN110247784B (en) Method and device for determining network topology structure
US9130859B1 (en) Methods and apparatus for inter-virtual local area network multicast services
CN110647698B (en) Page loading method and device, electronic equipment and readable storage medium
US9998298B2 (en) Data transmission method, apparatus, and computer storage medium
EP3197107A1 (en) Message transmission method and apparatus
CN109039775A (en) Quality of service monitoring method, apparatus and system
WO2017075781A1 (en) Method, apparatus, and system for processing data packets
CN109787992A (en) A kind of method and apparatus by view networking access private network
CN106789655A (en) The sending method and device of a kind of advertising of route message
CN103401946A (en) HTTP (hyper text transfer protocol) uploading acceleration method and system
CN108270878A (en) Method, the VTEP equipment of ARP messages are sent in VXLAN
CN110493366A (en) The method and device of network management is added in a kind of access point
CN108809769B (en) Method for detecting IPv6 liveness and electronic equipment
CN109617830A (en) A kind of method and apparatus regarding real time demonstration business in networking
EP3018883A1 (en) Login method and system for client unit
CN109857419B (en) Method and device for automatically upgrading scheduling system
US7548966B2 (en) Multi-layer user management method for multicasting proxy
CN116319301A (en) Resource management method and system suitable for multi-mode network
CN105827588B (en) A kind of stream medium data dissemination system based on network driver layer
CN110557372B (en) Data acquisition method and system
CN104734960B (en) A kind of message processing method and controller equiment
CN105553852A (en) Information processing method and apparatus, electronic device and management platform
US20200274847A1 (en) Access device for analysis of physical links and method thereof
CN111314489A (en) Method, server and device for identifying type of access network

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