CN103731349A - Method for conducting Ethernet virtualized message transmission between interconnection neighbors and edge device - Google Patents

Method for conducting Ethernet virtualized message transmission between interconnection neighbors and edge device Download PDF

Info

Publication number
CN103731349A
CN103731349A CN201210392675.6A CN201210392675A CN103731349A CN 103731349 A CN103731349 A CN 103731349A CN 201210392675 A CN201210392675 A CN 201210392675A CN 103731349 A CN103731349 A CN 103731349A
Authority
CN
China
Prior art keywords
vlan
message
evi
edge device
mac address
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
CN201210392675.6A
Other languages
Chinese (zh)
Other versions
CN103731349B (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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201210392675.6A priority Critical patent/CN103731349B/en
Priority to PCT/CN2013/080987 priority patent/WO2014059814A1/en
Publication of CN103731349A publication Critical patent/CN103731349A/en
Application granted granted Critical
Publication of CN103731349B publication Critical patent/CN103731349B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • H04L12/4675Dynamic sharing of VLAN information amongst network nodes

Landscapes

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

Abstract

The invention discloses a method for conducting Ethernet virtualized message transmission between interconnection neighbors. The method comprises the steps that an MAC address of a host device in a local VLAN is annunciated to EVI neighbors where other VLANs are located by an edge device, wherein the EVI neighbors need to be communicated with the VLAN; when the MAC addresses annunciated by the EVI neighbors of other local host devices are received by the edge device, the MAC addresses are established to an MAC address transmitting table item corresponding to the host device, and message transmission is conducted according to the established MAC address transmitting table item. Based on the same inventive concept, the invention further provides the edge device sot that under the condition that the transformation of an existing network is reduced, cross-two-layer VLAN transmission between the EVI neighbors can be achieved.

Description

Message forwarding method and edge device between the virtual interconnected neighbours of a kind of Ethernet
Technical field
The application relates to communication technical field, particularly message forwarding method and edge device between a kind of Ethernet virtual interconnected (EVI) neighbours.
Background technology
In order to realize high reliability and redundant deployment, multiple physical site that are positioned at diverse geographic location have been crossed over by current most enterprises network and data center thereof, in the similar business of these site deployment, carry out double layer intercommunication between these websites.In order to realize resource dynamic allotment and the management between website, virtual machine is wanted between data center can free migration, because virtual machine (vm) migration process is to user transparent, can not change IP address, so it is interconnected to realize double layer network between the website that is distributed in strange land.
EVI is a kind of advanced person " MAC in IP " technology, for realizing Layer 2 virtual private network (L2VPN) technology based on IP kernel heart net.EVI just safeguards route and forwarding information on the edge device of website, and without changing website inside and core network.
EVI overall network is comprised of core network, station network, crossover network.Typical EVI network model as shown in Figure 1.Crossover network (Overlay Network) realizes the expansion of VLAN between different websites, mainly by overlapping interface and virtual link, formed, between carrying website, expand the two laminar flow amounts of VLAN, by Intermediate System to Intermediate System (IS-IS) agreement, between website, notice Media Access Controlled (MAC) the address reachability information of main frame and router, by EVI Neighbor Discovery Protocol (ENDP), realize the automatic discovery feature of website, the configuration management work of simplified network.
Different Virtual Local Area Network carries different business functions, need the website of expansion also different, thereby crossover network is supported many examples function.The traffic forwarding of different instances is isolated completely, and expansion VLAN can not be overlapping, and network of relation parameter that can the each example of separate configurations, as IS-IS time parameter etc.VPN of each case representation, carrys out unique identification with Network ID.Referring to Fig. 1, Fig. 1 is VPN instance structural representation.In Fig. 1, edge device 1, edge device 2, edge device 4 and with setting up VPN instance 1 between edge device 5, communication VLAN is 4000; Edge device 2, edge device 3 are with setting up VPN instance 2 between edge device 4, communication VLAN is 100-101; Edge device 1 is with setting up VPN instance 3 between edge device 4, communication VLAN is 50-80.
Through the automatic discovery procedure of neighbours, set up after the crossover network between edge device, in this crossover network, moved EVI Intermediate System-Intermediate System and notice unicast mac address reachability information.Once after having set up neighborhood and mutual MAC Address reachability information between edge device, just can be between website converting flow.
Therefore, realize while communicating by letter between EVI neighbours, must be identical at the VLAN of each edge device deploy, due to EVI website, inner VLAN may be used, the VLAN that site deployment is identical, need to, to the inner networking of existing each website, carry out larger transformation.
Summary of the invention
In view of this, the application provides message forwarding method and edge device between the virtual interconnected neighbours of a kind of Ethernet, can be in the situation that minimizing be transformed existing network, and realize two layers of VLAN of EVI neighbours' span and forward.
For solving the problems of the technologies described above, technical scheme of the present invention is achieved in that
Message forwarding method between the virtual interconnected EVI neighbours of a kind of Ethernet, is applied in the EVI networking that comprises multiple edge devices, between described multiple edge devices, sets up EVI neighborhood, and the method comprises:
Edge device by the MAC Address of main process equipment in native vlan notice to need to the EVI neighbours at other VLAN places of this VLAN intercommunication;
When this edge device receives the MAC Address of its local host equipment of EVI neighbor advertisement, be established to the forwarding-table item of the MAC Address of respective hosts equipment;
When this edge device receives the message of lower extension main process equipment transmission, the target MAC (Media Access Control) address carrying according to this message is searched in described mac address forwarding table item, in the time need being transmitted to EVI neighbours according to lookup result is definite, this message is carried out to EVI encapsulation and sends to corresponding EVI neighbours.
A kind of edge device, can be applicable in the virtual interconnected EVI networking of Ethernet, and the each edge device in described EVI networking is set up EVI neighborhood, and described edge device comprises: notification unit, receiving element, set up unit, search unit and transmitting element;
Described notification unit, for the MAC Address of native vlan main process equipment is noticed to need to the EVI neighbours at other VLAN places of this VLAN intercommunication;
Described receiving element, for receiving the MAC Address of its local host equipment of EVI neighbor advertisement; Receive the message of hanging main process equipment transmission under this edge device;
The described unit of setting up, while receiving the MAC Address of its local host equipment of EVI neighbor advertisement for described receiving element, is established to the forwarding-table item of the MAC Address of respective hosts equipment;
The described unit of searching, while hanging for receiving when described receiving element the message that main process equipment sends under this edge device, the target MAC (Media Access Control) address carrying according to this message is searched in setting up the described mac address forwarding table item of setting up unit described;
Described transmitting element, for when described in search unit and determine need be transmitted to EVI neighbours time according to lookup result, this message is carried out to EVI encapsulation and sends to corresponding EVI neighbours.
In sum, the application by edge device by the MAC Address of main process equipment in native vlan notice to need to the EVI neighbours at other VLAN places of this VLAN intercommunication; And according to EVI neighbours' notice, be established to the mac address forwarding table item of respective hosts equipment, and carry out the forwarding of message according to this mac address forwarding table item, can be in the situation that minimizing be transformed existing network, realize two layers of VLAN of EVI neighbours' span and forward.
Accompanying drawing explanation
Fig. 1 is VPN instance structural representation;
Fig. 2 is message forwarding method schematic flow sheet between EVI neighbours in the embodiment of the present invention;
Fig. 3 is EVI networking structure schematic diagram in the specific embodiment of the invention;
Fig. 4 is the edge device structural representation that is applied to message repeating between EVI neighbours in the specific embodiment of the invention.
Embodiment
For making object of the present invention, technical scheme and advantage clearer, referring to the accompanying drawing embodiment that develops simultaneously, scheme of the present invention is described in further detail.
Message forwarding method between a kind of EVI neighbours is proposed in the embodiment of the present invention, can be in the situation that minimizing be transformed existing network, realize two layers of VLAN of EVI neighbours' span and forward.
The method is applied in the EVI networking that comprises multiple edge devices, between described multiple edge devices, sets up EVI neighborhood.Between edge device by mutual discovery the other side the process of setting up neighborhood with existing realization, be no longer described in detail here.Arbitrary edge device operation in EVI networking, with other edge devices, illustrates with an example that edge device is operating as the forwarding that how to realize message between EVI neighbours below.
Referring to Fig. 2, Fig. 2 is message forwarding method schematic flow sheet between EVI neighbours in the embodiment of the present invention.Concrete steps are:
Step 201, edge device by the MAC Address of main process equipment in native vlan notice to need to the EVI neighbours at other VLAN places of this VLAN intercommunication.
The detailed process of noticing in this step comprises:
This edge device is that native vlan is distributed Local Area Network identifier, sets up native vlan configuration list item, and native vlan is configured to list item notices to each EVI neighbours; Wherein, the corresponding relation of the VLAN ID that native vlan configuration list item is native vlan and the LAN identifier of distribution, the method for salary distribution of described LAN identifier is: for needing the VLAN of intercommunication to distribute identical LAN identifier.
Therefore, owing to not noticing mutually the MAC Address of the main process equipment in VLAN between different VLAN, therefore in the embodiment of the present invention by different edge devices to needing the VLAN of travelling across VLAN intercommunication to distribute identical LAN identifier to realize.Each VLAN of this edge device distributes an independent LAN identifier like this, as long as LAN identifier is identical, just can double layer intercommunication between two EVI neighbours, therefore, for the intercommunication between different VLAN between edge device, for this difference VLAN distributes identical LAN identifier.For the VLAN of the LAN identifier not configuring, the VLAN ID that acquiescence LAN identifier is this VLAN can guarantee, between two EVI neighbours, identical VLAN also can intercommunication like this under implied terms.
This edge device receives the native vlan configuration list item that its EVI neighbours send and notices, and determines when the LAN identifier carrying in this notice exists in this locality, to the MAC Address of main frame in the corresponding native vlan of this LAN identifier of this EVI neighbor advertisement.
This edge device receives the native vlan configuration list item notice that its EVI neighbours send, determine when the LAN identifier carrying in this notice exists in this locality, further comprise: generate the far-end VLAN topology information list item that includes this EVI neighbours' edge device sign, far-end VLAN ID and LAN identifier.
This edge device receives the LAN identifier of its EVI neighbor advertisement, in local VLAN configuration list item, searches, and determines whether to exist, and whether can match the LAN identifier in notice; If so, determine that this edge device and these EVI neighbours have the VLAN that needs intercommunication, according to noticing content and local VLAN configuration list item generation VLAN topology information list item; Otherwise, do not process.
This edge device is according to described native vlan configuration list item and far-end VLAN topology list item, to the MAC Address of each described EVI neighbor advertisement local host equipment of distributing identical LAN identifier.
When noticing the MAC Address of main process equipment in local arbitrary VLAN, first according to native vlan configuration list item, be retrieved as the LAN identifier that this VLAN distributes, according to this LAN identifier, in far-end VLAN topology list item, mating, when matching identical LAN identifier, the MAC Address of the main process equipment in this VLAN is noticed to edge device corresponding to identical LAN identifier in VLAN far-end topology list item and identified corresponding edge device; Otherwise, do not notice.Reduce so unnecessary MAC Address synchronous, alleviated the burden of protocol processes.
Step 202, when this edge device receives the MAC Address of its local host equipment of EVI neighbor advertisement, is established to the forwarding-table item of the MAC Address of respective hosts equipment.
In this step, the process of setting up mac address forwarding table item is:
This edge device finds corresponding LAN identifier according to the VLAN ID carrying in the MAC Address of its local host equipment of the EVI neighbor advertisement of receiving in described far-end VLAN topology list item, according to the LAN identifier finding, in described native vlan configuration list item, find corresponding VLAN ID, far-end VLAN ID is mapped as to native vlan ID, according to the described VLAN ID finding, and the MAC Address of the main process equipment that carries in noticing, in this locality, be established to the mac address forwarding table item of respective hosts equipment.
The entry contents of the mac address forwarding table item of setting up in this step, with existing realization, is only that VLAN ID need be mapped as local corresponding VLAN ID.
Step 201 and step 202 are this edge device transmitting-receiving notice, when specific implementation without sequencing in logic.
Step 203, when this edge device receives the message of lower extension main process equipment transmission, the target MAC (Media Access Control) address carrying according to this message is searched in described mac address forwarding table item, in the time need being transmitted to EVI neighbours according to lookup result is definite, this message is carried out to EVI encapsulation and sends to corresponding EVI neighbours.
When this edge device receives the message of lower extension main process equipment transmission in this step, carry out source MAC study, generate mac address forwarding table item, with existing realization, be no longer described in detail here.
When the outgoing interface finding in mac address forwarding table is not local physical interface, but EVI tunnel interface, and when neighbor information is the IP address of EVI neighbours' edge device of issuing this MAC routing iinformation by Intermediate System-Intermediate System, determine that this message need be transmitted to corresponding EVI neighbours.Before forwarding, this message is carried out to EVI encapsulation, message is carried out to GRE encapsulation, add outer IP head, link layer header and verification and etc., the source IP address in outer IP head be EVI to the IP address to becoming interface, object IP address is the IP address finding in mac address forwarding table item.The specific implementation of this process, with existing realization, is no longer described in detail here.
In this step, this edge device receives the message that lower extension main process equipment sends, carry out searching and forward with existing realization of mac address forwarding table item, but when receiving the message of EVI neighbours' transmission, processing procedure is different from existing realization, concrete processing procedure is as follows:
When this edge device receives the message of arbitrary described EVI neighbours' transmission, this message receiving of decapsulation, the object VLAN ID that this decapsulation message is carried finds corresponding LAN identifier in described far-end VLAN topology list item, according to the LAN identifier finding, in described native vlan configuration list item, find corresponding VLANID, far-end VLAN ID is mapped as to native vlan ID, the target MAC (Media Access Control) address carrying according to this decapsulation message and the native vlan ID of described mapping search in mac address forwarding table item, and forward this decapsulation message according to lookup result.
Therefore, this edge device receives the message that EVI neighbours send, after decapsulation, not directly in mac address forwarding table item, to search, but after the object VLAN ID that the message after decapsulation need to be carried is mapped as local VLAN ID, carry out again searching of mac address forwarding table item, and forward according to lookup result.
The method further comprises:
This edge device receives its lower message of hanging main process equipment transmission, receiving message, it is broadcasting packet or while not finding the target MAC (Media Access Control) address of this reception message in mac address forwarding table, according to the LAN identifier that under this reception message, VLAN is corresponding, in described far-end VLAN topology information list item, find corresponding edge device sign, and send to the edge device finding to identify corresponding edge device this message.
This edge device is for broadcasting packet, or do not find the message of target MAC (Media Access Control) address, be not to be broadcast to all EVI neighbours, but be only broadcast to the LAN identifier corresponding with VLAN described in this message, distributed the edge device of identical LAN identifier, reduce like this transmission of unnecessary message, saved Internet resources.
The method of foregoing description is after mac address forwarding table item has been set up, local terminal is left intact when sending message, when receiving the message of neighbours' transmission, after decapsulation message, the object VLAN that message need be carried is mapped as and carries out mac address forwarding table item after native vlan ID again and search, and forwards this message according to lookup result.In the specific embodiment of the invention, provide the method for another gimmick message below, when sending message to EVI neighbours, revise object VLAN, send after message decapsulation receiving EVI neighbours, the object VLAN ID directly carrying according to decapsulation message carries out searching of mac address forwarding table item.Specific implementation process is as follows:
When this edge device receives the message of lower extension main process equipment transmission, the target MAC (Media Access Control) address carrying according to this message is searched in described mac address forwarding table item, in the time need being transmitted to EVI neighbours according to lookup result is definite, this message is carried out to EVI encapsulation, the object VLAN ID of this message is revised as to the local corresponding VLAN ID of described EVI neighbours, wherein, VLAN ID corresponding to described EVI neighbours determines according to described native vlan configuration list item and far-end VLAN topology list item; And send to corresponding EVI neighbours.
When sending message, directly object VLAN ID is mapped as to corresponding EVI neighbours' VLAN ID, and object VLAN ID is revised as to corresponding EVI neighbours' VLAN ID, for the uniformity of embodiment enforcement, when specific implementation, no matter whether this object VLAN ID is consistent with corresponding EVI neighbours' VLAN ID, all modifies.
When this edge device receives the message of arbitrary described EVI neighbours' transmission, this message receiving of decapsulation, the object VLAN carrying according to this decapsulation message and target MAC (Media Access Control) address are searched in local mac address forwarding table item, and forward this decapsulation message according to lookup result.
Above-mentioned two kinds of implementations, revise VLAN ID at transmitting terminal, or in the realization of receiving terminal mapping VLAN ID, can be by pre-configured, or realize which kind of mode of concrete employing by the dynamic negotiation between edge device.
Below in conjunction with accompanying drawing, describe the present invention in detail and how to realize message repeating process between EVI neighbours.
Referring to Fig. 3, Fig. 3 is EVI networking structure schematic diagram in the specific embodiment of the invention.In Fig. 3, the LAN identifier that edge device 1 distributes to native vlan 100 is that the LAN identifier that 111, VLAN110 distributes is 222; Edge device 2 distributes LAN identifier 111 to native vlan 111, and the LAN identifier that VLAN210 distributes is 222; Edge device 3 distributes LAN identifier 111 to native vlan 111, and in this locality, generates respectively as the native vlan configuration list item in Fig. 3.
Between edge device 1, edge device 2 and edge device 3, set up after neighborhood, notice mutually vlan information.In notice, carry VLAN and the LAN identifier for this VLAN distribution.When edge device 1 receives the notice of edge device 2 and edge device 3, determine in local VLAN configuration list item whether have corresponding LAN identifier.Known according to local VLAN configuration list item, the local LAN identifier existing has 111 and 222, therefore, the far-end VLAN topology information of study LAN identifier 111 and 222 correspondences, referring to table 1, table 1 is the local far-end VLAN topology information table generating of edge device 1.Same method, edge device 2 and edge device 3, when receiving VLAN notice, generate far-end VLAN topology information list item in this locality.Referring to table 2, table 2 is the local far-end VLAN topology information table generating of edge device 2; Referring to table 3, table 3 is the local far-end VLAN topology information table generating of edge device 3.
EVI neighbours' sign VLAN?ID LAN identifier
Edge device 2 111 111
Edge device 2 210 222
Edge device 3 111 111
Table 1
EVI neighbours' sign VLAN?ID LAN identifier
Edge device 1 100 111
Edge device 1 110 222
Edge device 3 111 111
Table 2
EVI neighbours' sign VLAN?ID LAN identifier
Edge device 1 100 111
Edge device 2 111 111
Table 3
From table 3, due to the unallocated identifier 222 of edge device 3, the far-end VLAN that therefore can not learn identifier that edge device 1 and edge device 2 send be 222.
The lower extension main process equipment 1(MAC11 of edge device 1) in VLAN100, send message, main process equipment 2(MAC12) in VLAN110, send message; The lower extension main process equipment 3(MAC21 of edge device 2) in VLAN111, send message, main process equipment 4(MAC22) in VLAN210, send message, main process equipment 3(MAC31) in VLAN111, send message.In Fig. 3, edge device 1 is known the MAC Address of each lower extension main process equipment, determine that MAC11 need broadcast in VLAN100, in native vlan configuration list item, matching the LAN identifier that VLAN100 is corresponding is 111, in far-end VLAN topology list item in table 1, mate this LAN identifier 111, the EVI neighbours' sign matching has edge device 2 and edge device 3, therefore this is noticed MAC11 to edge device 2 and edge device 3 by LSP message.Same processing mode, edge device 1 only notices the MAC Address MAC in VLAN110 12 to edge device 2.Edge device 2 by MAC21, is noticed to edge device 1 and edge device 3 by LSP message in VLAN111, in VLAN210, MAC22 is noticed to main process equipment 1 by LSP message; Edge device 3 is noticed MAC31 to edge device 2 and edge device 1 by LSP message in VLAN111.
Each edge device receives after EVI neighbours' notice, generates mac address forwarding table item according to the notice receiving in this locality.Take edge device 1, in this locality, generate mac address forwarding table item as example.While receiving the LSP message of edge device 2, the VLAN111 that message is carried shines upon in this locality, be mapped as native vlan, detailed process is, LAN identifier corresponding to VLAN111 of searching edge device 2 in table 1 is 111, then the VLAN that searches LAN identifier 111 correspondences in the native vlan in Fig. 3 configuration list item is 100.According to the MAC21 in the native vlan 100 and the LSP message that find, in this locality, generate mac address forwarding table item.Other list item study is similar with this process, and the contents in table of generation is with existing realization.Referring to table 4, the mac address forwarding table item that table 4 generates for edge device 1 in the specific embodiment of the invention.
VLAN?ID MAC Address IF
100 MAC21 The IP address of EVI tunnel interface number, edge device 2
110 MAC22 The IP address of EVI tunnel interface number, edge device 2
100 MAC31 The IP address of EVI tunnel interface number, edge device 3
Table 4
The present embodiment determines whether revising when local terminal sends message the object VLANID of message with negotiation mode.Be implemented as follows: edge device 1 is consulted VLAN modify feature with edge device 2, when negotiation result is that edge device 1 is while revising VLAN, expression edge device 1 is revised object VLAN ID when edge device 2 sends message, and object VLAN ID is revised as to the VLAN ID of edge device 2 correspondences, when sent message in local terminal VLAN100, the object VLAN ID of message is revised as to the VLAN111 of edge device 2 correspondences.And at this locality sign edge device 1, when this equipment sends message, revise VLAN for edge device 2, and, when receiving message, do not need to carry out target MAC (Media Access Control) address mapping, directly carry out searching of mac address forwarding table item.When specific implementation, sign can be identified on the EVI link between edge device 1 and edge device 2, due to the IP address designation of an EVI chain route EVI tunnel interface number and remote edge equipment, therefore this sign can be in mac address forwarding table item mark, and amended VLAN is recorded in mac address forwarding table item, also can when specific implementation, by any attainable mode, identify.
When edge device 1 receives lower extension main process equipment 1 and sends to the message of main process equipment 3, according to the target MAC (Media Access Control) address of this message, in mac address forwarding table item, search, as shown in Table 4, the outgoing interface finding is EVI tunnel interface number, and neighbor information is the IP address of edge device 2, and determine send to the message of edge device 2 need revise VLAN, VLAN100 is revised as to the VLAN111 of record, and this message is carried out to EVI encapsulation, and be transmitted to edge device 2 from interface corresponding to EVI interface finding.
Edge device 2 receives the message that edge device 1 sends, by this message decapsulation, according to this locality sign, know that this message revised VLAN, therefore directly according to the object VLAN ID of decapsulation message and target MAC (Media Access Control) address, in local mac address forwarding-table item, search, according to lookup result, by this decapsulation message repeating, give lower extension main process equipment 3.
When edge device 2 receives lower extension main process equipment 3 and sends to the message of main process equipment 1, owing to not identifying in this locality, revise VLAN, therefore, directly message is carried out to EVI encapsulate forwarded to edge device 1.
Edge device 1 receives the message that edge device 2 sends, this message of decapsulation, and this locality does not identify opposite end and when sending message, revises VLAN ID, therefore the object VLAN ID of decapsulation message need be mapped as in this locality native vlan ID, according to the target MAC (Media Access Control) address carrying in the VLAN ID after mapping and message, in mac address forwarding table item, search, and forward this decapsulation message according to lookup result.
The edge device 1 that is embodied as of above-mentioned negotiation sends to the message of edge device 2 to revise object VLAN ID, and edge device 2 sends to the message of edge device 1 not revise object VLAN ID, can also consult also to revise object VLAN ID for edge device 2 sends to the message of edge device 1, and edge device 1 is when receiving the message that edge device 2 sends, and directly searches mac address forwarding table item.
Inventive concept based on same in the specific embodiment of the invention, also proposes a kind of edge device, can be applicable in EVI networking, and the each edge device in this EVI networking is set up EVI neighborhood.Referring to Fig. 4, Fig. 4 is the edge device structural representation that is applied to message repeating between EVI neighbours in the specific embodiment of the invention.This edge device comprises: notification unit 401, receiving element 402, set up unit 403, search unit 404 and transmitting element 405.
Notification unit 401, for the MAC Address of native vlan main process equipment is noticed to need to the edge device at other VLAN places of this VLAN intercommunication.
Receiving element 402, for receiving the MAC Address of its local host equipment of EVI neighbor advertisement; Receive the message of hanging main process equipment transmission under this edge device.
Set up unit 403, while receiving the MAC Address of its local host equipment of EVI neighbor advertisement for receiving element 402, be established to the forwarding-table item of the MAC Address of respective hosts equipment.
Search unit 404, while hanging for receiving when receiving element 402 message that main process equipment sends under this edge device, the target MAC (Media Access Control) address carrying according to this message is searched setting up in the described mac address forwarding table item of setting up unit 403.
Transmitting element 405, for determining need be transmitted to EVI neighbours time according to lookup result when searching unit 404, carries out this message EVI encapsulation and sends to corresponding EVI neighbours.
Preferably,
Notification unit 401, be used to native vlan to distribute LAN identifier, set up native vlan configuration list item, and native vlan is configured to list item notice to each EVI neighbours, wherein, the corresponding relation of the VLAN ID that described native vlan configuration list item is native vlan and the LAN identifier of distribution, the method for salary distribution of described LAN identifier is: for needing the VLAN of intercommunication to distribute identical LAN identifier; Its LAN identifier distributing for native vlan that receives arbitrary described EVI neighbor advertisement when receiving element 402, and determine when the LAN identifier carrying in this notice exists in described native vlan configuration list item, to the MAC Address of main frame in the corresponding native vlan of this LAN identifier of this EVI neighbor advertisement.
Receiving element 402, is further used for receiving its native vlan configuration list item of arbitrary described EVI neighbor advertisement.
Preferably,
Notification unit 401, be further used for receiving when receiving element 402 its LAN identifier distributing for native vlan of arbitrary described EVI neighbor advertisement, and determine when the LAN identifier carrying in this notice exists in described native vlan configuration list item, generate the far-end VLAN topology information list item that includes this EVI neighbours' edge device sign, far-end VLAN ID and LAN identifier.
Set up unit 403, for the VLAN ID carrying according to the MAC Address of its local host equipment of the EVI neighbor advertisement of receiving, in the topology of far-end VLAN described in notification unit 401 list item, find corresponding LAN identifier, according to the LAN identifier finding, in described native vlan configuration list item, find corresponding VLANID, far-end VLAN ID is mapped as to native vlan ID, according to the described VLAN ID finding, and the MAC Address of the main process equipment that carries in noticing, in this locality, be established to the mac address forwarding table item of respective hosts equipment.
Preferably,
Receiving element 402, is further used for receiving the message that EVI neighbours send.
Search unit 404, be further used for when receiving element 402 receives the message of its EVI neighbours' transmission, this message receiving of decapsulation, the object VLAN ID that this decapsulation message is carried finds corresponding LAN identifier in described far-end VLAN topology list item, according to the LAN identifier finding, in described native vlan configuration list item, find corresponding VLAN ID, far-end VLAN ID is mapped as to native vlan ID, and the native vlan ID that the target MAC (Media Access Control) address carrying according to this decapsulation message and described mapping obtain searches in mac address forwarding table item.
Transmitting element 405, is further used for forwarding this decapsulation message according to the lookup result of searching unit 404.
Preferably,
Search unit 404, be further used for receiving when receiving element 402 broadcasting packet of the lower extension main process equipment transmission of this equipment, or while not finding the message of target MAC (Media Access Control) address of this reception message in mac address forwarding table, according to LAN identifier corresponding to VLAN described in this reception message, in described far-end VLAN topology information list item, find corresponding edge device sign, and trigger transmitting element 405 and send to this edge device to identify corresponding edge device this message.
Preferably,
Transmitting element 405, while being further used for this message carry out EVI encapsulation and send to corresponding EVI neighbours, the object VLAN ID of this message is revised as to the local corresponding VLAN ID of described EVI neighbours, wherein, VLAN ID corresponding to described EVI neighbours determines according to described native vlan configuration list item and far-end VLAN topology list item.
Search unit 404, be further used for when receiving element 402 receives the message of arbitrary described EVI neighbours' transmission, this message receiving of decapsulation, the object VLAN carrying according to this decapsulation message and target MAC (Media Access Control) address are searched in local mac address forwarding table item, and forward this decapsulation message according to lookup result.
The unit of above-described embodiment can be integrated in one, and also can separate deployment; Can merge into a unit, also can further split into multiple subelements.
In sum, in the specific embodiment of the invention by edge device by the MAC Address of main process equipment in native vlan notice to need to the EVI neighbours at other VLAN places of this VLAN intercommunication; And according to EVI neighbours' notice, be established to the mac address forwarding table item of respective hosts equipment, and carry out the forwarding of message according to this mac address forwarding table item, can be in the situation that minimizing be transformed existing network, realize two layers of VLAN of EVI neighbours' span and forward.
In specific embodiment, according to VLAN topology, carry out EVI neighbours' MAC Address notice, uncorrelated topological MAC Address does not send relevant EVI neighbours, has reduced the burden of protocol processes, has improved protocol processes efficiency.
In specific embodiment, also introduce VLAN and consult and revise mechanism, to station network internal shield the support that travelling across VLAN forwards between topology, the forwarding of station network built-in message does not need the difference between two station networks of perception.
The above, be only preferred embodiment of the present invention, is not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (12)

1. a message forwarding method between the virtual interconnected EVI neighbours of Ethernet, is applied in the EVI networking that comprises multiple edge devices, between described multiple edge devices, sets up EVI neighborhood, it is characterized in that, the method comprises:
Edge device by the MAC Address of main process equipment in native vlan notice to need to the EVI neighbours at other VLAN places of this VLAN intercommunication;
When this edge device receives the MAC Address of its local host equipment of EVI neighbor advertisement, be established to the forwarding-table item of the MAC Address of respective hosts equipment;
When this edge device receives the message of lower extension main process equipment transmission, the target MAC (Media Access Control) address carrying according to this message is searched in described mac address forwarding table item, in the time need being transmitted to EVI neighbours according to lookup result is definite, this message is carried out to EVI encapsulation and sends to corresponding EVI neighbours.
2. method according to claim 1, is characterized in that, described edge device by the MAC Address of main process equipment in native vlan notice to need to the edge device at other VLAN places of this VLAN intercommunication, comprising:
This edge device is that native vlan is distributed local area network (LAN) LAN identifier, sets up native vlan configuration list item, and native vlan is configured to list item notices to each EVI neighbours; Wherein, the corresponding relation of the VLAN ID that native vlan configuration list item is native vlan and the LAN identifier of distribution, the method for salary distribution of described LAN identifier is: for needing the VLAN of intercommunication to distribute identical LAN identifier;
This edge device receives the native vlan configuration list item that its EVI neighbours send and notices, and determines when the LAN identifier carrying in this notice exists in this locality, to the MAC Address of main frame in the corresponding native vlan of this LAN identifier of this EVI neighbor advertisement.
3. method according to claim 2, is characterized in that,
This edge device receives the native vlan configuration list item notice that its EVI neighbours send, determine when the LAN identifier carrying in this notice exists in this locality, further comprise: generate the far-end VLAN topology information list item that includes this EVI neighbours' edge device sign, far-end VLAN ID and LAN identifier;
Accordingly, this edge device is established to the forwarding-table item of the MAC Address of respective hosts equipment, comprise: according to the VLAN ID carrying in the MAC Address of its local host equipment of the EVI neighbor advertisement of receiving, in described far-end VLAN topology list item, find corresponding LAN identifier, according to the LAN identifier finding, in described native vlan configuration list item, find corresponding VLAN ID, far-end VLAN ID is mapped as to native vlan ID, and according to the MAC Address of the main process equipment carrying in noticing, and the native vlan ID that obtains of mapping is established to the mac address forwarding table item of respective hosts equipment in this locality.
4. method according to claim 3, is characterized in that, described method further comprises:
When this edge device receives the message of its EVI neighbours' transmission, this message receiving of decapsulation, the object VLAN ID that this decapsulation message is carried finds corresponding LAN identifier in described far-end VLAN topology list item, according to the LAN identifier finding, in described native vlan configuration list item, find corresponding VLAN ID, far-end VLAN ID is mapped as to native vlan ID, the native vlan ID that the target MAC (Media Access Control) address carrying according to this decapsulation message and described mapping obtain searches in mac address forwarding table item, and forward this decapsulation message according to lookup result.
5. according to the method described in claim 3 or 4, it is characterized in that, described method further comprises:
This edge device receives its lower message of hanging main process equipment transmission, receiving message, it is broadcasting packet or while not finding the target MAC (Media Access Control) address of this reception message in mac address forwarding table, according to the LAN identifier that under this reception message, VLAN is corresponding, in described far-end VLAN topology information list item, find corresponding edge device sign, and send to the edge device finding to identify corresponding edge device this message.
6. method according to claim 3, is characterized in that, described when this message is carried out to EVI encapsulation and sends to corresponding EVI neighbours, described method further comprises:
The object VLAN ID of this message is revised as to the local corresponding VLAN ID of described EVI neighbours, and wherein, VLAN ID corresponding to described EVI neighbours determines according to described native vlan configuration list item and far-end VLAN topology list item;
When this edge device receives the message of arbitrary described EVI neighbours' transmission, this message receiving of decapsulation, the object VLAN carrying according to this decapsulation message and target MAC (Media Access Control) address are searched in local mac address forwarding table item, and forward this decapsulation message according to lookup result.
7. an edge device, can be applicable in the virtual interconnected EVI networking of Ethernet, each edge device in described EVI networking is set up EVI neighborhood, it is characterized in that, described edge device comprises: notification unit, receiving element, set up unit, search unit and transmitting element;
Described notification unit, for the MAC Address of native vlan main process equipment is noticed to need to the EVI neighbours at other VLAN places of this VLAN intercommunication;
Described receiving element, for receiving the MAC Address of its local host equipment of EVI neighbor advertisement; Receive the message of hanging main process equipment transmission under this edge device;
The described unit of setting up, while receiving the MAC Address of its local host equipment of EVI neighbor advertisement for described receiving element, is established to the forwarding-table item of the MAC Address of respective hosts equipment;
The described unit of searching, while hanging for receiving when described receiving element the message that main process equipment sends under this edge device, the target MAC (Media Access Control) address carrying according to this message is searched in setting up the described mac address forwarding table item of setting up unit described;
Described transmitting element, for when described in search unit and determine need be transmitted to EVI neighbours time according to lookup result, this message is carried out to EVI encapsulation and sends to corresponding EVI neighbours.
8. edge device according to claim 7, is characterized in that,
Described notification unit, be used to native vlan to distribute LAN identifier, set up native vlan configuration list item, and native vlan is configured to list item notice to each EVI neighbours, wherein, the corresponding relation of the VLAN ID that described native vlan configuration list item is native vlan and the local area network (LAN) LAN identifier of distribution, the method for salary distribution of described LAN identifier is: for needing the VLAN of intercommunication to distribute identical LAN identifier; Its LAN identifier distributing for native vlan that receives arbitrary described EVI neighbor advertisement when described receiving element, and determine when the LAN identifier carrying in this notice exists in described native vlan configuration list item, to the MAC Address of main frame in the corresponding native vlan of this LAN identifier of this EVI neighbor advertisement.
Described receiving element, is further used for receiving the native vlan configuration list item notice that arbitrary described EVI neighbours send.
9. edge device according to claim 8, is characterized in that,
Described notification unit, be further used for receiving when described receiving element its LAN identifier distributing for native vlan of arbitrary described EVI neighbor advertisement, and determine when the LAN identifier carrying in this notice exists in described native vlan configuration list item, generate the far-end VLAN topology information list item that includes this EVI neighbours' edge device sign, far-end VLAN ID and LAN identifier;
The described unit of setting up, for the VLAN ID carrying according to the MAC Address of its local host equipment of the EVI neighbor advertisement of receiving, in the topology of far-end VLAN described in described notification unit list item, find corresponding LAN identifier, according to the LAN identifier finding, in described native vlan configuration list item, find corresponding VLANID, far-end VLAN ID is mapped as to native vlan ID, according to the described VLAN ID finding, and the MAC Address of the main process equipment that carries in noticing, in this locality, be established to the mac address forwarding table item of respective hosts equipment.
10. edge device according to claim 9, is characterized in that,
Described receiving element, is further used for receiving the message that EVI neighbours send;
The described unit of searching, be further used for when described receiving element receives the message of its EVI neighbours' transmission, this message receiving of decapsulation, the object VLAN ID that this decapsulation message is carried finds corresponding LAN identifier in described far-end VLAN topology list item, according to the LAN identifier finding, in described native vlan configuration list item, find corresponding VLAN ID, far-end VLAN ID is mapped as to native vlan ID, the native vlan ID that the target MAC (Media Access Control) address carrying according to this decapsulation message and described mapping obtain searches in mac address forwarding table item,
Described transmitting element, be further used for according to described in search unit lookup result forward this decapsulation message.
11. according to the edge device described in claim 9 or 10, it is characterized in that,
The described unit of searching, be further used for receiving when described receiving element the broadcasting packet of the lower extension main process equipment transmission of this equipment, or while not finding the message of target MAC (Media Access Control) address of this reception message in mac address forwarding table, according to LAN identifier corresponding to VLAN described in this reception message, in described far-end VLAN topology information list item, find corresponding edge device sign, and trigger described transmitting element and send to this edge device to identify corresponding edge device this message.
12. edge devices according to claim 9, is characterized in that,
Described transmitting element, while being further used for this message carry out EVI encapsulation and send to corresponding EVI neighbours, the object VLAN ID of this message is revised as to the local corresponding VLAN ID of described EVI neighbours, wherein, VLAN ID corresponding to described EVI neighbours determines according to described native vlan configuration list item and far-end VLAN topology list item;
The described unit of searching, be further used for when described receiving element receives the message of arbitrary described EVI neighbours' transmission, this message receiving of decapsulation, the object VLAN carrying according to this decapsulation message and target MAC (Media Access Control) address are searched in local mac address forwarding table item, and forward this decapsulation message according to lookup result.
CN201210392675.6A 2012-10-16 2012-10-16 Message forwarding method and edge device between a kind of Ethernet virtualization interconnection neighbours Active CN103731349B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210392675.6A CN103731349B (en) 2012-10-16 2012-10-16 Message forwarding method and edge device between a kind of Ethernet virtualization interconnection neighbours
PCT/CN2013/080987 WO2014059814A1 (en) 2012-10-16 2013-08-07 Message forwarding between geographically dispersed network sites

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210392675.6A CN103731349B (en) 2012-10-16 2012-10-16 Message forwarding method and edge device between a kind of Ethernet virtualization interconnection neighbours

Publications (2)

Publication Number Publication Date
CN103731349A true CN103731349A (en) 2014-04-16
CN103731349B CN103731349B (en) 2017-10-03

Family

ID=50455284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210392675.6A Active CN103731349B (en) 2012-10-16 2012-10-16 Message forwarding method and edge device between a kind of Ethernet virtualization interconnection neighbours

Country Status (2)

Country Link
CN (1) CN103731349B (en)
WO (1) WO2014059814A1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099941A (en) * 2015-06-19 2015-11-25 杭州华三通信技术有限公司 Message processing method and device
CN105635224A (en) * 2014-11-07 2016-06-01 中兴通讯股份有限公司 Information distribution method and system
CN107210961A (en) * 2014-11-12 2017-09-26 思科技术公司 The VRF of optimization in environment based on the network coverage(Virtual flow-line and forwarding)Between route leaking
CN107911495A (en) * 2017-11-16 2018-04-13 新华三技术有限公司 A kind of MAC Address synchronous method and VTEP
CN108259347A (en) * 2017-05-19 2018-07-06 新华三技术有限公司 A kind of message transmitting method and device
CN109218202A (en) * 2018-08-24 2019-01-15 新华三技术有限公司 route synchronization method and device
CN109246162A (en) * 2017-07-10 2019-01-18 中兴通讯股份有限公司 Mac address information synchronous method, equipment and storage medium
CN110224844A (en) * 2019-07-26 2019-09-10 宙安科技河北有限公司 The dispatching method and system of virtual Private Network
CN112866076A (en) * 2020-12-30 2021-05-28 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) Ethernet virtual private network, operator equipment and user side equipment
CN114448752A (en) * 2022-04-07 2022-05-06 杭州优云科技有限公司 Message forwarding method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1870577A (en) * 2005-07-15 2006-11-29 华为技术有限公司 Virtual exchange access method, device and virtual exchange system based on Ethernet frame
WO2009018127A1 (en) * 2007-07-31 2009-02-05 Cisco Technology, Inc. Overlay transport virtualization
CN102594711A (en) * 2012-03-28 2012-07-18 杭州华三通信技术有限公司 Message forwarding method and edge device therefor
CN102611634A (en) * 2012-04-20 2012-07-25 杭州华三通信技术有限公司 IP (Internet protocol) network access method and edge device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101238684B (en) * 2005-09-12 2010-08-18 中兴通讯股份有限公司 System for cluster managing in the Ethernet switch layer and the method thereof
CN101047583B (en) * 2006-03-31 2011-12-14 株式会社日立制作所 Passive optical network system and correlation method for support virtual local network service
US7944860B2 (en) * 2009-06-04 2011-05-17 Cisco Technology, Inc. Preventing loss of network traffic due to inconsistent configurations within the network
CN101877671B (en) * 2009-12-02 2012-06-27 北京星网锐捷网络技术有限公司 Sending method of mirror image message, switch chip and Ethernet router

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1870577A (en) * 2005-07-15 2006-11-29 华为技术有限公司 Virtual exchange access method, device and virtual exchange system based on Ethernet frame
WO2009018127A1 (en) * 2007-07-31 2009-02-05 Cisco Technology, Inc. Overlay transport virtualization
CN101765827A (en) * 2007-07-31 2010-06-30 思科技术公司 Overlay transport virtualization
CN102594711A (en) * 2012-03-28 2012-07-18 杭州华三通信技术有限公司 Message forwarding method and edge device therefor
CN102611634A (en) * 2012-04-20 2012-07-25 杭州华三通信技术有限公司 IP (Internet protocol) network access method and edge device

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635224A (en) * 2014-11-07 2016-06-01 中兴通讯股份有限公司 Information distribution method and system
CN105635224B (en) * 2014-11-07 2021-01-22 中兴通讯股份有限公司 Information distribution method and system
CN107210961B (en) * 2014-11-12 2020-11-24 思科技术公司 Method and apparatus for virtual routing and forwarding route leakage
CN107210961A (en) * 2014-11-12 2017-09-26 思科技术公司 The VRF of optimization in environment based on the network coverage(Virtual flow-line and forwarding)Between route leaking
CN105099941A (en) * 2015-06-19 2015-11-25 杭州华三通信技术有限公司 Message processing method and device
CN105099941B (en) * 2015-06-19 2018-09-04 新华三技术有限公司 A kind of message processing method and device
CN108259347A (en) * 2017-05-19 2018-07-06 新华三技术有限公司 A kind of message transmitting method and device
CN108259347B (en) * 2017-05-19 2020-01-03 新华三技术有限公司 Message transmission method and device
WO2018210094A1 (en) * 2017-05-19 2018-11-22 新华三技术有限公司 Packet transmission method, edge device, and machine readable storage medium
US11184192B2 (en) 2017-05-19 2021-11-23 New H3C Technologies Co., Ltd. Packet transmission
CN109246162A (en) * 2017-07-10 2019-01-18 中兴通讯股份有限公司 Mac address information synchronous method, equipment and storage medium
CN107911495A (en) * 2017-11-16 2018-04-13 新华三技术有限公司 A kind of MAC Address synchronous method and VTEP
CN109218202A (en) * 2018-08-24 2019-01-15 新华三技术有限公司 route synchronization method and device
CN109218202B (en) * 2018-08-24 2021-05-07 新华三技术有限公司 Route synchronization method and device
CN110224844A (en) * 2019-07-26 2019-09-10 宙安科技河北有限公司 The dispatching method and system of virtual Private Network
CN112866076A (en) * 2020-12-30 2021-05-28 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) Ethernet virtual private network, operator equipment and user side equipment
CN114448752A (en) * 2022-04-07 2022-05-06 杭州优云科技有限公司 Message forwarding method and device

Also Published As

Publication number Publication date
CN103731349B (en) 2017-10-03
WO2014059814A1 (en) 2014-04-24

Similar Documents

Publication Publication Date Title
CN103731349A (en) Method for conducting Ethernet virtualized message transmission between interconnection neighbors and edge device
CN105939257B (en) Communication means and router
CN103546374B (en) A kind of method and apparatus E-Packeted in edge double layer network
CN102594711B (en) Message forwarding method and edge device therefor
ES2565827T3 (en) Layer 3 routing, device and virtual private network system control method
CN102025591B (en) Method and system for implementing virtual private network
EP3313025B1 (en) Data packet forwarding
CN102316028B (en) Method and apparatus for sending internet protocol packet
CN103795631B (en) Deploy the flow forwarding method and equipment in the network of Ethernet virtual link
CN102932499B (en) Method and device for learning media access control (MAC) addresses in virtual private lan service (VPLS) networks
CN105072038B (en) A kind of data message forwarding method and device
WO2015165311A1 (en) Method for transmitting data packet and provider edge device
CN102413061A (en) Message transmission method and equipment
CN104052666A (en) Method and apparatus for realizing host route reachability
CN103841028A (en) Method and device for forwarding messages
CN104009926A (en) Multicast method in EVI network and edge device ED
CN106572021B (en) Method for realizing network virtualization superposition and network virtualization edge node
CN104168184A (en) Message forwarding method and device
CN102801625A (en) Method and device for double layered mutual communication in heterogeneous network
CN105634770A (en) Method for disposing virtual extensible local area network (VXLAN)
CN102546349B (en) A kind of message forwarding method and equipment
CN103078969A (en) Method and equipment for announcing media access control (MAC) address information
CN101001264B (en) Method, device, network edge equipment and addressing server for L1VPN address distribution
CN104365066A (en) Method and device used in ethernet virtual private network
CN105187311A (en) Message forwarding method and message forwarding device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Applicant before: Huasan Communication Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant