CN103731349B - Message forwarding method and edge device between a kind of Ethernet virtualization interconnection neighbours - Google Patents
Message forwarding method and edge device between a kind of Ethernet virtualization interconnection neighbours Download PDFInfo
- Publication number
- CN103731349B CN103731349B CN201210392675.6A CN201210392675A CN103731349B CN 103731349 B CN103731349 B CN 103731349B CN 201210392675 A CN201210392675 A CN 201210392675A CN 103731349 B CN103731349 B CN 103731349B
- Authority
- CN
- China
- Prior art keywords
- vlan
- evi
- message
- mac address
- edge device
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
- H04L12/4675—Dynamic sharing of VLAN information amongst network nodes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
This application discloses message forwarding method between a kind of Ethernet virtualization interconnection neighbours, this method includes:The MAC Address of host device in native vlan is advertised to the EVI neighbours where other VLAN needed with the VLAN intercommunications by edge device;When the edge device receives the MAC Address of its local host device of EVI neighbor advertisements, the mac address forwarding table to respective hosts equipment is set up, and message forwarding is carried out according to the mac address forwarding table of the foundation.Based on same inventive concept, the application also proposes a kind of edge device, can realize the two layers of VLAN forwardings of EVI neighbours' span in the case where reducing to existing network transformation.
Description
Technical field
The application is related to communication technical field, more particularly to a kind of Ethernet virtualization interconnection(EVI)Message turns between neighbours
Forwarding method and edge device.
Background technology
In order to realize high reliability and redundant deployment, current most enterprises network and its data center span multiple positions
In the physical site of diverse geographic location, in the similar business of these site deployments, double layer intercommunication is carried out between these websites.
In order to realize dynamic resource allocation and the management between website, virtual machine between data center will can free migration, due to void
Plan machine transition process is transparent to user, it is impossible to change IP address, so two layers must be realized between the website for being distributed in strange land
The network interconnection.
EVI is a kind of advanced " MAC in IP " technologies, for realizing the Layer 2 virtual private network based on IP kernel heart net
(L2VPN)Technology.EVI simply on the edge device of website safeguard route and forwarding information, without change Intra-site and
Core network.
EVI overall networks are made up of core network, station network, crossover network.Typical EVI network models such as Fig. 1 institutes
Show.Crossover network(Overlay Network)Extensions of the VLAN between different websites is realized, mainly by overlay interface and virtually
VLAN two laminar flow amounts are extended between connection composition, carrying website, pass through Intermediate System to Intermediate System(IS-IS)Association
View notices the Media Access Controlled of main frame and router between sites(MAC)Address reachability information, is found by EVI neighbours
Agreement(ENDP)To realize the automatic discovery feature of website, simplify the configuration management work of network.
Different VLANs(VLAN)The different business function of carrying is, it is necessary to which the website of extension is also different, so as to hand over
The many example functions of folded network support.The flow forwarding of different instances is completely isolated, and extension VLAN can not be overlapping, and can be independent
Configure the network of relation parameter of each example, such as IS-IS time parameters.Each example represents a VPN, uses Network
ID carrys out unique mark.Referring to Fig. 1, Fig. 1 is VPN instance structural representation.In Fig. 1, edge device 1, edge device 2, edge are set
For 4 and with VPN instance 1 is set up between edge device 5, communication VLAN is 4000;Edge device 2, the same edge device of edge device 3
VPN instance 2 is set up between 4, communication VLAN is 100-101;Edge device 1 communicates with VPN instance 3 is set up between edge device 4
VLAN is 50-80.
After the automatic discovery procedure of neighbours establishes the crossover network between edge device, run in the crossover network
EVI Intermediate System-Intermediate System notices unicast mac address reachability information.Once established between edge device neighborhood and
After interaction MAC Address reachability information, it is possible to converting flow between sites.
Therefore, realize when communicating between EVI neighbours, it is necessary to which the VLAN disposed on each edge device is identical, due to
EVI Intra-sites VLAN may be used, site deployment identical VLAN, it is necessary to existing each Intra-site networking,
Carry out larger transformation.
The content of the invention
In view of this, the application provides message forwarding method and edge device between a kind of Ethernet virtualization interconnection neighbours,
The two layers of VLAN forwardings of EVI neighbours' span can be realized in the case where reducing to existing network transformation.
In order to solve the above technical problems, the technical proposal of the invention is realized in this way:
Message forwarding method between a kind of Ethernet virtualization interconnection EVI neighbours, applied to including the EVI of multiple edge devices
In networking, EVI neighborhoods are set up between the multiple edge device, this method includes:
The MAC Address of host device in native vlan is advertised to by edge device needs other VLAN with the VLAN intercommunications
The EVI neighbours at place;
When the edge device receives the MAC Address of its local host device of EVI neighbor advertisements, set up and arrive respective hosts
The forwarding-table item of the MAC Address of equipment;
When the edge device receives the message that lower extension host device is sent, the target MAC (Media Access Control) address carried according to the message
Search, when according to lookup result determining that EVI neighbours need to be transmitted to, the message is carried out in the mac address forwarding table
EVI is encapsulated and is sent to corresponding EVI neighbours.
A kind of edge device, can be applied in Ethernet virtualization interconnection EVI networkings, each edge in the EVI networkings
Equipment sets up EVI neighborhoods, and the edge device includes:Notification unit, receiving unit, set up unit, searching unit and hair
Send unit;
The notification unit, for the MAC Address of host device in native vlan to be advertised into needs and the VLAN intercommunications
Other VLAN where EVI neighbours;
The receiving unit, the MAC Address of its local host device for receiving EVI neighbor advertisements;Receive this edge
The message that host device is sent is hung under equipment;
It is described to set up unit, the MAC of its local host device of EVI neighbor advertisements is received for the receiving unit
During location, the forwarding-table item to the MAC Address of respective hosts equipment is set up;
The searching unit, for hanging the message that host device is sent under this edge device when the receiving unit is received
When, the target MAC (Media Access Control) address carried according to the message is searched in the mac address forwarding table for setting up unit foundation;
The transmitting element, for when the searching unit according to lookup result determines that EVI neighbours need to be transmitted to, by this
Message carries out EVI encapsulation and is sent to corresponding EVI neighbours.
In summary, the application by edge device by the MAC Address of host device in native vlan be advertised to needs with
EVI neighbours where other VLAN of the VLAN intercommunications;And according to the notice of EVI neighbours, set up the MAC to respective hosts equipment
Address repeat listing, and according to the forwarding of the mac address forwarding table progress message, can reduce what existing network was transformed
In the case of, realize the two layers of VLAN forwardings of EVI neighbours' span.
Brief description of the drawings
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 diagrames in the specific embodiment of the invention;
Fig. 4 is the edge device structural representation in the specific embodiment of the invention applied to message forwarding between EVI neighbours.
Embodiment
For the objects, technical solutions and advantages of the present invention are more clearly understood, develop simultaneously embodiment referring to the drawings, right
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, existing network can be transformed reducing
In the case of, realize the two layers of VLAN forwardings of EVI neighbours' span.
This method sets up EVI adjacent applied in the EVI networkings for including multiple edge devices between the multiple edge device
Occupy relation.It is no longer detailed here by mutually finding other side and setting up the process of neighborhood compared with realization between edge device
Carefully repeat.Any edge equipment in EVI networkings is operated with other edge devices, is done exercises below with an edge device
Illustrate how to realize the forwarding of message between EVI neighbours as example.
Referring to Fig. 2, Fig. 2 is message forwarding method schematic flow sheet between EVI neighbours in the embodiment of the present invention.Specific steps
For:
Step 201, the MAC Address of host device in native vlan is advertised to by edge device needs and the VLAN intercommunications
EVI neighbours where other VLAN.
The detailed process noticed in this step includes:
The edge device is that native vlan distributes LAN(LAN)Identifier, sets up native vlan configuration list item, and incite somebody to action this
VLAN configuration list items in ground are advertised to each EVI neighbours;Wherein, native vlan configuration list item is the VLAN ID of native vlan and divided
The corresponding relation for the LAN identifiers matched somebody with somebody, the method for salary distribution of the LAN identifiers is:To need the VLAN of intercommunication to distribute identical
LAN identifiers.
Therefore, due to the MAC Address of the host device in VLAN, therefore this hair are not noticed between different VLAN mutually
Realized in bright embodiment by different edge devices to needing the VLAN of travelling across VLAN intercommunication to distribute identical LAN identifiers.This
Each VLAN of the sample edge device distributes an independent LAN identifier, as long as LAN identifiers are identical, two EVI neighbours it
Between just can be identical for different VLAN distribution for the intercommunication between difference VLAN between edge device with double layer intercommunication, therefore
LAN identifiers.For the VLAN for the LAN identifiers not configured, the VLAN ID that acquiescence LAN identifiers are the VLAN so exist
It can ensure under implied terms, identical VLAN can also intercommunication between two EVI neighbours.
The edge device receives the native vlan configuration list item notice of its EVI neighbour transmission, determines what is carried in the notice
LAN identifiers are in the presence of local, the MAC Address of main frame into EVI neighbor advertisements LAN identifiers correspondence native vlan.
The edge device receives the native vlan configuration list item notice of its EVI neighbour transmission, determines what is carried in the notice
LAN identifiers further comprise in the presence of local:Generation includes EVI neighbours' edge-device identities, distal end VLAN ID
With the distal end VLAN topology information list items of LAN identifiers.
The edge device receives the LAN identifiers of its EVI neighbor advertisement, is searched in local VLAN configuration list items,
Determine whether there is, i.e., whether can match the LAN identifiers in notice;If it is, determining this edge device and the EVI
The VLAN of neighbours' intercommunication in need, according to announcement content and local VLAN configuration list item generation VLAN topology information list items;It is no
Then, do not handle.
The edge device configures list item and the topological list items of distal end VLAN according to the native vlan, is marked to identical LAN is distributed
Know the MAC Address of each EVI neighbor advertisements local host device of symbol.
In the local any VLAN of notice during the MAC Address of host device, list item is first configured according to native vlan and is retrieved as
The LAN identifiers of VLAN distribution, are matched according to the LAN identifiers in the topological list items of distal end VLAN, identical when matching
LAN identifiers when, the MAC Address of the host device in the VLAN is advertised to the identical LAN in the topological list item in VLAN distal ends
The corresponding edge device of the corresponding edge-device identities of identifier;Otherwise, do not notice.So reduce unnecessary MAC Address
It is synchronous, alleviate the burden of protocol processes.
Step 202, when the edge device receives the MAC Address of its local host device of EVI neighbor advertisements, foundation is arrived
The forwarding-table item of the MAC Address of respective hosts equipment.
In this step, the process for setting up mac address forwarding table is:
The VLAN that the edge device is carried in the MAC Address according to its local host device of the EVI neighbor advertisements received
ID finds corresponding LAN identifiers in the topological list items of the distal end VLAN, according to the LAN identifiers found at described
Corresponding VLAN ID are found in ground VLAN configuration list items, distal end VLAN ID are mapped as native vlan ID, looked into according to described
The MAC Address of the host device carried in the VLAN ID found, and notice, is being locally created the MAC of respective hosts equipment
Address repeat listing.
The entry contents for the mac address forwarding table set up in this step, compared with realization, are only that VLAN ID need to be reflected
Penetrate as local corresponding VLAN ID.
Step 201 is that the edge device receives and dispatches notice with step 202, when implementing without sequencing in logic.
Step 203, when the edge device receives the message that lower extension host device is sent, the purpose carried according to the message
MAC Address is searched in the mac address forwarding table, and when according to lookup result determining that EVI neighbours need to be transmitted to, this is reported
Text carries out EVI encapsulation and is sent to corresponding EVI neighbours.
When the edge device of this in this step receives the message that lower extension host device is sent, source MAC study is carried out, it is raw
Into mac address forwarding table, compared with realization, no longer it is described in detail here.
When the outgoing interface found in mac address forwarding table is not local physical interface, but EVI tunnel interfaces, and
When neighbor information is the IP address for the edge device that EVI neighbours issue the MAC routing iinformations by Intermediate System-Intermediate System, it is determined that
The message need to be transmitted to corresponding EVI neighbours.EVI encapsulation is carried out to the message before forwarding, i.e., GRE encapsulation is carried out to message, added
Plus outer layer IP, link layer header and verification and wait, the source IP address in outer layer IP is EVI to the IP address into interface,
Purpose IP address is the IP address found in mac address forwarding table.The process is implemented compared with realization, here
No longer it is described in detail.
The edge device of this in this step receives the message that lower extension host device is sent, and carries out mac address forwarding table
Search and forward compared with realization, but when receiving the message of EVI neighbours' transmission, processing procedure is different from existing realization,
Concrete processing procedure is as follows:
When the edge device receives the message that any EVI neighbours send, the message received is decapsulated, by this
The purpose VLAN ID that decapsulation message is carried find corresponding LAN identifiers in the topological list items of the distal end VLAN, according to
The LAN identifiers found find corresponding VLANID in native vlan configuration list item, and distal end VLAN ID are mapped
For native vlan ID, the target MAC (Media Access Control) address and the native vlan ID of the mapping carried according to the decapsulation message is in MAC
Searched in the forwarding-table item of location, and the decapsulation message is forwarded according to lookup result.
Therefore, the edge device receives the message of EVI neighbours' transmission, after decapsulation, is not directly in MAC Address
In forwarding-table item search, but need by after decapsulation message carry purpose VLAN ID be mapped as local VLAN ID it
Afterwards, then the lookup of mac address forwarding table is carried out, and is forwarded according to lookup result.
This method further comprises:
The edge device receive its it is lower hang the message that host device is sent, be broadcasting packet or in MAC receiving message
When not finding the target MAC (Media Access Control) address of the reception message in the forward table of location, marked according to the corresponding LAN of the affiliated VLAN of the reception message
Know symbol and find corresponding edge-device identities in the distal end VLAN topology information list items, and the message is sent to lookup
The corresponding edge device of edge-device identities arrived.
The edge device is for broadcasting packet, or does not find the message of target MAC (Media Access Control) address, be not be broadcast to it is all
EVI neighbours, but the corresponding LAN identifiers with VLAN described in the message are only broadcast to, distributed the edge of identical LAN identifiers
Equipment, so reduces the transmission of unnecessary message, saves Internet resources.
The method of foregoing description is that mac address forwarding table is set up after completion, and local terminal does not do any when sending message
Processing, when receiving the message of neighbours' transmission, after decapsulation message, the purpose VLAN that need to carry message is mapped as locally
Mac address forwarding table lookup is carried out after VLAN ID again, and the message is forwarded according to lookup result.The present invention is specific below
The method that another gimmick message is provided in embodiment, i.e., when sending message to EVI neighbours, change purpose VLAN, connecing
Receive EVI neighbours to send after message and decapsulation, the purpose VLAN ID directly carried according to decapsulation message carry out MAC Address
The lookup of forwarding-table item.Implement process as follows:
When the edge device receives the message that lower extension host device is sent, the target MAC (Media Access Control) address carried according to the message
Search, when according to lookup result determining that EVI neighbours need to be transmitted to, the message is carried out in the mac address forwarding table
EVI is encapsulated, and the purpose VLAN ID of the message are revised as into the local corresponding VLAN ID of the EVI neighbours, wherein, the EVI
The corresponding VLAN ID of neighbours configure list item according to the native vlan and VLAN topological list items in distal end are determined;And it is sent to correspondence
EVI neighbours.
Purpose VLAN ID are directly mapped as to the VLAN ID of correspondence EVI neighbours when sending message, and by purpose VLAN
ID is revised as the VLAN ID of corresponding EVI neighbours, in order to embodiment implement uniformity, when implementing, no matter the mesh
VLAN ID it is whether consistent with the VLAN ID of corresponding EVI neighbours, modify.
When the edge device receives the message that any EVI neighbours send, the message received is decapsulated, according to
The purpose VLAN and target MAC (Media Access Control) address that the decapsulation message is carried are searched in local mac address forwarding table, and according to looking into
Result is looked for forward the decapsulation message.
Above two implementation, VLAN ID are changed in transmitting terminal, or map VLAN ID realization in receiving terminal, can
To realize which kind of mode specifically used by being pre-configured with, or by the dynamic negotiation between edge device.
Below in conjunction with the accompanying drawings, describe how the present invention realizes message repeating process between EVI neighbours in detail.
Referring to Fig. 3, Fig. 3 is EVI networking structure schematic diagrames in the specific embodiment of the invention.In Fig. 3, edge device 1 is to this
The LAN identifiers of ground VLAN100 distribution are that the LAN identifiers of 111, VLAN110 distribution are 222;Edge device 2 is to local
VLAN111 distribution LAN identifiers 111, the LAN identifiers of VLAN210 distribution are 222;Edge device 3 gives 111 points of native vlan
With LAN identifiers 111, and the native vlan configuration list item such as in Fig. 3 is locally generated respectively.
Set up between edge device 1, edge device 2 and edge device 3 after neighborhood, vlan information is noticed mutually.
VLAN and the LAN identifiers distributed for the VLAN are carried in notice.Edge device 1 receives edge device 2 and edge device 3
During notice, it is determined that whether there is corresponding LAN identifiers in local VLAN configuration list items.List item is configured according to local VLAN
Understand, the LAN identifiers locally existed have 111 and 222, therefore, the corresponding distal end VLAN of study LAN identifiers 111 and 222 is opened up
Information is flutterred, referring to table 1, table 1 is the distal end VLAN topology information tables that edge device 1 is locally generated.Same method, edge device
2 and edge device 3 receive VLAN notice when, be locally generated distal end VLAN topology information list items.Referring to table 2, table 2 is side
The distal end VLAN topology information tables that edge equipment 2 is locally generated;Referring to table 3, table 3 is the distal end VLAN that edge device 3 is locally generated
Topology information table.
Table 1
Table 2
Table 3
From table 3, due to the unallocated identifier 222 of edge device 3, therefore edge device 1 will not be learnt and edge is set
The distal end VLAN that standby 2 identifiers sent are 222.
The lower extension host device 1 of edge device 1(MAC11)Message, host device 2 are sent in VLAN100(MAC12)
Message is sent in VLAN110;The lower extension host device 3 of edge device 2(MAC21)Message, host device are sent in VLAN111
4(MAC22)Message, host device 3 are sent in VLAN210(MAC31)Message is sent in VLAN111.In Fig. 3, edge is set
Standby 1 knows each lower MAC Address for hanging host device, determines that MAC11 need to be broadcasted in VLAN100, list item is configured in native vlan
In match the corresponding LAN identifiers of VLAN100 for 111, match LAN marks in the topological list items of the distal end VLAN in table 1
Symbol 111, the EVI neighbours matched are identified with edge device 2 and edge device 3, therefore this is led to MAC11 by LSP messages
Accuse to edge device 2 and edge device 3.Same processing mode, edge device 1 by the MAC Address MAC 12 in VLAN110 only
It is advertised to edge device 2.Edge device 2, by MAC21, edge device 1 and edge is advertised to by LSP messages in VLAN111
Equipment 3, host device 1 is advertised in VLAN210 by MAC22 by LSP messages;Edge device 3 will in VLAN111
MAC31 is advertised to edge device 2 and edge device 1 by LSP messages.
Each edge device is received after the notice of EVI neighbours, and mac address forwarding table is locally generated according to the notice of reception
.So that edge device 1 is locally generated mac address forwarding table as an example.When receiving the LSP messages of edge device 2, by message
The VLAN111 of carrying is mapped locally, is mapped as native vlan, and detailed process is that edge device 2 is searched in table 1
The corresponding LAN identifiers of VLAN111 are 111, then search the correspondence of LAN identifiers 111 in native vlan configuration list item in figure 3
VLAN be 100.Then the MAC21 in the native vlan 100 and LSP messages found is locally generated MAC Address forwarding
List item.Other list item study are similar with the process, and the contents in table of generation is compared with realization.Referring to table 4, table 4 is the present invention
The mac address forwarding table that edge device 1 is generated in specific embodiment.
Table 4
The present embodiment decides whether to change the purpose VLANID of message when local terminal sends message with negotiation mode.Specifically
Realize as follows:Edge device 1 consults VLAN modification functions with edge device 2, when negotiation result is that edge device 1 changes VLAN
When, represent to change purpose VLAN ID when edge device 1 sends message to edge device 2, and purpose VLAN ID are revised as into side
When sending message in edge equipment 2 corresponding VLAN ID, such as local terminal VLAN100, the purpose VLAN ID of message are revised as edge
The corresponding VLAN111 of equipment 2.And changed for edge device 2 when locally mark edge device 1 sends message to this equipment
VLAN, i.e., when receiving message, it is not necessary to carry out target MAC (Media Access Control) address mapping, directly carries out looking into for mac address forwarding table
Look for.When implementing, mark can be identified on the EVI links between edge device 1 and edge device 2, due to an EVI
Chain route EVI tunnel interfaces number and the IP address of remote edge equipment is identified, therefore the mark can be in mac address forwarding table
Middle mark, and amended VLAN records are in mac address forwarding table, can also when implementing by it is any can be real
Existing mode is identified.
Edge device 1 receives lower extension host device 1 when being sent to the message of host device 3, according to the purpose of the message
MAC Address is searched in mac address forwarding table, as shown in Table 4, and the outgoing interface found is EVI tunnel interfaces number, and neighbours
Information is the IP address of edge device 2, and determines that the message for being sent to edge device 2 need to change VLAN, then changes VLAN100
For the VLAN111 of record, and EVI encapsulation is carried out to the message, and edge is transmitted to from the corresponding interface of EVI interfaces found
Equipment 2.
Edge device 2 receives the message of the transmission of edge device 1, and the message is decapsulated, and this is known according to local mark
Message have modified VLAN, therefore directly according to the purpose VLAN ID and target MAC (Media Access Control) address of decapsulation message in local mac address
Searched in forwarding-table item, the decapsulation message is transmitted to by lower extension host device 3 according to lookup result.
Edge device 2 receives lower extension host device 3 when being sent to the message of host device 1, due to not identifying locally
VLAN is changed, therefore, message is directly subjected to EVI encapsulation and is transmitted to edge device 1.
Edge device 1 receives the message of the transmission of edge device 2, decapsulates the message, and local not mark opposite end exists
VLAN ID are changed when sending message, therefore the purpose VLAN ID of decapsulation message locally need to be mapped as native vlan ID, root
Searched according to the target MAC (Media Access Control) address carried in the VLAN ID and message after mapping in mac address forwarding table, and according to lookup
As a result the decapsulation message is forwarded.
Above-mentioned negotiation is embodied as the message modification purpose VLAN ID that edge device 1 is sent to edge device 2, and edge
The message that equipment 2 is sent to edge device 1 does not change purpose VLAN ID, can also consult to be sent to edge for edge device 2 setting
Standby 1 message also changes purpose VLAN ID, and edge device 1 is directly searched when receiving the message of the transmission of edge device 2
Mac address forwarding table.
Based on same inventive concept in the specific embodiment of the invention, it is also proposed that a kind of edge device, EVI groups are can be applied to
In net, each edge device in the EVI networkings sets up EVI neighborhoods.Referring to Fig. 4, Fig. 4 is should in the specific embodiment of the invention
The edge device structural representation forwarded for message between EVI neighbours.The edge device includes:Notification unit 401, receiving unit
402nd, unit 403, searching unit 404 and transmitting element 405 are set up.
Notification unit 401, needs and the VLAN intercommunications for the MAC Address of host device in native vlan to be advertised to
Edge device where other VLAN.
Receiving unit 402, the MAC Address of its local host device for receiving EVI neighbor advertisements;This edge is received to set
The message that standby lower extension host device is sent.
Unit 403 is set up, the MAC Address of its local host device of EVI neighbor advertisements is received for receiving unit 402
When, set up the forwarding-table item to the MAC Address of respective hosts equipment.
Searching unit 404, for hanging the message that host device is sent under this edge device when receiving unit 402 is received
When, the target MAC (Media Access Control) address carried according to the message is searched in the mac address forwarding table for setting up the foundation of unit 403.
Transmitting element 405, for when searching unit 404 according to lookup result determines that EVI neighbours need to be transmitted to, this to be reported
Text carries out EVI encapsulation and is sent to corresponding EVI neighbours.
It is preferred that
Notification unit 401, for distributing LAN identifiers for native vlan, sets up native vlan configuration list item, and will be local
VLAN configuration list items are advertised to each EVI neighbours, wherein, native vlan configuration list item for native vlan VLAN ID and
The corresponding relation of the LAN identifiers of distribution, the method for salary distribution of the LAN identifiers is:To need the VLAN distribution of intercommunication identical
LAN identifiers;When receiving unit 402 receives the LAN marks that its of any EVI neighbor advertisements distributes for native vlan
Symbol, and the LAN identifiers carried in the notice are determined in the presence of the native vlan is configured in list item, it is logical to the EVI neighbours
Accuse the MAC Address of main frame in LAN identifiers correspondence native vlan.
Receiving unit 402, is further used for receiving its native vlan configuration list item of any EVI neighbor advertisements.
It is preferred that
Notification unit 401, is further used for when receiving unit 402 receives its of any EVI neighbor advertisements for this
The LAN identifiers of ground VLAN distribution, and determine that the LAN identifiers carried in the notice are deposited in native vlan configuration list item
When, generation include EVI neighbours' edge-device identities, the distal end VLAN topology informations of distal end VLAN ID and LAN identifiers
List item.
Unit 403 is set up, for being carried in the MAC Address of its local host device according to the EVI neighbor advertisements received
VLAN ID described in notification unit 401 distal end VLAN topology list item in find corresponding LAN identifiers, according to lookup
To LAN identifiers find corresponding VLANID in native vlan configuration list item, distal end VLAN ID are mapped as this
Ground VLAN ID, according to the MAC Address of the host device carried in the VLAN ID found, and notice, are locally building
Found the mac address forwarding table of respective hosts equipment.
It is preferred that
Receiving unit 402, is further used for receiving the message that EVI neighbours send.
Searching unit 404, is further used for when receiving unit 402 receives the message of its EVI neighbour transmission, decapsulation
The message received, the purpose VLAN ID that the decapsulation message is carried are found in the topological list items of the distal end VLAN
Corresponding LAN identifiers, corresponding VLAN is found according to the LAN identifiers found in the native vlan configures list item
ID, native vlan ID is mapped as by distal end VLAN ID, the target MAC (Media Access Control) address carried according to the decapsulation message and the mapping
Obtained native vlan ID is searched in mac address forwarding table.
Transmitting element 405, is further used for forwarding the decapsulation message according to the lookup result of searching unit 404.
It is preferred that
Searching unit 404, is further used for when receiving unit 402 receives the wide of the lower extension host device transmission of this equipment
Text is reported, or when not finding in mac address forwarding table the message of target MAC (Media Access Control) address of the reception message, according to the reception
The corresponding LAN identifiers of VLAN described in message find corresponding edge device mark in the distal end VLAN topology information list items
Know, and trigger transmitting element 405 and the message is sent to the corresponding edge device of the edge-device identities.
It is preferred that
Transmitting element 405, is further used for the message carrying out EVI encapsulation and when being sent to corresponding EVI neighbours, by this
The purpose VLAN ID of message are revised as the local corresponding VLAN ID of the EVI neighbours, wherein, the EVI neighbours are corresponding
VLAN ID configure list item according to the native vlan and VLAN topological list items in distal end are determined.
Searching unit 404, is further used for when receiving unit 402 receives the message that any EVI neighbours send,
The message received is decapsulated, the purpose VLAN and target MAC (Media Access Control) address that are carried according to the decapsulation message is in local MAC
Searched in the forwarding-table item of location, and the decapsulation message is forwarded according to lookup result.
The unit of above-described embodiment can be integrated in one, and can also be deployed separately;A unit is can be merged into, also may be used
To be further split into multiple subelements.
In summary, in the specific embodiment of the invention by edge device by the MAC Address of host device in native vlan
It is advertised to needs and the EVI neighbours where other VLAN of the VLAN intercommunications;And according to the notice of EVI neighbours, set up to correspondence
The mac address forwarding table of host device, and according to the forwarding of the mac address forwarding table progress message, can be in reduction pair
In the case that existing network is transformed, the two layers of VLAN forwardings of EVI neighbours' span are realized.
The MAC Address for carrying out EVI neighbours according to VLAN topologys in a particular embodiment is noticed, uncorrelated topological MAC Address
Related EVI neighbours are not sent, the burden of protocol processes is reduced, and improve protocol processes efficiency.
Also introduce VLAN in a particular embodiment to consult and modification mechanism, the topological span to station network internal shield
The support of VLAN forwardings, the forwarding of station network built-in message need not perceive the difference between two station networks.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.It is all
Within the spirit and principles in the present invention, any modification, equivalent substitution and improvements made etc. should be included in the protection of the present invention
Within the scope of.
Claims (8)
1. message forwarding method between a kind of Ethernet virtualization interconnection EVI neighbours, applied to the EVI groups including multiple edge devices
In net, EVI neighborhoods are set up between the multiple edge device, it is characterised in that this method includes:
The MAC Address of host device in native vlan is advertised to by edge device needs other VLAN places with the VLAN intercommunications
EVI neighbours;
When the edge device receives the MAC Address of its local host device of EVI neighbor advertisements, set up and arrive respective hosts equipment
MAC Address forwarding-table item;
When the edge device receives the message that lower extension host device is sent, the target MAC (Media Access Control) address carried according to the message is in institute
State in mac address forwarding table and search, when according to lookup result determining that EVI neighbours need to be transmitted to, the message is subjected to EVI envelopes
Fill and be sent to corresponding EVI neighbours;
The MAC Address of host device in native vlan is advertised to by the edge device needs other VLAN with the VLAN intercommunications
The edge device at place, including:
The edge device is that native vlan distributes local network LAN identifier, sets up native vlan configuration list item, and by native vlan
Configuration list item is advertised to each EVI neighbours;Wherein, native vlan configuration list item is the VLAN ID of the native vlan and LAN of distribution
The corresponding relation of identifier, the method for salary distribution of the LAN identifiers is:To need the VLAN distribution identical LAN marks of intercommunication
Symbol;
The edge device receives the native vlan configuration list item notice of its EVI neighbour transmission, determines the LAN marks carried in the notice
Symbol is known in the presence of local, the MAC Address of main frame into EVI neighbor advertisements LAN identifiers correspondence native vlan;
The edge device receives the native vlan configuration list item notice of its EVI neighbour transmission, determines the LAN marks carried in the notice
Symbol is known in the presence of local, is further comprised:Generation includes EVI neighbours' edge-device identities, distal end VLAN ID and LAN
The distal end VLAN topology information list items of identifier;
Accordingly, the edge device sets up the forwarding-table item to the MAC Address of respective hosts equipment, including:According to the EVI received
The VLAN ID carried in the MAC Address of its local host device of neighbor advertisement are searched in the topological list items of the distal end VLAN
To corresponding LAN identifiers, found according to the LAN identifiers found in the native vlan configures list item corresponding
VLAN ID, native vlan ID is mapped as by distal end VLAN ID, and according to the MAC Address of the host device carried in notice, with
And the mac address forwarding table of respective hosts equipment is being locally created in the native vlan ID that mapping is obtained.
2. according to the method described in claim 1, it is characterised in that methods described further comprises:
When the edge device receives the message of its EVI neighbour transmission, the message received is decapsulated, by the decapsulation message
The purpose VLAN ID of carrying find corresponding LAN identifiers in the topological list items of the distal end VLAN, according to what is found
LAN identifiers find corresponding VLAN ID in native vlan configuration list item, and distal end VLAN ID are mapped as locally
VLAN ID, the native vlan ID that the target MAC (Media Access Control) address and the mapping carried according to the decapsulation message is obtained is in MAC Address
Searched in forwarding-table item, and the decapsulation message is forwarded according to lookup result.
3. method according to claim 1 or 2, it is characterised in that methods described further comprises:
The edge device receives its lower message for hanging host device transmission, is broadcasting packet in reception message or turns in MAC Address
When not finding the target MAC (Media Access Control) address of the reception message in delivering, according to the corresponding LAN identifiers of the affiliated VLAN of the reception message
Corresponding edge-device identities are found in the distal end VLAN topology information list items, and the message is sent to what is found
The corresponding edge device of edge-device identities.
4. according to the method described in claim 1, it is characterised in that described that the message is subjected to EVI encapsulation and correspondence is sent to
EVI neighbours when, methods described further comprises:
The purpose VLAN ID of the message are revised as the local corresponding VLAN ID of the EVI neighbours, wherein, the EVI neighbours
Corresponding VLAN ID configure list item according to the native vlan and VLAN topological list items in distal end are determined;
When the edge device receives the message that any EVI neighbours send, the message received is decapsulated, according to the solution
The purpose VLAN and target MAC (Media Access Control) address that encapsulated message is carried are searched in local mac address forwarding table, and are tied according to searching
Fruit forwards the decapsulation message.
5. a kind of edge device, can be applied in Ethernet virtualization interconnection EVI networkings, each edge in the EVI networkings is set
It is standby to set up EVI neighborhoods, it is characterised in that the edge device includes:Notification unit, receiving unit, set up unit, lookup
Unit and transmitting element;
The notification unit, for by the MAC Address of host device in native vlan be advertised to need with the VLAN intercommunications its
EVI neighbours where his VLAN;
The receiving unit, the MAC Address of its local host device for receiving EVI neighbor advertisements;Receive this edge device
It is lower to hang the message that host device is sent;
It is described to set up unit, the MAC Address of its local host device of EVI neighbor advertisements is received for the receiving unit
When, set up the forwarding-table item to the MAC Address of respective hosts equipment;
The searching unit, for when the receiving unit receive under this edge device hang host device send message when,
The target MAC (Media Access Control) address carried according to the message is searched in the mac address forwarding table for setting up unit foundation;
The transmitting element, for when the searching unit according to lookup result determines that EVI neighbours need to be transmitted to, by the message
Carry out EVI encapsulation and be sent to corresponding EVI neighbours;
The notification unit, for distributing LAN identifiers for native vlan, sets up native vlan configuration list item, and will be local
VLAN configuration list items are advertised to each EVI neighbours, wherein, native vlan configuration list item for native vlan VLAN ID and
The corresponding relation of the local network LAN identifier of distribution, the method for salary distribution of the LAN identifiers is:To need VLAN points of intercommunication
With identical LAN identifiers;When the receiving unit receives what its of any EVI neighbor advertisements distributed for native vlan
LAN identifiers, and the LAN identifiers carried in the notice are determined in the presence of the native vlan is configured in list item, to the EVI
The MAC Address of main frame in neighbor advertisement LAN identifiers correspondence native vlan;
The receiving unit, is further used for receiving the native vlan configuration list item notice that any EVI neighbours send;
The notification unit, it is local to be further used for when the receiving unit receives its of any EVI neighbor advertisements
The LAN identifiers of VLAN distribution, and determine that the LAN identifiers carried in the notice exist in native vlan configuration list item
When, generation includes the distal end VLAN topology information tables of EVI neighbours' edge-device identities, distal end VLAN ID and LAN identifiers
;
It is described to set up unit, carried in the MAC Address for its local host device according to the EVI neighbor advertisements received
VLAN ID find corresponding LAN identifiers described in the notification unit in distal end VLAN topologys list item, according to finding
LAN identifiers find corresponding VLAN ID in native vlan configuration list item, distal end VLAN ID are mapped as this
Ground VLAN ID, according to the MAC Address of the host device carried in the VLAN ID found, and notice, are locally building
Found the mac address forwarding table of respective hosts equipment.
6. edge device according to claim 5, it is characterised in that
The receiving unit, is further used for receiving the message that EVI neighbours send;
The searching unit, is further used for when the receiving unit receives the message of its EVI neighbour transmission, decapsulation should
The message received, the purpose VLAN ID that the decapsulation message is carried are found pair in the topological list items of the distal end VLAN
The LAN identifiers answered, corresponding VLAN is found according to the LAN identifiers found in the native vlan configures list item
ID, native vlan ID is mapped as by distal end VLAN ID, the target MAC (Media Access Control) address carried according to the decapsulation message and the mapping
Obtained native vlan ID is searched in mac address forwarding table;
The transmitting element, is further used for forwarding the decapsulation message according to the lookup result of the searching unit.
7. the edge device according to claim 5 or 6, it is characterised in that
The searching unit, is further used for the broadcast sent when the lower extension host device that the receiving unit receives this equipment
Message, or when not finding in mac address forwarding table the message of target MAC (Media Access Control) address of the reception message, according to the reception report
The corresponding LAN identifiers of the text VLAN find corresponding edge device mark in the distal end VLAN topology information list items
Know, and trigger the transmitting element and the message is sent to the corresponding edge device of the edge-device identities.
8. edge device according to claim 5, it is characterised in that
The transmitting element, is further used for the message carrying out EVI encapsulation and when being sent to corresponding EVI neighbours, this is reported
The purpose VLAN ID of text are revised as the local corresponding VLAN ID of the EVI neighbours, wherein, the corresponding VLAN of the EVI neighbours
ID configures list item according to the native vlan and VLAN topological list items in distal end are determined;
The searching unit, is further used for when the receiving unit receives the message that any EVI neighbours send, solution
The message received is encapsulated, the purpose VLAN and target MAC (Media Access Control) address carried according to the decapsulation message is in local MAC Address
Searched in forwarding-table item, and the decapsulation message is forwarded according to lookup result.
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 CN103731349A (en) | 2014-04-16 |
CN103731349B true 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) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105635224B (en) * | 2014-11-07 | 2021-01-22 | 中兴通讯股份有限公司 | Information distribution method and system |
US10050876B2 (en) * | 2014-11-12 | 2018-08-14 | Cisco Technology, Inc. | Optimized inter-VRF (virtual routing and forwarding) route leaking in network overlay based environments |
CN105099941B (en) * | 2015-06-19 | 2018-09-04 | 新华三技术有限公司 | A kind of message processing method and device |
CN108259347B (en) | 2017-05-19 | 2020-01-03 | 新华三技术有限公司 | Message transmission method and device |
CN109246162A (en) * | 2017-07-10 | 2019-01-18 | 中兴通讯股份有限公司 | Mac address information synchronous method, equipment and storage medium |
CN107911495B (en) * | 2017-11-16 | 2020-12-04 | 新华三技术有限公司 | MAC address synchronization method and VTEP |
CN109218202B (en) * | 2018-08-24 | 2021-05-07 | 新华三技术有限公司 | Route synchronization method and device |
CN110224844B (en) * | 2019-07-26 | 2021-01-15 | 宙安科技河北有限公司 | Scheduling method and system of virtual private network |
CN112866076B (en) * | 2020-12-30 | 2022-09-16 | 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) | Ethernet virtual private network, operator equipment and customer side equipment |
CN114448752B (en) * | 2022-04-07 | 2022-09-09 | 杭州优云科技有限公司 | Multi-subnet communication method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007030970A1 (en) * | 2005-09-12 | 2007-03-22 | Zte Corporation | A system for cluster managing in the ethernet switch layer and the method thereof |
CN101047583A (en) * | 2006-03-31 | 2007-10-03 | 株式会社日立制作所 | Passive optical network system and correlation method for support virtual local network service |
CN101877671A (en) * | 2009-12-02 | 2010-11-03 | 北京星网锐捷网络技术有限公司 | Sending method of mirror image message, switch chip and Ethernet router |
Family Cites Families (5)
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 |
US8166205B2 (en) * | 2007-07-31 | 2012-04-24 | Cisco Technology, Inc. | Overlay transport virtualization |
US7944860B2 (en) * | 2009-06-04 | 2011-05-17 | Cisco Technology, Inc. | Preventing loss of network traffic due to inconsistent configurations within the network |
CN102594711B (en) * | 2012-03-28 | 2014-11-26 | 杭州华三通信技术有限公司 | Message forwarding method and edge device therefor |
CN102611634A (en) * | 2012-04-20 | 2012-07-25 | 杭州华三通信技术有限公司 | IP (Internet protocol) network access method and edge device |
-
2012
- 2012-10-16 CN CN201210392675.6A patent/CN103731349B/en active Active
-
2013
- 2013-08-07 WO PCT/CN2013/080987 patent/WO2014059814A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2007030970A1 (en) * | 2005-09-12 | 2007-03-22 | Zte Corporation | A system for cluster managing in the ethernet switch layer and the method thereof |
CN101047583A (en) * | 2006-03-31 | 2007-10-03 | 株式会社日立制作所 | Passive optical network system and correlation method for support virtual local network service |
CN101877671A (en) * | 2009-12-02 | 2010-11-03 | 北京星网锐捷网络技术有限公司 | Sending method of mirror image message, switch chip and Ethernet router |
Also Published As
Publication number | Publication date |
---|---|
WO2014059814A1 (en) | 2014-04-24 |
CN103731349A (en) | 2014-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103731349B (en) | Message forwarding method and edge device between a kind of Ethernet virtualization interconnection neighbours | |
CN103685022B (en) | Message forwarding method and service provider network edge equipment | |
CN106209643B (en) | Message forwarding method and device | |
CN103795631B (en) | Deploy the flow forwarding method and equipment in the network of Ethernet virtual link | |
CN102368727B (en) | Crossed IP network TRILL network communication method, system thereof and devices | |
CN102801625B (en) | A kind of method of heterogeneous network double layer intercommunication and equipment | |
CN105099846B (en) | The method and supplier edge device of data message transmission | |
EP3188422B1 (en) | Traffic black holing avoidance and fast convergence for active-active pbb-evpn redundancy | |
CN102932499B (en) | Method and device for learning media access control (MAC) addresses in virtual private lan service (VPLS) networks | |
CN106664252A (en) | Method, device and system for realizing service link | |
CN102739501B (en) | Message forwarding method and system in two three layer virtual private networks | |
CN111937358A (en) | Multiple VRF generic device internet protocol addresses for fabric edge devices | |
CN103209132B (en) | Method, device and system for implementing multicast in transparent interconnection of multiple links (TRILL) network | |
CN104168184A (en) | Message forwarding method and device | |
CN102859973A (en) | Method, apparatus and system for address resolution | |
CN105187311B (en) | A kind of message forwarding method and device | |
CN102316028A (en) | Method and apparatus for sending internet protocol packet | |
CN103795630B (en) | The message transmitting method and device of a kind of label exchange network | |
CN102064999B (en) | Method and equipment for forwarding multicast message | |
CN103326915A (en) | Method, device and system for achieving three-layer VPN | |
CN102571375B (en) | Multicast forwarding method and device as well as network device | |
CN102821165A (en) | Method and device for converting internet protocol (IP) address | |
CN104092554A (en) | Multicast distribution tree establishment method and device | |
EP3018866A1 (en) | Signaling aliasing capability in data centers | |
CN104009919B (en) | Message forwarding method and 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 |