CN104243260B - Ethernet virtualization internet network interconnecting method and edge device - Google Patents

Ethernet virtualization internet network interconnecting method and edge device Download PDF

Info

Publication number
CN104243260B
CN104243260B CN201310251651.3A CN201310251651A CN104243260B CN 104243260 B CN104243260 B CN 104243260B CN 201310251651 A CN201310251651 A CN 201310251651A CN 104243260 B CN104243260 B CN 104243260B
Authority
CN
China
Prior art keywords
cluster
mac
evi
reflectors
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.)
Active
Application number
CN201310251651.3A
Other languages
Chinese (zh)
Other versions
CN104243260A (en
Inventor
乔辉
林鹏程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201310251651.3A priority Critical patent/CN104243260B/en
Publication of CN104243260A publication Critical patent/CN104243260A/en
Application granted granted Critical
Publication of CN104243260B publication Critical patent/CN104243260B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention proposes Ethernet virtualization internet network interconnecting method and edge device.Method includes:EVI networks are made of cluster and non-client, and the cluster is by a MAC reflector with one or more customer facilities into the non-client, MAC reflectors, client computer are all edge device;Client computer and the MAC reflectors of this cluster establish EVI Link, establish EVI Link between MAC reflectors, between MAC reflectors and non-client two-by-two;Client computer notices unicast mac address to MAC reflectors, and MAC reflectors are advertised to this cluster other client computer to each EVI neighbor advertisements unicast mac address, and by the unicast mac address of client computer;Edge device according to each EVI neighbor advertisements come unicast mac address learn MAC Address list item, according to mac address table forwarding data packets.The present invention reduces the numbers of EVI Link.

Description

Ethernet virtualization internet network interconnecting method and edge device
Technical field
The present invention relates to Ethernet virtualizations to interconnect(EVI, Ethernet Virtualization Interconnection)Technical field more particularly to EVI network interconnecting methods and edge device.
Background technology
EVI is a kind of advanced " MAC in IP " technology, is used to implement based on Internet Protocol(IP, Internet Protocol)The L 2 virtual private network of core network(VPN, Virtual Private Network)Technology.It can be based on existing Some service providing networks and business event, the physical site for dispersion provide two layers of interconnecting function.EVI is only on the side of website Maintaining routing information and forwarding information in edge equipment, without changing routing and the forwarding information of Intra-site and IP core network.
Fig. 1 is the networking schematic diagram of existing EVI overall networks, as shown in Figure 1, EVI overall networks are by station network, friendship Folded network and core network composition.Station network is by one or more edge of table equipment are connected to having solely for core network The double layer network of vertical business function is usually controlled by single organization and administration, is mainly made of host and switching equipment, edge device Layer2 switching function between website is provided.Crossover network is the virtual network established between website edge device, provides website Two layers of interconnection between network, mutually notice are connected to the All hosts of edge device and the media access control of router (MAC, Media Access Control)Multiple websites are interconnected the two layers of forwarding domain to form bigger by address.Core network master The network interconnected between station network is carried by IP routing devices.
EVI technologies are that a kind of to solve to be distributed in, to realize that double layer network interconnection is released between the data center in strange land whole Body solution.EVI networks pass through EVI Neighbor Discovery Protocols(ENDP, EVI Neighbor Discovery Protocol)Hair After existing neighbours, EVI- links are established between neighbours(Link).Later, EVI networks pass through EVI Intermediate System-to-Intermediate Systems (IS-IS, Intermediate System to Intermediate System)Agreement is noticed host and is set between sites Standby mac address information.After having interacted mac address information, after edge device slave site receives message, it is possible to according to Mac address table searches corresponding EVI-Link, connects the side of purpose website after message is encapsulated by being sent to EVI-Link Edge equipment.
EVI realizes cross-site neighbours' discovery feature by ENDP.There are two entities in entire EVI neighbours have found: EVI neighbours have found client(ENDC, EVI Neighbor Discovery Client)Server is found with EVI neighbours (ENDS, EVI Neighbor Discovery Server).ENDS is used for safeguarding ENDC letters all in same EVI networks Breath;The study of neighbours is completed in ENDC cooperations, and establishes EVI-Link with neighbours.
Fig. 2 gives the existing message flow chart that neighbours' discovery is carried out using ENDP, as shown in Fig. 2, its specific steps It is as follows:
Step 200:ENDS, ENDC are disposed on website edge device.
Step 201:ENDC initiates ENDP login request messages to ENDS, which carries this ENDC information.
Step 202:ENDS returns to ENDP registration reply messages to ENDC, and all ENDC information are carried in message.
Step 203:After ENDC receives ENDP registration reply messages, established with other ENDC point-to-point(P2P)Tunnel, i.e., EVI-Link。
EVI IS-IS are operated on EVI-Link, and the EVI-Link between edge device starts(UP)Afterwards, it needs to pass through EVI IS-IS carries out the interaction of information between edge device.
Fig. 3 gives the method flow diagram that existing EVI neighbours establish process, as shown in figure 3, it is as follows:
Step 301:The is-is process of the control plane of edge device sends out the Hello that purpose is other edge devices and reports Text.
Step 302:Edge device carries out tunnel encapsulation to hello packet.
Step 303:The data plane of edge device gives message unicast to other edge devices.
Step 304:Other edge devices receive message, and message is decapsulated, by message up sending control plane Is-is process.
Step 305:The is-is process of the control plane of other edge devices receives hello packet.
The link state packets that the MAC Address of website passes through interaction between website in EVI networks(LSP, Link State Packet Data Unit)Message brings other side, and lower brush data plane, so as to fulfill the foundation of the forward-path between website. Different from IS-IS, EVI Intermediate System to Intermediate System is operated on EVI Link, actually P2P tunnels, so the interaction only occurs in Between two endpoints of EVI Link, without flooding for LSP, i.e. the propagation of LSP only has a jump, and this requires all edges Equipment room must be set up connecting entirely.
For the MAC address learning of Intra-site in EVI networks, in each station network, edge device is by source MAC Location learning process establishes local mac address table.
MAC Address between website in EVI networks is noticed, edge device is established by the automatic discovery procedure of neighbours Between EVI networks after, on the EVI networks run EVI Intermediate System to Intermediate System give local mac address information announcement to other stations Point.In this way, each website can get the MAC Address of other websites.
It is established between edge device after neighborhood and interaction MAC Address, it is possible to the converting flow between website.
For flow in website, edge device searches mac address table according to target MAC (Media Access Control) address, from corresponding local interface Forwarding.As shown in Figure 1, setting the MAC Address of host A as Mac1, the MAC Address of host B is Mac2, and host A sends ethernet frame During to host B, edge device searches mac address table and obtains going out for Mac2 after port Ethernet 1/1 receives the ethernet frame Interface is Ethernet1/2, then sends ethernet frame from port Ethernet 1/2.
For flow between website, as shown in Figure 1, the MAC Address of the host A in website 1 is set as Mac1, the master in website 3 The MAC Address of machine C is Mac3, then the transmission process for the ethernet frame that host A is sent to host C is specific as follows:
Step 01:After edge device A receives the ethernet frame, according to target MAC (Media Access Control) address table search local mac address Table, obtained outgoing interface is not local physical interface, but EVI-Link interfaces:EVI-Link0.
Step 02:Edge device A carries out EVI encapsulation to original Ethernet frame, that is, adds generic route encapsulation(GRE, Generic Routing Encapsulation)Head, outer layer IP heads, the source IP address in outer layer IP are EVI-Link0 correspondences Tunnel source IP address, purpose IP address is the corresponding tunnel purpose IP address of EVI-Link0.
Step 03:Message after encapsulation is sent to core net by edge device A, eventually arrives at the edge device of strange land website C。
Step 04:Edge device C decapsulates message.
Step 05:Edge device C is locally carrying out target MAC (Media Access Control) address lookup according to the ethernet frame after decapsulation, obtains Outgoing interface for local interface Ethernet1/1, send ethernet frame from the interface.Finally, ethernet frame reaches destination host C。
Edge device runs Internet Group Management Protocol on extension VLAN(IGMP, Internet Group Management Protocol)Snooping(Snooping)/ multicast listener is found(MLD, Multicast Listener Discovery)Snooping agreements, by the EVI-Link interfaces between edge device as common Ethernet interface, at this Learn router port on the interface of type(R-Port)And member port(H-Port), so as to form second-layer multicast forwarding table. Edge device is by IGMP/MLD, Protocol Independent Multicast(PIM, Protocol Independent Multicast)Protocol massages into After row EVI encapsulation, other website edge devices of strange land for possessing identical extension VLAN are sent to by the unicast of EVI tunnels, these Edge device is flooded in extension VLAN inside the site-local.
Fig. 4 is the schematic diagram of the existing interaction multicast packet between the strange land host of identical VLAN, as shown in figure 4, It is as follows:
Step 401:The multicast message that multicast source is sent out reaches Designated Router(DR, Designated Router), DR hairs Give the multicast message.
Step 402:The edge device of website where the multicast message reaches multicast source, edge device carry out multicast message After duplication, it is sent to all multicast member interfaces.Wherein, if multicast group member port is EVI-Link interfaces, after duplication Multicast message carry out EVI tunnel encapsulations.
Step 403:Multicast message unicast after EVI tunnel encapsulations is sent to each EVI-Link interfaces and corresponded to by edge device Other edge devices.
Step 404:Other edge devices decapsulate multicast message, according to local multicast forwarding table member port into Row replicates.
Step 405:Other edge devices send multicast message from local member port, finally reach member host.
The shortcomings that existing EVI networks, is as follows:
First, it in order to meet the requirement of EVI IS-IS, needs to connect entirely between edge device.Assuming that there is n edge of table in EVI networks Edge equipment, then the EVI-Link quantity that should be established is n (n-1)/2.When there are many edge device number, to Internet resources and Central processing unit(CPU, Central Processing Unit)The consumption of resource is all very big, can also increase edge device Pressure.
If the 2, the host migration in website is migrated to another website, i.e. MAC Address, in existing realization, side Edge equipment can notify all edge devices, when a large amount of MAC Address migrate, can lead to edge device pressure too by LSP Greatly.
Invention content
The present invention provides EVI network interconnecting methods and edge device, to reduce the EVILink quantity in EVI networks, reduces The pressure of edge device.
The technical proposal of the invention is realized in this way:
A kind of Ethernet virtualization interconnection EVI network interconnecting methods, the EVI networks are by cluster and are not belonging to any cluster Non-client form, the cluster is by a media access control MAC reflector and one or more customer facilities into each Cluster is mutual indepedent, and the non-client, MAC reflectors, client computer are all edge device, and this method includes:
MAC reflectors establish EVI with each client computer of this cluster, the MAC reflectors of other clusters and each non-client Link;
MAC reflectors are by local all unicast mac address+cluster ID by each EVI link advertisements to EVI neighbours;
MAC reflectors forward all unicast mac address in local of the client computer of client computer notice any in this cluster To other client computer in this cluster;
All unicast mac address+this collection in local for each client computer that MAC reflectors notice All Clients in this cluster Group ID is advertised to the EVI neighbours outside this cluster;
MAC reflectors learn the corresponding MAC Address list item of local all unicast mac address;Simultaneously also according to each EVI neighbours The unicast mac address or unicast mac address+cluster ID that notice comes, learn MAC Address list item;
MAC reflectors are according to the mac address table forwarding data packets of itself.
The MAC reflectors are established with each client computer of this cluster, the MAC reflectors of other clusters and each non-client EVI links include:
MAC reflectors receive the EVI Neighbor Discovery Protocol ENDP registration request messages that each client computer in this cluster is sent, ENDP registration response messages are returned to each client computer, which carries the IP address of this MAC reflectors and cluster ID, with visitor Family machine establishes EVI links;
MAC reflectors find that server ENDS sends ENDP registration request messages to EVI neighbours, which carries this MAC The IP address of reflector and cluster ID, receive the ENDP response messages that ENDS is returned, which carries all MAC reflectors And non-client information, the content of message establishes EVI to MAC reflectors with other MAC reflectors and each non-client according to response Link.
The method further includes:
When MAC reflectors find that this cluster has newly moved into MAC Address, judge the MAC Address from cluster internal still Outside cluster, if from cluster internal, corresponding list item is searched in mac address table, updates the outgoing interface ID of the list item, and The MAC Address is sent to the former edge device belonging to the MAC Address, so that former edge device deletes corresponding MAC Address list item; If coming from outside cluster, all EVI neighbours which being advertised to outside this cluster;
The MAC reflectors find that this cluster has newly moved into MAC Address and has been:MAC reflectors find locally newly to have moved into MAC Address;Alternatively, MAC reflectors receive the MAC Address that the client computer of the client computer notice in this cluster is locally newly moved into.
A kind of EVI network interconnecting methods, the EVI networks are made of cluster with the non-client for being not belonging to any cluster, The cluster by a MAC reflector and one or more customer facilities into, each cluster is mutual indepedent, the non-client, MAC reflectors, client computer are all edge device, and this method includes:
Client computer and the MAC reflectors of this cluster establish EVI links;
Local all unicast mac address+this cluster identity ID are given the MAC of this cluster by client computer by EVI link advertisements Reflector;
Client computer receives the unicast mac address that the MAC reflectors of this cluster are sent, wherein, the MAC reflectors hair of this cluster The unicast mac address come includes:All unicast mac address in local of the MAC reflectors and other client computer of this cluster are led to It accuses to all unicast mac address in local of other client computer of the MAC reflectors;
All unicast MAC that client computer is sent according to the MAC reflectors of local all unicast mac address and this cluster Address learns MAC Address list item;Meanwhile a default mac address list item is added in mac address table, go out to connect in the list item EVI LI(link interface) IDs of the mouth ID between this client computer and the MAC reflectors of this cluster;
Client computer is according to the mac address table forwarding data packets of itself.
The MAC reflectors of the client computer and this cluster are established EVI links and are included:
Client computer initiates EVI Neighbor Discovery Protocol ENDP registration request messages to the MAC reflectors of this cluster, which takes IP address with this client computer and cluster ID;Client computer receives the ENDP registration reply messages that the MAC reflectors of this cluster return, The message carries the IP address of the MAC reflectors and cluster ID, and EVI links are established with the MAC reflectors.
The client computer includes according to the mac address table forwarding data packets of itself:
When client computer receives unicast data message from Ethernet interface, purpose is searched in the mac address table of itself MAC Address corresponds to list item, if finding, is E-Packeted according to the list item;If not finding, according to default mac address table Message is sent to the MAC reflectors of this cluster by item;
It is when client computer receives the multicast packet from Designated Router DR, this client computer and the MAC of this cluster is anti- EVI LI(link interface)s between emitter are added to the multicast member mouth of the multicast group, so that the multicast packet can pass through the group Broadcast the MAC reflectors that member port is sent to this cluster.
A kind of edge device, in EVI networks, the EVI networks are by cluster and the non-customer for being not belonging to any cluster Mechanism is into the cluster is by a MAC reflector with one or more customer facilities into each cluster is mutual indepedent, described non- Client computer, MAC reflectors, client computer are all edge device, which includes:
Configuration module:Information and affiliated cluster ID of the minute book edge device for MAC reflectors, record ENDS information;
EVI link establishment modules:According to the information that configuration module records, each client computer, other clusters with this cluster MAC reflectors and each non-client establish EVI links;
Unicast mac address announcement module:Local all unicast mac address+cluster ID are given by each EVI link advertisements EVI neighbours;Receive unicast mac address or the unicast mac address+cluster ID that each EVI neighbor advertisements come;It will appoint in this cluster All unicast mac address in local of the client computer of one client computer notice are transmitted to other client computer in this cluster;By this cluster The EVI that all unicast mac address in local+this cluster ID of each client computer of interior All Clients notice is advertised to outside this cluster is adjacent It occupies;
MAC address learning module:The study locally corresponding MAC Address list item of all unicast mac address, and according to each EVI The unicast mac address or unicast mac address+cluster ID that neighbor advertisement comes, learn MAC Address list item;
Packet forwarding module:According to the MAC Address list item forwarding data packets learnt.
The edge device further comprises:
MAC migration process modules:When finding that this cluster has newly moved into MAC Address, judge the MAC Address in cluster Outside portion or cluster, if from cluster internal, corresponding list item is searched in mac address table, update the list item and go out to connect Mouth ID, and the MAC Address is sent to the former edge device belonging to the MAC Address, so as to former edge device with deleting corresponding MAC Location list item;If coming from outside cluster, all EVI neighbours which being advertised to outside this cluster.
The EVI link establishments module is further used for, and receives the ENDP registrations that each client computer in this cluster is sent and asks Message is sought, returns to ENDP registration response messages to each client computer, which carries the IP address and cluster of this MAC reflectors ID establishes EVI links with client computer;ENDP registration request messages are sent to ENDS, the message is with carrying the IP of this MAC reflectors Location and cluster ID, receive the ENDP response messages that ENDS is returned, which carries all MAC reflectors and non-client letter Breath, EVI links are established with other MAC reflectors and each non-client.
A kind of edge device, in EVI networks, the EVI networks are by cluster and the non-customer for being not belonging to any cluster Mechanism is into the cluster is by a MAC reflector with one or more customer facilities into each cluster is mutual indepedent, described non- Client computer, MAC reflectors, client computer are all edge device, which includes:
Configuration module:Information and affiliated cluster ID of the minute book edge device for client computer, record ENDS information;
EVI link establishment modules:According to the information that configuration module records, EVI chains are established with the MAC reflectors of this cluster Road;
Unicast mac address announcement module:Local all unicast mac address+this cluster identity ID are passed through into EVI link advertisements To the MAC reflectors of this cluster;The unicast mac address that the MAC reflectors of this cluster are sent is received, wherein, the MAC of this cluster is anti- The unicast mac address that emitter is sent includes:All unicast mac address in local of the MAC reflectors and other visitors of this cluster Family machine is advertised to all unicast mac address in local of other client computer of the MAC reflectors;
MAC address learning module:According to local all unicast mac address, and sent according to the MAC reflectors of this cluster All unicast mac address learn MAC Address list item;Meanwhile a default mac address list item is added in mac address table, it should EVI LI(link interface) IDs of the outgoing interface ID between this client computer and the MAC reflectors of this cluster in list item;
Packet forwarding module:According to the MAC Address list item forwarding data packets learnt.
The EVI link establishments module is further used for, and ENDP registration request reports are initiated to the MAC reflectors of this cluster Text, the message carry the IP address of this client computer and cluster ID;Receive the ENDP registration replies that the MAC reflectors of this cluster return Message, the message carry the IP address of the MAC reflectors and cluster ID, and EVI links are established with the MAC reflectors.
The packet forwarding module is further used for, when receiving unicast data message from Ethernet interface, in MAC Target MAC (Media Access Control) address is searched in the table of location and corresponds to list item, if finding, is E-Packeted according to the list item;If not finding, basis Message is sent to the MAC reflectors of this cluster by default mac address list item;When receiving the multicast packet from DR, it incite somebody to action this EVI LI(link interface)s between client computer and the MAC reflectors of this cluster are added to the multicast member mouth of the multicast group, so that should Multicast packet can be sent to the MAC reflectors of this cluster by the multicast member mouth.
Further comprise:
MAC migrates reporting module:It was found that local newly moved into MAC Address, which is advertised to the MAC of this cluster Reflector.
As it can be seen that present invention substantially reduces the EVI Link quantity in EVI networks, the pressure of edge device is reduced.
Description of the drawings
Fig. 1 is the networking schematic diagram of existing EVI overall networks;
Fig. 2 is the existing message flow chart that neighbours' discovery is carried out using ENDP;
Fig. 3 is the method flow diagram that existing EVI neighbours establish process;
Fig. 4 is the schematic diagram of the existing interaction multicast packet between the strange land host of identical VLAN;
Fig. 5 is the method flow diagram provided in an embodiment of the present invention that initial configuration is carried out in EVI networks;
Fig. 6 is the exemplary plot provided in an embodiment of the present invention that MAC Reflector are configured in EVI networks;
Fig. 7 is the neighbor discovering method flow chart in the EVI networks that the embodiment of the present invention one provides;
Fig. 8 is the neighbor discovering method flow chart in EVI networks provided by Embodiment 2 of the present invention;
Fig. 9 is the MAC address learning method flow diagram in EVI networks provided in an embodiment of the present invention;
Figure 10 is the unicast traffic retransmission method flow chart in EVI networks provided in an embodiment of the present invention;
Figure 11 is the method flow diagram of MAC Address migration process provided in an embodiment of the present invention;
Figure 12 is the composition schematic diagram of edge device that the embodiment of the present invention one provides;
Figure 13 is the composition schematic diagram of edge device provided by Embodiment 2 of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawings and specific embodiment the present invention is further described in more detail.
The core thinking of the present invention is as follows:
In order to reduce the full linking number of the logic of edge device, one or more edge device work is chosen in edge device For MAC reflectors(Reflector).For any Reflector, the selected part edge device conduct in remaining edge device The client computer of the Reflector(Client), wherein a Client can only belong to a Reflector.For any Reflector, the Reflector and its all Client form a cluster(Cluster).Neither Reflector is not yet It is that the edge device of Client is known as non-client(Non-Client).Wherein, each cluster is mutual indepedent, i.e., each Reflector and every Client uniquely belong to a cluster.
EVI Link to establish situation as follows:
1)Every Client establishes EVI Link with affiliated Reflector respectively, belongs to same Reflector two-by-two EVI Link are not established between Client;
2)EVI Link are established between Reflector two-by-two;
3)EVI Link are established between Non-Client two-by-two;
4)EVI Link are established with each Reflector respectively for any Non-Client, the Non-Client.
Fig. 5 is the method flow diagram provided in an embodiment of the present invention that initial configuration is carried out in EVI networks, as shown in figure 5, It is as follows:
Step 501:The edge device for selecting one or more performance higher in EVI networks is as MAC reflectors (Reflector);For every Reflector, selected section edge device, which is used as, in the remaining edge device of EVI networks is somebody's turn to do The Client of Reflector, wherein, Client and its affiliated Reflector belong to same cluster, are not belonging to the side of any cluster Edge equipment is as Non-Client, and each cluster is mutual indepedent, i.e., each Client and each Reflector can only be uniquely Belong to a cluster;ENDC or ENDS is disposed on the edge device of EVI networks, wherein, ENDS and Client are mutual exclusions, i.e., After one edge of table equipment is as Client, it is impossible to be re-used as ENDS.
Step 502:EVI tunnels are configured in every edge of table equipment, and if the edge device belong to a cluster, on the side Cluster ID is configured on every EVI tunnel of edge equipment.
Wherein, if edge device is ENDC, for the EVI tunnels being connect with ENDS, in addition to the source IP of configured tunneling technique Outside location, the purpose IP address of the IP address, i.e. tunnel of configuration ENDS is also needed.
If edge device is Client, for the EVI tunnels being connect with Reflector, in addition to the source IP of configured tunneling technique Outside address, the purpose IP address of the IP address, i.e. tunnel of configuration Reflector is also needed.
Fig. 6 is the exemplary plot provided in an embodiment of the present invention that MAC Reflector are configured in EVI networks, such as Fig. 6 institutes Show, edge device ED_A, ED_E are MAC Reflector, and edge device ED_B, ED_C are as Client and Reflector: ED_A collectively constitutes cluster 1, and edge device ED_F, ED_G are as Client and Reflector:ED_E collectively constitutes cluster 2, side Edge equipment ED_D is not belonging to any cluster, as Non-Client.
Fig. 7 is the neighbor discovering method flow chart in the EVI networks that provide of the embodiment of the present invention one, in the present embodiment, ENDS is not Reflector, as shown in fig. 7, it is as follows:
Step 701:For any Client, which initiates ENDP registration request reports to the Reflector of this cluster Text, the message carry this Client information and include:IP address, cluster ID of this Client etc..
Step 702:For any Reflector, ENDP notes that each Client which receives this cluster is sent Volume request message returns to ENDP registration reply messages to each Client of this cluster, which only carries this Reflector information Including:IP address, cluster ID of this Reflector etc..
Step 703:Any Client receives the ENDP registration reply messages that the Reflector of this cluster is returned, should P2P tunnels are established between Client and the Reflector, that is, establish EVI Link.
Step 704:Each Reflector and each Non-Client initiates ENDP registration request messages, the report to ENDS respectively Text carries this ENDC information and includes:IP address of this ENDC etc..
Step 705:EDNS receives the ENDP registration request messages that each Reflector and each Non-Client is sent, respectively ENDP registration reply messages are returned to each Reflector and each Non-Client, all Reflector and institute are carried in the message There is the ENDC information of Non-Client.
Step 706:After each Reflector and each Non-Client receives ENDP registration reply messages, two-by-two P2P is established between Reflector, two-by-two between Non-Client and between any Reflector and any Non-Client EVI Link are established in tunnel.
Fig. 8 is the neighbor discovering method flow chart in EVI networks provided by Embodiment 2 of the present invention, in the present embodiment, ENDS is Reflector, as shown in figure 8, it is as follows:
Step 801:For any Client, which initiates ENDP registration request reports to the Reflector of this cluster Text, the message carry this Client information and include:IP address, cluster ID of this Client etc..
Step 802:For any Reflector, ENDP notes that each Client which receives this cluster is sent Volume request message returns to ENDP registration reply messages to each Client of this cluster, which only carries this Reflector information Including:IP address, cluster ID of this Reflector etc..
Step 803:Any Client receives the ENDP registration reply messages that the Reflector of this cluster is returned, should P2P tunnels are established between Client and the Reflector, that is, establish EVI Link.
Step 804:Each Reflector and each Non-Client initiates ENDP notes to the Reflector as ENDS respectively Volume request message, the message carry this ENDC information and include:IP address of this ENDC etc..
Step 805:Reflector as ENDS receives the ENDP that other Reflector and each Non-Client are sent Registration request message returns to ENDP registration reply messages to other each Reflector and each Non-Client respectively, in the message Carry the ENDC information of all Reflector and all Non-Client.
Step 806:After other Reflector and each Non-Client receive ENDP registration reply messages, two-by-two Between Reflector(Including as between the Reflector of ENDS and other Reflector), two-by-two between Non-Client, And any Reflector(Including the Reflector as ENDS)P2P tunnels are established between any Non-Client, i.e., Establish EVI Link.
Fig. 9 is the MAC address learning method flow diagram in EVI networks provided in an embodiment of the present invention, as shown in figure 9, its It is as follows:
Step 901:For any Client, each local unicast mac address and Ben Ji which learns itself Group ID carries the MAC accessibilities in EVI IS-IS LSP messages(Reachability)Type lengths values(TLV, Type Length and Value)In, which is sent to the Reflector of this cluster by EVI Link.
Step 902:For any Reflector, each local unicast mac address which learns itself And this cluster ID is carried in the MAC accessibilities TLV of EVI IS-IS LSP messages, which is sent by each EVI Link Include to each EVI neighbours:Each edge device outside each Client and cluster of this cluster;When the Reflector receives this The LSP messages that any Client of cluster is sent, the MAC address learning MAC Address list item in message, while by the LSP Message is sent to each EVI neighbours by each EVI Link and includes:Each edge device outside each Client and cluster of this cluster.
As it can be seen that for Client, it need to only learn the MAC Address of host hung under the edge device in this cluster, and nothing It need to learn the MAC Address of the host outside this cluster;For Reflector, both need to learn under the edge device in this cluster The MAC Address of the host of extension, it is also desirable to learn the MAC Address for the host hung under the edge device outside cluster.
Due to the concept of cluster involved in the present invention, therefore, it is necessary to a collection group mark is added in mac address table (flag), for identifying the MAC Address learnt outside cluster internal or cluster.Such as:Setting is as cluster flag When being set to 0, represent that the MAC Address derives from cluster internal;When cluster flag is set to 1, represent the MAC outside cluster Portion.Wherein, since the MAC Address in Client can only derive from cluster internal, all MAC that Client learns The cluster flag of location should all be set to 0.
In the embodiment of the present invention, by the reservation in the MAC accessibilities TLV in LSP messages(RESV)Field definition is cluster Id field.Such as:When cluster ID is 0, represent there is no cluster in EVI networks;Real cluster ID can be identified with positive integer, Such as:1st, 2,3,4 ..., n, n are cluster sum.
MAC accessibility TLV forms after extension are as follows:
1)Type(Type):1 byte, usual value 0x93;
2)Length(Length):1 byte;
3)Value(Value):
Topology identifier(Topology-id):2 bytes give tacit consent to value 0;
Trust position(Confidence):1 byte gives tacit consent to value 1;
Cluster ID:4 bits(bit), when value is 0, represent no cluster;When value is positive integer, corresponding collection is represented Group ID;
VLAN ID(VLAN-ID):12bit.
Step 903:For any edge equipment, which receives the LSP messages that the EVI neighbours of itself send, By the MAC Address in message and incoming interface ID study in mac address table, and according to the cluster in the MAC accessibilities TLV of message Id field adds cluster flag of the MAC Address in the MAC Address list item learnt.
Specifically, if this edge device is Reflector, and the cluster id field in the MAC accessibilities TLV of LSP messages It is identical with the cluster ID of itself, then it is 0 by the cluster flag positions of the MAC Address in MAC Address list item, represents the MAC Address From cluster internal;Otherwise, it is 1 by the cluster flag positions of the MAC Address, represents the MAC Address outside cluster.
If edge device is Client, since it can only learn the MAC Address to the edge device of this cluster internal, because This, when it receives LSP messages, cluster flag of the MAC Address learnt should all be set to 0.
Due to being not establish EVI neighbours between the Client of same cluster internal, i.e., EVI Link are not established, therefore, It must could be learnt by Reflector to mutual MAC Address.
Step 904:For any Client, which adds a default mac address table in own MAC address table , the MAC Address in the list item is default mac address, and such as 0-0-0, outgoing interface ID is between this Client and Reflector EVI Link interface ID, cluster flag are 0.
For a Client, an EVI Link is only existed, i.e., it is between the Reflector of this cluster EVI Link, and its MAC Address that can only learn to hang the edge device in standby and this cluster under to itself, in this way, it is with appointing Flow between what remote equipment is required for forwarding by Reflector, and therefore, it is necessary to one is generated in its mac address table Default mac address list item, the EVI-Link interface ID that the outgoing interface ID of list item is the Reflector of this cluster, in this way, when it connects When receiving unknown unicast message, default mac address list item can be matched and forward the message to Reflector.
As shown in fig. 6, edge device ED_B(Client)On mac address table it is as shown in table 1 below:
MAC Address VLAN ID Outgoing interface ID MAC Address type Cluster flag
Mac-1 100 Eth1/1 It is local 0
Mac-2 100 Eth1/2 It is local 0
Mac-10 100 EVI-Link0 Distally 0
Mac-3 100 EVI-Link0 Distally 0
Mac-4 100 EVI-Link0 Distally 0
0-0-0 100 EVI-Link0 Acquiescence 0
Mac address table on 1 ED_B of table
As shown in fig. 6, edge device ED_A(Reflector)On mac address table it is as shown in table 2:
MAC Address VLAN ID Exit port ID MAC Address type Cluster flag
Mac-10 100 Eth1/1 It is local 0
Mac-1 100 EVI-Link0 Distally 0
Mac-2 100 EVI-Link0 Distally 0
Mac-3 100 EVI-Link1 Distally 0
Mac-4 100 EVI-Link1 Distally 0
Mac-5 100 EVI-Link2 Distally 1
Mac-6 100 EVI-Link2 Distally 1
Mac-7 100 EVI-Link2 Distally 1
Mac-8 100 EVI-Link2 Distally 1
Mac-9 100 EVI-Link2 Distally 1
Mac address table on 2 ED_A of table
Figure 10 is the unicast traffic retransmission method flow chart in EVI networks provided in an embodiment of the present invention, as shown in Figure 10, It is as follows:
Step 1001:Edge device receives unicast ethernet frame from the Ethernet interface of itself, according to the purpose MAC of frame Corresponding list item is searched in own MAC address table in address.
Step 1002:Edge device judges whether to find, if so, performing step 1003;Otherwise, step 1004 is performed.
Step 1003:Outgoing interface ID of the edge device in the list item found, frame is forwarded, goes to step 1007。
Here, if outgoing interface ID is local physical interface ID, directly frame is forwarded from outgoing interface;If go out to connect Mouth ID is EVI Link interface ID, then is forwarded again from outgoing interface after carrying out EVI encapsulation to frame.
As shown in fig. 6, host A sends out ethernet frame to host B, after edge device ED_B receives ethernet frame, according to purpose MAC Address Mac2 searches mac address table, and discovery outgoing interface is Eth1/2, then directly forwards the ethernet frame from Eth1/2.
Again as shown in fig. 6, host A sends out ethernet frame to host C, after edge device ED_B receives ethernet frame, according to mesh MAC Address Mac3 search mac address table, the outgoing interface obtained at this time is not local physical interface, but EVI Link interfaces: EVI-Link0 then carries out EVI encapsulation to original Ethernet frame, wherein, the source IP address in outer layer IP is EVI-Link0's Tunnel source IP address, purpose IP address are the tunnel purpose IP address of EVI-Link0.
Step 1004:Edge device is judged with the presence or absence of default mac address list item in the mac address table of itself, if so, holding Row step 1005;Otherwise, step 1006 is performed.
Step 1005:Edge device is forwarded processing to the ethernet frame, goes to according to the default mac address list item Step 1007.
As shown in fig. 6, host A sends out ethernet frame to host F, after edge device ED_B receives ethernet frame, in MAC Address Target MAC (Media Access Control) address Mac6 is searched in table, does not find, then processing is forwarded to ethernet frame according to default mac address list item, Outgoing interface in default mac address list item is EVI-Link0, then carries out EVI encapsulation to original Ethernet frame, wherein, outer layer IP The tunnel source IP address that source IP address in head is EVI-Link0, purpose IP address are the tunnel destination IPs of EVI-Link0 Location, the message can reach Reflector:ED_A;ED_A carries out EVI decapsulations to message, according to the ethernet frame after decapsulation Target MAC (Media Access Control) address:Mac6 finds outgoing interface as EVI-Link2, then again to ethernet frame in own MAC address table It carries out EVI encapsulation and forwards, message can eventually arrive at destination host F by ED_E, ED_F.
Step 1006:Edge device is by the ethernet frame according to unknown unicast Message processing.
Step 1007:Edge device receives unicast message from the EVI Link of itself, and EVI deblockings are carried out to message Dress searches own MAC address table, if finding corresponding list item, going out in list item according to the target MAC (Media Access Control) address after decapsulation Interface ID, forwards the packet away.
Here, if outgoing interface ID is local physical interface ID, directly message is forwarded from outgoing interface;If go out Interface ID is EVI Link interface ID, then is forwarded again from outgoing interface after carrying out EVI encapsulation to message.
As shown in fig. 6, host A sends out ethernet frame to host C, which reaches ED_A, ED_ through edge device ED_B After A receives message, EVI decapsulations are carried out to message, are searched according to the target MAC (Media Access Control) address Mac3 of the ethernet frame after decapsulation Mac address table, the outgoing interface found is not is local physical interface, but EVI-Link1, ED_A are to the ether after decapsulation Net frame carries out EVI encapsulation again, and the source IP address in outer layer IP is the tunnel source IP address of EVI-Link1, purpose IP address It is the tunnel purpose IP address of EVI-Link1, message is sent;Message after encapsulation reaches ED_C, ED_C to message into Row EVI is decapsulated, and mac address table, obtained outgoing interface are searched according to the target MAC (Media Access Control) address Mac3 of the ethernet frame after decapsulation It is local physical interface Eth1/1, ethernet frame is sent from the interface.Finally, ethernet frame reaches destination host C.
In this step 1007, if edge device does not find corresponding list item, by the message according to unknown unicast message at Reason, such as:It can be by the packet loss.
It is of the invention basically identical with transmitting multicast data flow in existing EVI networks for transmitting multicast data, it is different Part is, when edge device is Client, Client is by the EVI between this Client and the Reflector of this cluster Link interfaces are added to multicast member mouth, so that multicast packet can be sent to Reflector.
For flooding traffic, the process flow of the flooding traffic of the invention with existing EVI networks is consistent.
Figure 11 is the method flow diagram of MAC Address migration process provided in an embodiment of the present invention, as shown in figure 11, specific Step is as follows:
Step 1101:Host is newly moved into when the edge device discovery as Client is local, by the MAC Address of the host Carry the Reflector that this cluster is sent in LSP messages.
Step 1102:Reflector receives the LSP messages, and MAC Address is read from message, in own MAC address table Search the MAC Address.
Step 1103:Reflector judges whether to find corresponding list item, if so, performing step 1105;Otherwise, it performs Step 1104.
Step 1104:Reflector adds corresponding list item according to the LSP messages in own MAC address table, and should MAC Address is advertised to each EVI neighbours of itself by LSP messages, this flow terminates.
Step 1105:Going out in the MAC Address list item that Reflector is found with the incoming interface ID updates of the LSP messages Interface ID.
Step 1106:Whether the former outgoing interface ID in the MAC Address list item that Reflector judgements are found is directed toward this cluster An interior Client, if so, performing step 1107;Otherwise, step 1109 is directly performed.
Step 1107:Reflector sends the LSP messages for carrying the MAC Address to the Client, in message Confidence fields are set to 0.
Step 1108:Client receives the LSP messages, and it is 0 to find the Confidence fields in message, then will be in message MAC Address correspond to list item and deleted from own MAC address table, this flow terminates.
Step 1109:Each EVI of itself that the MAC Address is advertised to outside this cluster by Reflector by LSP messages is adjacent It occupies.
If the MAC Address newly moved into is located in own MAC address table, but its former outgoing interface ID is directed toward outside cluster, then is said The bright MAC Address is by being moved into outside cluster, at this point, the MAC Address to be advertised to each EVI neighbours outside cluster.
It should be noted that when the edge device as Reflector finds locally newly to have moved into host, also first to exist The MAC Address is searched in own MAC address table, then performs step 1103~1109.
As shown in fig. 6, the host A under edge device ED_B is moved under ED_C, ED_C will be moved into newly by LSP messages Mac1 notifies Reflector:ED_A;After ED_A receives LSP messages, it is found that Mac1 is present in itself MAC Address list item, Only outgoing interface ID is changed, then updates the outgoing interface ID of MAC Address list item, while according to former outgoing interface ID:EVI- Link0, to the LSP messages of ED_B transmission carryings Mac1, the Confidence in message is set to 0, and such ED_B receives LSP reports Wen Hou can delete list item where Mac1 from own MAC address table.
Figure 12 is the composition schematic diagram of edge device that the embodiment of the present invention one provides, which is located at EVI networks In, one or more edge device is as MAC Reflector in the EVI networks, for any Reflector, in remaining sides Client of the selected part edge device as the Reflector in edge equipment, any Reflector and its all Client shape Into a cluster, neither Reflector nor the edge device of Client as Non-Client, wherein, each cluster Independently of each other, as shown in figure 12, which includes:Configuration module 121, EVI Link are with establishing module 122, unicast MAC Location announcement module 123, MAC address learning module 124 and packet forwarding module 125, wherein:
Configuration module 121:Minute book edge device is the information of MAC Reflector and affiliated cluster ID, records ENDS Information.
EVI Link establish module 122:According to configuration module 121 record information, in this cluster each Client, with And other each Reflector and each non-Client establish EVI Link.
Unicast mac address announcement module 123:By the institute of Client notices each in local all unicast mac address, this cluster Have unicast mac address and cluster ID by EVI Link establish module 122 establish each EVI Link be advertised to it is each outside this cluster The unicast mac address of Client notices any in this cluster is transmitted to other Client in this cluster by EVI neighbours;It receives simultaneously Record unicast mac address or the unicast mac address+cluster ID that each EVI neighbor advertisements come.
MAC address learning module 124:According to local all unicast mac address and unicast mac address announcement module 123 The unicast mac address or unicast mac address and cluster ID that each EVI neighbours of record send, learn MAC Address list item.
Packet forwarding module 125:MAC Address list item forwarding data packets in MAC address learning module 124.
In practical applications, the edge device shown in Figure 12 may also include MAC migration process modules, for when this collection of discovery When group has newly moved into MAC Address, the MAC Address is judged outside cluster internal or cluster, if from cluster internal, Corresponding list item is searched in mac address table, updates the outgoing interface ID of the list item, and the MAC Address is sent to the MAC Address institute The former edge device of category, so that former edge device deletes corresponding MAC Address list item;If outside cluster, by the MAC Address All EVI neighbours being advertised to outside this cluster.
EVI Link establish module 122 and are further used for, and receive the ENDP registrations that each Client in this cluster is sent and ask Message is sought, returns to ENDP registration response messages to each Client, which carries the IP address and cluster of this Reflector ID establishes EVI Link with Client;ENDP registration request messages are sent to ENDS, receive the ENDP response reports that ENDS is returned Text, which carries all Reflector and Non-Client information, with other Reflector and each Non-Client Establish EVI Link.
Figure 13 is the composition schematic diagram of edge device provided by Embodiment 2 of the present invention, which is located at EVI networks In, one or more edge device is as MAC Reflector in the EVI networks, for any Reflector, in remaining sides Client of the selected part edge device as the Reflector in edge equipment, any Reflector and its all Client shape Into a cluster, neither Reflector nor the edge device of Client as Non-Client, wherein, each cluster Independently of each other, as shown in figure 13, which includes:Configuration module 131, EVI Link are with establishing module 132, unicast MAC Location announcement module 133, MAC address learning module 134 and packet forwarding module 135, wherein:
Configuration module 131:Minute book edge device is the information of Client and affiliated cluster ID, records ENDS information.
EVI Link establish module 132:According to the information that configuration module 131 records, established with the Reflector of this cluster EVI Link。
Unicast mac address announcement module 133:Local all unicast mac address and cluster ID are established by EVI Link The EVI Link that module 132 is established are advertised to the Reflector of this cluster;It receives and the Reflector of minute book cluster is sent Unicast mac address, wherein, the unicast mac address that the Reflector of this cluster is sent includes:The local institute of the Reflector There is the local of other Client that other of unicast mac address and this cluster Client are advertised to the Reflector to own Unicast mac address.
MAC address learning module 134:According to local all unicast mac address and unicast mac address announcement module 133 The unicast mac address that the Reflector of this cluster of record is sent learns MAC Address list item;And it is added in mac address table One default mac address list item, EVI Link interfaces of the outgoing interface ID between this Client and Reflector in the list item ID。
Packet forwarding module 135:MAC Address list item forwarding data packets in MAC address learning module 134.
EVI Link establish module 132 and are further used for, and ENDP registration request reports are sent to the Reflector of this cluster Text, receive the Reflector return ENDP registration response message, the response message carry the Reflector IP address and Cluster ID establishes EVI Link with the Reflector.
Packet forwarding module 135 is further used for, when receiving unicast data message from Ethernet interface, in MAC Address Target MAC (Media Access Control) address is searched in table and corresponds to list item, if finding, is E-Packeted according to the list item;If not finding, according to silent Recognize MAC Address list item, message is sent to the Reflector of this cluster.
Packet forwarding module 135 is further used for, and receives the multicast packet from DR, by this Client and this cluster EVI-Link interfaces between Reflector are added to the multicast member mouth of the multicast group, so that the multicast packet can lead to It crosses the multicast member mouth and is sent to Reflector.
In practical applications, the edge device shown in Figure 13 may also include MAC migration reporting modules:It was found that local newly move into The MAC Address is established the EVI Link that module 132 establishes by EVI Link and is advertised to this cluster by MAC Address Reflector。
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention God and any modification, equivalent substitution, improvement and etc. within principle, done, should be included within the scope of protection of the invention.

Claims (13)

1. a kind of Ethernet virtualization interconnection EVI network interconnecting methods, which is characterized in that the EVI networks belong to by cluster and not It is formed in the non-client of any cluster, the cluster is by a media access control MAC reflector and one or more clients Mechanism is into each cluster is mutual indepedent, and the non-client, MAC reflectors and client computer are all edge device, this method packet It includes:
MAC reflectors establish EVI links with each client computer of this cluster, the MAC reflectors of other clusters and each non-client;
MAC reflectors are by local all unicast mac address+this cluster ID by each EVI link advertisements to EVI neighbours;
All unicast mac address in local of the client computer of client computer notice any in this cluster are transmitted to this by MAC reflectors Other client computer in cluster;
All unicast mac address in local+this cluster ID for each client computer that MAC reflectors notice All Clients in this cluster The EVI neighbours being advertised to outside this cluster;
MAC reflectors learn the corresponding MAC Address list item of local all unicast mac address;Simultaneously also according to each EVI neighbor advertisements The unicast mac address or unicast mac address+cluster ID come, learns MAC Address list item;
MAC reflectors are according to the mac address table forwarding data packets of itself.
2. according to the method described in claim 1, it is characterized in that, each client computer of the MAC reflectors and this cluster, other The MAC reflectors of cluster and each non-client are established EVI links and are included:
MAC reflectors receive the EVI Neighbor Discovery Protocol ENDP registration request messages that each client computer in this cluster is sent, to each Client computer returns to ENDP registration response messages, which carries the IP address of this MAC reflectors and this cluster ID, with client Machine establishes EVI links;
MAC reflectors find that server ENDS sends ENDP registration request messages to EVI neighbours, which carries this MAC reflections The IP address of device and this cluster ID, receive the ENDP response messages that ENDS is returned, the response message carry all MAC reflectors and Non-client information, the content of message establishes EVI chains to MAC reflectors with other MAC reflectors and each non-client according to response Road.
3. according to the method described in claim 1, it is characterized in that, the method further includes:
When MAC reflectors find that this cluster has newly moved into MAC Address, judge that the MAC Address comes from cluster internal or cluster If outside from cluster internal, corresponding list item is searched in mac address table, updates the outgoing interface ID of the list item, and should MAC Address is sent to the former edge device belonging to the MAC Address, so that former edge device deletes corresponding MAC Address list item;If come From outside cluster, then all EVI neighbours for being advertised to the MAC Address outside this cluster;
The MAC reflectors find that this cluster has newly moved into MAC Address and has been:MAC reflectors are found locally with newly having moved into MAC Location;Alternatively, MAC reflectors receive the MAC Address that the client computer of the client computer notice in this cluster is locally newly moved into.
4. a kind of EVI network interconnecting methods, which is characterized in that the EVI networks are by cluster and the non-visitor for being not belonging to any cluster Family mechanism is into the cluster is by a MAC reflector with one or more customer facilities into each cluster is mutual indepedent, described Non-client, MAC reflectors and client computer are all edge device, and this method includes:
Client computer and the MAC reflectors of this cluster establish EVI links;
Local all unicast mac address+this cluster ID are given the MAC reflectors of this cluster by client computer by EVI link advertisements;
Client computer receives the unicast mac address that the MAC reflectors of this cluster are sent, wherein, what the MAC reflectors of this cluster were sent Unicast mac address includes:All unicast mac address in local of the MAC reflectors and other client computer of this cluster are advertised to All unicast mac address in local of other client computer of the MAC reflectors;
All unicast mac address that client computer is sent according to the MAC reflectors of local all unicast mac address and this cluster, Learn MAC Address list item;Meanwhile a default mac address list item is added in mac address table, the outgoing interface ID in the list item EVI LI(link interface)s ID between this client computer and the MAC reflectors of this cluster;
Client computer is according to the mac address table forwarding data packets of itself.
5. according to the method described in claim 4, it is characterized in that, the client computer and the MAC reflectors of this cluster establish EVI Link includes:
Client computer initiates EVI Neighbor Discovery Protocol ENDP registration request messages to the MAC reflectors of this cluster, which carries this The IP address of client computer and this cluster ID;Client computer receives the ENDP registration reply messages that the MAC reflectors of this cluster return, should Message carries the IP address of the MAC reflectors and the cluster ID of the MAC reflectors, and EVI links are established with the MAC reflectors.
6. according to the method described in claim 4, it is characterized in that, the client computer forwards number according to the mac address table of itself Include according to message:
When client computer receives unicast data message from Ethernet interface, in the mac address table of itself with searching purpose MAC Location corresponds to list item, if finding, is E-Packeted according to the list item;It, will according to default mac address list item if not finding Message is sent to the MAC reflectors of this cluster;
When client computer receives the multicast packet from Designated Router DR, by this client computer and the MAC reflectors of this cluster Between EVI LI(link interface)s be added to the multicast member mouth of the multicast group so that the multicast packet can by the multicast into Member's mouth is sent to the MAC reflectors of this cluster.
7. a kind of edge device, in EVI networks, which is characterized in that the EVI networks are by cluster and are not belonging to any cluster Non-client form, the cluster by a MAC reflector and one or more customer facilities into each cluster is mutually only Vertical, the non-client, MAC reflectors and client computer are all edge device, which includes:
Configuration module:Information and affiliated cluster ID of the minute book edge device for MAC reflectors, record ENDS information;
EVI link establishment modules:According to the information that configuration module records, each client computer, the MAC of other clusters with this cluster are anti- Emitter and each non-client establish EVI links;
Unicast mac address announcement module:By local all unicast mac address+this cluster ID by each EVI link advertisements to EVI Neighbours;Receiving the next EVI neighbours of each EVI neighbor advertisements, locally all unicast mac address or the EVI neighbours locally own The cluster ID of the unicast mac address+EVI neighbours;By all lists in local of the client computer of client computer notice any in this cluster It broadcasts MAC Address and is transmitted to other client computer in this cluster;The local institute for each client computer that All Clients in this cluster are noticed There is unicast mac address+this cluster ID to be advertised to the EVI neighbours outside this cluster;
MAC address learning module:The study locally corresponding MAC Address list item of all unicast mac address, and according to each EVI neighbours The unicast mac address or unicast mac address+cluster ID that notice comes, learn MAC Address list item;
Packet forwarding module:According to the MAC Address list item forwarding data packets learnt.
8. edge device according to claim 7, which is characterized in that the edge device further comprises:
MAC migration process modules:When finding that this cluster has newly moved into MAC Address, judge the MAC Address from cluster internal also It is outside cluster, if from cluster internal, corresponding list item is searched in mac address table, updates the outgoing interface ID of the list item, And the MAC Address is sent to the former edge device belonging to the MAC Address, so that former edge device deletes corresponding mac address table ;If coming from outside cluster, all EVI neighbours which being advertised to outside this cluster.
9. edge device according to claim 7, which is characterized in that the EVI link establishments module is further used for, and connects The ENDP registration request messages that each client computer in this cluster is sent are received, ENDP registration response messages are returned to each client computer, it should Response message carries the IP address of this MAC reflectors and this cluster ID, and EVI links are established with client computer;ENDP is sent to ENDS Registration request message, the message carry the IP address of this MAC reflectors and this cluster ID, receive the ENDP response reports that ENDS is returned Text, the response message carry all MAC reflectors and non-client information, are established with other MAC reflectors and each non-client EVI links.
10. a kind of edge device, in EVI networks, which is characterized in that the EVI networks are by cluster and are not belonging to any collection The non-client of group is formed, and the cluster is by a MAC reflector with one or more customer facilities into each cluster is mutually only Vertical, the non-client, MAC reflectors and client computer are all edge device, which includes:
Configuration module:Information and affiliated cluster ID of the minute book edge device for client computer, record ENDS information;
EVI link establishment modules:According to the information that configuration module records, EVI links are established with the MAC reflectors of this cluster;
Unicast mac address announcement module:Local all unicast mac address+this cluster ID are given to this cluster by EVI link advertisements MAC reflectors;The unicast mac address that the MAC reflectors of this cluster are sent is received, wherein, the MAC reflectors of this cluster are sent Unicast mac address include:Other client computer notice of all unicast mac address in local and this cluster of the MAC reflectors To all unicast mac address in local of other client computer of the MAC reflectors;
MAC address learning module:Own according to local all unicast mac address, and according to what the MAC reflectors of this cluster were sent Unicast mac address learns MAC Address list item;Meanwhile a default mac address list item, the list item are added in mac address table In EVI LI(link interface) IDs of the outgoing interface ID between this client computer and the MAC reflectors of this cluster;
Packet forwarding module:According to the MAC Address list item forwarding data packets learnt.
11. edge device according to claim 10, which is characterized in that the EVI link establishments module is further used for, ENDP registration request messages are initiated to the MAC reflectors of this cluster, which carries the IP address of this client computer and this cluster ID; The ENDP registration reply messages that the MAC reflectors of this cluster return are received, which carries the IP address of the MAC reflectors and be somebody's turn to do The cluster ID of MAC reflectors establishes EVI links with the MAC reflectors.
12. edge device according to claim 10, which is characterized in that the packet forwarding module is further used for, when When receiving unicast data message from Ethernet interface, lookup target MAC (Media Access Control) address corresponds to list item in mac address table, if searching It arrives, is then E-Packeted according to the list item;If not finding, according to default mac address list item, message is sent to this cluster MAC reflectors;When receiving the multicast packet from DR, by the EVI chains between this client computer and the MAC reflectors of this cluster Road interface is added to the multicast member mouth of the multicast group, so that the multicast packet can be sent to this by the multicast member mouth The MAC reflectors of cluster.
13. edge device according to claim 10, which is characterized in that further comprise:
MAC migrates reporting module:It was found that local newly moved into MAC Address, the MAC which is advertised to this cluster reflects Device.
CN201310251651.3A 2013-06-21 2013-06-21 Ethernet virtualization internet network interconnecting method and edge device Active CN104243260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310251651.3A CN104243260B (en) 2013-06-21 2013-06-21 Ethernet virtualization internet network interconnecting method and edge device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310251651.3A CN104243260B (en) 2013-06-21 2013-06-21 Ethernet virtualization internet network interconnecting method and edge device

Publications (2)

Publication Number Publication Date
CN104243260A CN104243260A (en) 2014-12-24
CN104243260B true CN104243260B (en) 2018-06-15

Family

ID=52230654

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310251651.3A Active CN104243260B (en) 2013-06-21 2013-06-21 Ethernet virtualization internet network interconnecting method and edge device

Country Status (1)

Country Link
CN (1) CN104243260B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111800338B (en) * 2020-06-01 2022-09-16 锐捷网络股份有限公司 Cross-AS EVPN route interaction 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 (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040202199A1 (en) * 2003-04-11 2004-10-14 Alcatel Address resolution in IP interworking layer 2 point-to-point connections

Patent 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

Also Published As

Publication number Publication date
CN104243260A (en) 2014-12-24

Similar Documents

Publication Publication Date Title
EP3070877B1 (en) Evpn inter-subnet multicast forwarding
CN104009926B (en) Multicast method in EVI network and edge device ED
CN103139037B (en) For realizing the method and apparatus of VLAN flexibly
CN102035729B (en) Multicast data forwarding method
CN104168184B (en) Message forwarding method and equipment
CN102594711B (en) Message forwarding method and edge device therefor
CN104135420B (en) A kind of method, equipment and the system of message forwarding
US8717934B2 (en) Multicast source move detection for layer-2 interconnect solutions
CN102025591B (en) Method and system for implementing virtual private network
CN107040469A (en) The network equipment and method
CN102932254B (en) Message forwarding method and device
WO2015165311A1 (en) Method for transmitting data packet and provider edge device
CN102316030B (en) Method for realizing two-layer internetworking of data center and device
CN103841037B (en) The method and apparatus of multicast message forwarding
CN102413060B (en) User private line communication method and equipment used in VPLS (Virtual Private LAN (Local Area Network) Service) network
CN103731349B (en) Message forwarding method and edge device between a kind of Ethernet virtualization interconnection neighbours
WO2018214809A1 (en) Message transmission method and device, and storage medium
US20150081869A1 (en) Message forwarding between geographically dispersed network sites
CN103685022A (en) Message forwarding method and service provider network edge equipment
CN102694752B (en) Gateway equipment
CN105187311B (en) A kind of message forwarding method and device
CN115118545B (en) Group management protocol host mobility in ethernet virtual private network multicast networks
WO2013139270A1 (en) Method, device, and system for implementing layer3 virtual private network
US10432757B1 (en) Summarizing and flood suppressing messages
CN104009919A (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
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.

GR01 Patent grant