CN103685027A - Method and exchanger for transmitting Ethernet frame - Google Patents

Method and exchanger for transmitting Ethernet frame Download PDF

Info

Publication number
CN103685027A
CN103685027A CN201210330207.6A CN201210330207A CN103685027A CN 103685027 A CN103685027 A CN 103685027A CN 201210330207 A CN201210330207 A CN 201210330207A CN 103685027 A CN103685027 A CN 103685027A
Authority
CN
China
Prior art keywords
address
mac
access control
media access
target mac
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210330207.6A
Other languages
Chinese (zh)
Other versions
CN103685027B (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.)
Shenzhen Tencent Computer Systems Co Ltd
Original Assignee
Shenzhen Tencent Computer Systems 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 Shenzhen Tencent Computer Systems Co Ltd filed Critical Shenzhen Tencent Computer Systems Co Ltd
Priority to CN201210330207.6A priority Critical patent/CN103685027B/en
Publication of CN103685027A publication Critical patent/CN103685027A/en
Application granted granted Critical
Publication of CN103685027B publication Critical patent/CN103685027B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and an exchanger which are used for transmitting an Ethernet frame, and belongs to the field of computer network technologies. The method comprises the steps as follows: when receiving the Ethernet frame transmitted from terminal equipment connected with the exchanger, the exchanger analyzes the Ethernet frame to obtain a source MAC (Media Access Control) address and a target MAC address carried by the Ethernet frame; when the target MAC address is not a unicast address, the exchanger modifies the target MAC address and transmits the modified Ethernet frame to the terminal equipment corresponding to the modified target MAC address; when the target MAC address is a unicast address, the exchanger determines whether the format of the source MAC address is the same as that of the target MAC address; when the format of the source MAC address differs from that of the target MAC address, the exchanger modifies the source MAC address to ensure that the format of the modified source MAC address is the same as that of the target MAC address, and afterwards, the modified Ethernet frame is transmitted to the terminal equipment corresponding to the target MAC address. Therefore, terminal equipment with different MAC address formats can be communicated with one another.

Description

Forward method and the switch of ethernet frame
Technical field
The present invention relates to technical field of the computer network, particularly a kind of method and switch that forwards ethernet frame.
Background technology
Existing common NAT technology comprises the NATPT(Network Address Translation – Port Translation in IPv4, network address translation-port translation), and the NAPT(Network Address Protocol Translation of IPv4 and the phase transformation of IPv6 address interconnect, network address protocol conversion).Any relevant MAC(Media Access Control is not proposed, media access control) mode of address transition.
Summary of the invention
In order to solve the problem of prior art, the embodiment of the present invention provides a kind of method and switch that forwards ethernet frame.Described technical scheme is as follows:
On the one hand, the invention provides a kind of method that forwards ethernet frame, described method comprises: when switch receives the ethernet frame of the terminal equipment transmission being connected with described switch, resolve described ethernet frame, obtain described ethernet frame entrained media access control MAC address, source and target MAC (Media Access Control) address;
When described target MAC (Media Access Control) address is not unicast address, described switch is revised described target MAC (Media Access Control) address, and amended ethernet frame is transmitted to the terminal equipment that amended target MAC (Media Access Control) address is corresponding;
When described target MAC (Media Access Control) address is unicast address, described switch determines that whether the form of described source MAC is identical with the form of described target MAC (Media Access Control) address;
When the form of described source MAC is not identical with the form of described target MAC (Media Access Control) address, described switch is revised described source MAC, make the form of amended source MAC identical with the form of described target MAC (Media Access Control) address, afterwards, amended ethernet frame is transmitted to the terminal equipment corresponding with described target MAC (Media Access Control) address.
Described switch is revised described target MAC (Media Access Control) address and is comprised:
Described switch is revised as a preassigned unicast address by described target MAC (Media Access Control) address.
Describedly amended ethernet frame be transmitted to the terminal equipment that amended target MAC (Media Access Control) address is corresponding comprise:
According to described amended target MAC (Media Access Control) address, search target MAC (Media Access Control) address and forward corresponding relation between port, obtaining the forwarding port that described amended target MAC (Media Access Control) address is corresponding;
By the forwarding port finding, described amended ethernet frame is forwarded to terminal equipment corresponding to described amended target MAC (Media Access Control) address.
Described switch is revised described source MAC, makes that the form of amended source MAC is identical with the form of described target MAC (Media Access Control) address to be comprised:
Described switch is searched the MAC Address conversion table of local storage according to described source MAC, obtain the translating address of described source MAC, and the form of the translating address of described source MAC is identical with the form of described target MAC (Media Access Control) address;
Described switch is revised as described translating address by described source MAC.
Described switch is searched the MAC Address conversion table of local storage according to described source MAC, the translating address that obtains described source MAC comprises:
When conversion table that described MAC Address conversion table is dynamic-configuration, described switch is searched described MAC Address conversion table according to described source MAC, determines the translating address that whether has described source MAC in described MAC Address conversion table;
If there is not the translating address that described source MAC is corresponding in described MAC Address conversion table, from predefined MAC Address pond, select a unappropriated MAC Address as the translating address of described source MAC.
Describedly amended ethernet frame be transmitted to the terminal equipment corresponding with described target MAC (Media Access Control) address comprise:
Described switch is searched target MAC (Media Access Control) address and forwards corresponding relation between port according to described target MAC (Media Access Control) address, obtains the forwarding port corresponding with described target MAC (Media Access Control) address;
Described switch by amended ethernet frame by the forwarding port repeat that finds to external equipment corresponding to described target MAC (Media Access Control) address.
Described switch is resolved described ethernet frame, also obtains the entrained user data of described ethernet frame;
Correspondingly, describedly amended ethernet frame be transmitted to the terminal equipment corresponding with described target MAC (Media Access Control) address comprise:
While comprising MAC Address in described user data, determine that whether the form of described MAC Address is identical with the form of described target MAC (Media Access Control) address;
When the form of described MAC Address is not identical with the form of described target MAC (Media Access Control) address, described switch is revised described MAC Address, make the form of amended MAC Address identical with the form of described target MAC (Media Access Control) address, afterwards, amended ethernet frame is transmitted to the terminal equipment corresponding with described target MAC (Media Access Control) address.
Described MAC Address comprises first kind form and Second Type form, described first kind form comprises producer's unique identification and network interface sign, described producer unique identification is for identifying the manufacturer of MAC Address, and described network interface sign is for marked network interface manufacturer; Described Second Type form at least comprises switch identification and terminal iidentification, and described switch identification is for identifying the switch in Ethernet, and described terminal iidentification is for identifying the terminal equipment being connected with switch.
On the other hand, the present invention also provides a kind of method that forwards ethernet frame, and described method comprises:
When switch receives the ethernet frame being forwarded by other switches, resolve described ethernet frame, obtain described ethernet frame entrained media access control MAC address, source and target MAC (Media Access Control) address;
Described switch determines that the form of the MAC Address that whether connected with the described switch terminal equipment of the form of described target MAC (Media Access Control) address adopts is identical;
When the form of the MAC Address adopting when the form of the described target MAC (Media Access Control) address terminal equipment connected with described switch is not identical, described switch is revised described target MAC (Media Access Control) address, makes the form of the MAC Address that the form of the amended target MAC (Media Access Control) address terminal equipment connected with described switch adopt identical;
Described switch is transmitted to amended ethernet frame on terminal equipment corresponding to amended target MAC (Media Access Control) address being connected with described switch.
Described switch is revised described target MAC (Media Access Control) address, makes identical the comprising of form of the MAC Address that the form of the amended target MAC (Media Access Control) address terminal equipment connected with described switch adopt:
Described switch is searched the MAC Address conversion table of local storage according to described target MAC (Media Access Control) address, obtain the translating address of described target MAC (Media Access Control) address, the form of the MAC Address that the form of the translating address of the described target MAC (Media Access Control) address terminal equipment connected with described switch adopts is identical;
Described switch is revised as described translating address by described target MAC (Media Access Control) address.
Described switch is searched the MAC Address conversion table of local storage according to described target MAC (Media Access Control) address, the translating address that obtains described target MAC (Media Access Control) address comprises:
When conversion table that described MAC Address conversion table is dynamic-configuration, described switch is searched described MAC Address conversion table according to described target MAC (Media Access Control) address, determines the translating address that whether has described target MAC (Media Access Control) address in described MAC Address conversion table;
If there is not the translating address of described target MAC (Media Access Control) address in described MAC Address conversion table, from predefined MAC Address pond, select a unappropriated MAC Address as the translating address of described target MAC (Media Access Control) address.
Described switch is transmitted to amended ethernet frame on terminal equipment corresponding to amended target MAC (Media Access Control) address being connected with described switch, comprising:
Described switch is searched target MAC (Media Access Control) address and forwards corresponding relation between port according to described amended target MAC (Media Access Control) address, obtains the forwarding port corresponding with described amended target MAC (Media Access Control) address;
Described switch by amended ethernet frame by the forwarding port repeat that finds to terminal equipment corresponding to the amended target MAC (Media Access Control) address being connected with described switch.
Described switch is resolved described ethernet frame, also obtains the entrained user data of described ethernet frame;
Correspondingly, described switch is transmitted to by amended ethernet frame terminal equipment corresponding to amended target MAC (Media Access Control) address being connected with described switch and comprises:
While comprising MAC Address in described user data, determine that the form of the MAC Address that whether connected with the described switch terminal equipment of the form of described MAC Address adopts is identical;
When the form of the MAC Address adopting when the form of the described MAC Address terminal equipment connected with described switch is not identical, described switch is revised described MAC Address, make the form of the MAC Address that the form of the amended MAC Address terminal equipment connected with described switch adopt identical, afterwards, amended ethernet frame is transmitted to terminal equipment corresponding to amended target MAC (Media Access Control) address being connected with described switch.
Described MAC Address comprises first kind form and Second Type form, described first kind form comprises producer's unique identification and network interface sign, described producer unique identification is for identifying the manufacturer of MAC Address, and described network interface sign is for marked network interface manufacturer; Described Second Type form at least comprises switch identification and terminal iidentification, and described switch identification is for identifying the switch in Ethernet, and described terminal iidentification is for identifying the terminal equipment being connected with switch.
On the one hand, the invention provides a kind of switch again, described switch comprises: parsing module, the first modified module, the first sending module, determination module, the second modified module and the second sending module;
Described parsing module, for when receiving the ethernet frame of the terminal equipment transmission being connected with described switch, resolves described ethernet frame, obtains described ethernet frame entrained media access control MAC address, source and target MAC (Media Access Control) address;
Described the first modified module, for when described target MAC (Media Access Control) address is not unicast address, revises described target MAC (Media Access Control) address;
Described the first sending module, for being transmitted to the terminal equipment that amended target MAC (Media Access Control) address is corresponding through the amended ethernet frame of the first modified module;
Described determination module, for when described target MAC (Media Access Control) address is unicast address, determines that whether the form of described source MAC is identical with the form of described target MAC (Media Access Control) address;
Described the second modified module, when not identical for the form of the form when described source MAC and described target MAC (Media Access Control) address, revises described source MAC, makes the form of amended source MAC identical with the form of described target MAC (Media Access Control) address;
Described the second sending module, for being transmitted to the terminal equipment corresponding with described target MAC (Media Access Control) address through the amended ethernet frame of described the second modified module.
Described the first modified module, specifically for being revised as described target MAC (Media Access Control) address one preassigned unicast address.
Described the first sending module comprises:
Search unit, for searching target MAC (Media Access Control) address according to described amended target MAC (Media Access Control) address and forwarding corresponding relation between port, obtain the forwarding port that described amended target MAC (Media Access Control) address is corresponding;
Transmitting element, is forwarded to terminal equipment corresponding to described amended target MAC (Media Access Control) address for the forwarding port by finding by described amended ethernet frame.
Described the second modified module comprises:
Search unit, for search the MAC Address conversion table of local storage according to described source MAC, obtain the translating address of described source MAC, the form of the translating address of described source MAC is identical with the form of described target MAC (Media Access Control) address;
Revise unit, for described source MAC is revised as to described translating address.
The described unit of searching, during specifically for the conversion table that is dynamic-configuration when described MAC Address conversion table, according to described source MAC, search described MAC Address conversion table, determine the translating address that whether has described source MAC in described MAC Address conversion table, if there is not the translating address that described source MAC is corresponding in described MAC Address conversion table, from predefined MAC Address pond, select a unappropriated MAC Address as the translating address of described source MAC.
Described the second sending module comprises:
Search unit, for searching target MAC (Media Access Control) address according to described target MAC (Media Access Control) address and forwarding corresponding relation between port, obtain the forwarding port corresponding with described target MAC (Media Access Control) address;
Transmitting element, for by amended ethernet frame by the forwarding port repeat that finds to external equipment corresponding to described target MAC (Media Access Control) address.
Described parsing module, also for resolving described ethernet frame, obtains the entrained user data of described ethernet frame;
Correspondingly, described the second sending module comprises:
Determining unit, when comprising MAC Address in described user data, determines that whether the form of described MAC Address is identical with the form of described target MAC (Media Access Control) address;
Revise unit, when not identical for the form of the form when described MAC Address and described target MAC (Media Access Control) address, revise described MAC Address, make the form of amended MAC Address identical with the form of described target MAC (Media Access Control) address;
Transmitting element, for being transmitted to the terminal equipment corresponding with described target MAC (Media Access Control) address through the amended ethernet frame in described modification unit.
In addition, the present invention also provides a kind of switch, and described switch comprises: parsing module, determination module, modified module and sending module;
Described parsing module, for when receiving the ethernet frame being forwarded by other switches, resolves described ethernet frame, obtains described ethernet frame entrained media access control MAC address, source and target MAC (Media Access Control) address;
Described determination module is identical for determining the form of the MAC Address that whether connected with the described switch terminal equipment of form of described target MAC (Media Access Control) address adopts;
Described modified module, when not identical for the form of the MAC Address when the terminal equipment employing connected with described switch of the form of described target MAC (Media Access Control) address, revise described target MAC (Media Access Control) address, make the form of the MAC Address that the form of the amended target MAC (Media Access Control) address terminal equipment connected with described switch adopt identical;
Described sending module, for being transmitted to terminal equipment corresponding to amended target MAC (Media Access Control) address being connected with described switch through the amended ethernet frame of described modified module.
Described modified module comprises:
Search unit, for search the MAC Address conversion table of local storage according to described target MAC (Media Access Control) address, obtain the translating address of described target MAC (Media Access Control) address, the form of the MAC Address that the form of the translating address of the described target MAC (Media Access Control) address terminal equipment connected with described switch adopts is identical;
Revise unit, for described target MAC (Media Access Control) address is revised as to described translating address.
The described unit of searching, during specifically for the conversion table that is dynamic-configuration when described MAC Address conversion table, according to described target MAC (Media Access Control) address, search described MAC Address conversion table, determine the translating address that whether has described target MAC (Media Access Control) address in described MAC Address conversion table, if there is not the translating address of described target MAC (Media Access Control) address in described MAC Address conversion table, from predefined MAC Address pond, select a unappropriated MAC Address as the translating address of described target MAC (Media Access Control) address.
Described sending module comprises:
Search unit, for searching target MAC (Media Access Control) address according to described amended target MAC (Media Access Control) address and forwarding corresponding relation between port, obtain the forwarding port corresponding with described amended target MAC (Media Access Control) address;
Transmitting element, for by amended ethernet frame by the forwarding port repeat that finds to terminal equipment corresponding to the amended target MAC (Media Access Control) address being connected with described switch.
Described parsing module, also for resolving described ethernet frame, obtains the entrained user data of described ethernet frame;
Correspondingly, described sending module comprises:
Determining unit, when comprising MAC Address in described user data, determines that the form of the MAC Address that whether connected with the described switch terminal equipment of form of described MAC Address adopts is identical;
Revise unit, when not identical for the form of the MAC Address when the terminal equipment employing connected with described switch of the form of described MAC Address, revise described MAC Address, make the form of the MAC Address that the form of the amended MAC Address terminal equipment connected with described switch adopt identical;
Transmitting element, for being transmitted to terminal equipment corresponding to amended target MAC (Media Access Control) address being connected with described switch through the amended ethernet frame in described modification unit.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is: when switch receives the ethernet frame of the terminal equipment transmission being connected with described switch, resolve described ethernet frame and obtain source MAC and the target MAC (Media Access Control) address that ethernet frame carries, when the form of source MAC is not identical with the form of target MAC (Media Access Control) address, revise described source MAC, make the form of amended source MAC identical with the form of described target MAC (Media Access Control) address, afterwards, amended ethernet frame is transmitted to the terminal equipment corresponding with target MAC (Media Access Control) address, so that the source MAC that sends this ethernet frame can be resolved and identify to the terminal equipment that described target MAC (Media Access Control) address is corresponding.In addition, when target MAC (Media Access Control) address is not unicast address, revise described target MAC (Media Access Control) address, and amended ethernet frame is transmitted to the terminal equipment that amended target MAC (Media Access Control) address is corresponding, make when target MAC (Media Access Control) address is broadcast address or multicast address, without forwarding above-mentioned ethernet frame to whole Ethernet or all multicast members, reduce the traffic of whole Ethernet, improve the operating efficiency of whole Ethernet, and which have good availability and autgmentability.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 a is a kind of method flow diagram that forwards ethernet frame that the embodiment of the present invention one provides;
Fig. 1 b is a kind of method flow diagram that forwards ethernet frame that the embodiment of the present invention one provides;
Fig. 2 is the example architecture figure of a kind of Ethernet of providing of the embodiment of the present invention two;
Fig. 3 a, 3b and 3c are the topology example figure of a kind of MAC Address of providing respectively of the embodiment of the present invention two;
Fig. 4 is a kind of method flow diagram that forwards ethernet frame that the embodiment of the present invention two provides;
Fig. 5 is a kind of method flow diagram that forwards ethernet frame that the embodiment of the present invention two provides;
Fig. 6 is the structural representation of a kind of switch of providing of the embodiment of the present invention three;
Fig. 7 is the structural representation of a kind of switch of providing of the embodiment of the present invention three;
Fig. 8 is the structural representation of a kind of switch of providing of the embodiment of the present invention three;
Fig. 9 is the structural representation of a kind of switch of providing of the embodiment of the present invention three;
Figure 10 is the structural representation of a kind of switch of providing of the embodiment of the present invention three;
Figure 11 is the structural representation of a kind of switch of providing of the embodiment of the present invention four;
Figure 12 is the structural representation of a kind of switch of providing of the embodiment of the present invention four;
Figure 13 is the structural representation of a kind of switch of providing of the embodiment of the present invention four;
Figure 14 is the structural representation of a kind of switch of providing of the embodiment of the present invention four.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment mono-
Referring to Fig. 1 a: the embodiment of the present invention provides a kind of method that forwards ethernet frame, and described method comprises:
Step 101a: when switch receives the ethernet frame of the terminal equipment transmission being connected with described switch, resolve described ethernet frame, obtain described ethernet frame entrained media access control MAC address, source and target MAC (Media Access Control) address;
Step 102a: when described target MAC (Media Access Control) address is not unicast address, switch is revised described target MAC (Media Access Control) address, and amended ethernet frame is transmitted to the terminal equipment that amended target MAC (Media Access Control) address is corresponding;
Step 103a: when described target MAC (Media Access Control) address is unicast address, switch determines that whether the form of described source MAC is identical with the form of described target MAC (Media Access Control) address;
Step 104a: when the form of described source MAC is not identical with the form of described target MAC (Media Access Control) address, switch is revised described source MAC, make the form of amended source MAC identical with the form of described target MAC (Media Access Control) address, afterwards, amended ethernet frame is transmitted to the terminal equipment corresponding with described target MAC (Media Access Control) address.
In the embodiment of the present invention, when switch receives the ethernet frame of the terminal equipment transmission being connected with described switch, resolve described ethernet frame and obtain source MAC and the target MAC (Media Access Control) address that ethernet frame carries, when the form of source MAC is not identical with the form of target MAC (Media Access Control) address, revise described source MAC, make the form of amended source MAC identical with the form of described target MAC (Media Access Control) address, afterwards, amended ethernet frame is transmitted to the terminal equipment corresponding with target MAC (Media Access Control) address, so that the source MAC that sends this ethernet frame can be resolved and identify to the terminal equipment that described target MAC (Media Access Control) address is corresponding.In addition, when target MAC (Media Access Control) address is not unicast address, revise described target MAC (Media Access Control) address, and amended ethernet frame is transmitted to the terminal equipment that amended target MAC (Media Access Control) address is corresponding, make when target MAC (Media Access Control) address is broadcast address or multicast address, without forwarding above-mentioned ethernet frame to whole Ethernet or all multicast members, reduce the traffic of whole Ethernet, improve the operating efficiency of whole Ethernet, and which have good availability and autgmentability.
Referring to Fig. 1 b, the embodiment of the present invention provides a kind of method that forwards ethernet frame, and described method comprises:
Step 101b: when switch receives the ethernet frame being forwarded by other switches, resolve described ethernet frame, obtain described ethernet frame entrained media access control MAC address, source and target MAC (Media Access Control) address;
Step 102b: switch determines that the form of the MAC Address that whether connected with the described switch terminal equipment of the form of described target MAC (Media Access Control) address adopts is identical;
Step 103b: when the form of the MAC Address adopting when the form of the described target MAC (Media Access Control) address terminal equipment connected with described switch is not identical, switch is revised described target MAC (Media Access Control) address, makes the form of the MAC Address that the form of the amended target MAC (Media Access Control) address terminal equipment connected with described switch adopt identical;
Step 104b: switch is transmitted to amended ethernet frame on terminal equipment corresponding to amended target MAC (Media Access Control) address being connected with described switch.
In the embodiment of the present invention, when switch receives the ethernet frame being forwarded by other switches, resolve ethernet frame and obtain source MAC and the target MAC (Media Access Control) address that ethernet frame carries, when the form of the MAC Address adopting when the form of the target MAC (Media Access Control) address terminal equipment connected with switch is not identical, revise described target MAC (Media Access Control) address, make the form of the MAC Address that the form of the amended target MAC (Media Access Control) address terminal equipment connected with described switch adopt identical, afterwards, amended ethernet frame is transmitted to terminal equipment corresponding to amended target MAC (Media Access Control) address being connected with switch, make the target MAC (Media Access Control) address that switch can be resolved and identification is different from local mac address form, so that the ethernet frame that other switches can be forwarded is successfully forwarded to the terminal equipment that destination address is corresponding.
Embodiment bis-
Referring to Fig. 2, the example architecture figure of a kind of Ethernet providing for the embodiment of the present invention, specifically can comprise switch A, a plurality of terminal equipment A1, the switch b that are connected with switch A and a plurality of terminal equipment B1 that are connected with switch b, wherein, switch A is connected with switch b.Ethernet architecture based on as shown in Figure 2, between terminal equipment A1 and terminal equipment B1, just can communicate by switch A and switch b, if terminal equipment A1 is when sending data to terminal equipment B1, the data that this terminal equipment A1 sends can be sent to switch b via switch A, finally by switch b, described data are moved on to terminal equipment B1.
In Ethernet, communication data between terminal equipment is that the form with ethernet frame transmits, described ethernet frame comprises source MAC, target MAC (Media Access Control) address, type, user data and check value, wherein, described source MAC is for identifying the source terminal equipment that sends described ethernet frame, and described target MAC (Media Access Control) address is for identifying the object terminal equipment that needs to receive described ethernet frame.Like this, switch is when receiving ethernet frame, just can resolve this ethernet frame, obtain source MAC and target MAC (Media Access Control) address that this ethernet frame carries, the ethernet frame that the source terminal equipment that should be identified by source MAC the most at last sends is forwarded to the object terminal equipment being identified by target MAC (Media Access Control) address.
In the embodiment of the present invention, above-described MAC Address can have two kinds of address formats, specifically describes as follows:
The MAC Address of first kind form can be referring to Fig. 3 a, the MAC Address of the type consists of 48 bits, comprise producer's unique identification of 24 bits and the network interface of 24 bits sign, wherein, described producer unique identification is for identifying the manufacturer of MAC Address, and described network interface sign is for marked network interface manufacturer;
The MAC Address of Second Type form can be referring to Fig. 3 b or 3c, the MAC Address of the type still consists of 48 bits, but at least comprise switch identification and terminal iidentification, wherein, described switch identification is for identifying the switch in Ethernet, described terminal iidentification is for identifying the terminal equipment of access switch, but when specific implementation, the MAC Address of Second Type form can also comprise that tenant identifies, and this tenant's sign can be for the owner or the user of sign MAC Address institute marking terminal equipment; When the MAC Address of Second Type form only comprises switch identification and terminal iidentification, the embodiment of the present invention does not limit described switch identification and side-play amount and the length of terminal iidentification in the address format of this 48 bit, for example, shown in Fig. 3 b, the 1st to the 12nd bit from low to high in MAC Address form can be filled to switch identification, remaining bit is filled to terminal iidentification; Correspondingly, the MAC Address of Second Type form is when comprising that switch identification, terminal iidentification and tenant identify, the embodiment of the present invention does not still limit side-play amount and the length in the address format that described switch identification, terminal iidentification and tenant be identified at these 48 bits, example as shown in Figure 3 c the 1st to the 12nd binary digit (bit) from low to high in MAC Address form can be filled to switch identification, the the 13rd to the 36th binary digit (bit) is filled to tenant's sign, and the 37th to the 48th binary digit (bit) is filled to terminal iidentification.
The embodiment of the present invention is when specific implementation, and the terminal equipment in Ethernet can adopt the MAC Address of above-mentioned first kind form or Second Type form.And can communicate between terminal equipment corresponding to the MAC Address of dissimilar form in order to guarantee, the embodiment of the present invention provides a kind of method that forwards ethernet frame, and referring to Fig. 4, the method specifically can comprise:
Step 201: when switch receives the ethernet frame of the terminal equipment transmission being connected with switch, resolve the ethernet frame that this receives, obtain the entrained source MAC of described ethernet frame and target MAC (Media Access Control) address;
Step 202: switch determines whether the target MAC (Media Access Control) address being resolved to is unicast address;
When described target MAC (Media Access Control) address is not unicast address, execution step 203;
When described target MAC (Media Access Control) address is unicast address, execution step 204;
Step 203: switch is revised described target MAC (Media Access Control) address, and amended ethernet frame is transmitted to the terminal equipment that amended target MAC (Media Access Control) address is corresponding, EO;
Particularly, after switch is revised described target MAC (Media Access Control) address, according to amended target MAC (Media Access Control) address, search target MAC (Media Access Control) address and forward corresponding relation between port, obtaining the forwarding port that described amended target MAC (Media Access Control) address is corresponding; By the forwarding port finding, described amended ethernet frame is forwarded to terminal equipment corresponding to described amended target MAC (Media Access Control) address.
As an embodiment who preferably realizes, switch can be revised as described target MAC (Media Access Control) address one preassigned unicast address, afterwards, amended ethernet frame is transmitted to terminal equipment corresponding to described preassigned unicast address, by terminal equipment corresponding to this unicast address, return to replying of above-mentioned ethernet frame, make when target MAC (Media Access Control) address is broadcast address or multicast address, without forwarding above-mentioned ethernet frame to whole Ethernet or all multicast members, reduce the traffic of whole Ethernet, improve the operating efficiency of whole Ethernet, and which has good availability and autgmentability.
Step 204: switch determines that whether the form of described source MAC is identical with the form of described target MAC (Media Access Control) address;
When the form of described source MAC is identical with the form of described target MAC (Media Access Control) address, switch is directly transmitted to the terminal equipment that described target MAC (Media Access Control) address is corresponding, EO by described ethernet frame;
When the form of described source MAC is not identical with the form of described target MAC (Media Access Control) address, execution step 205;
Step 205: switch is revised described source MAC, makes the form of amended source MAC identical with the form of described target MAC (Media Access Control) address;
Particularly, switch is searched the MAC Address conversion table of local storage according to described source MAC, obtains the translating address of described source MAC, and the form of the translating address of described source MAC is identical with the form of described target MAC (Media Access Control) address; Afterwards, switch is revised as described translating address by described source MAC.
Wherein, switch is searched the MAC Address conversion table of local storage according to described source MAC, and the translating address that obtains described source MAC comprises:
When conversion table that MAC Address conversion table is dynamic-configuration, switch is searched described MAC Address conversion table according to described source MAC, determines the translating address that whether has described source MAC in MAC Address conversion table;
If there is not the translating address that source MAC is corresponding in described MAC Address conversion table, from predefined MAC Address pond, select a unappropriated MAC Address as the translating address of described source MAC.
The embodiment of the present invention is when specific implementation, switch builds and safeguards a MAC Address conversion table in advance, the entry of this MAC Address conversion table includes corresponding relation between the translating address of source MAC and this MAC Address, and corresponding relation between target MAC (Media Access Control) address and this target MAC (Media Access Control) address, wherein, the form of source MAC and the translating address of this source MAC are two kinds of corresponding address formats, same, and target MAC (Media Access Control) address and the translating address of this target MAC (Media Access Control) address are two kinds of corresponding address formats.
When specific implementation, sending direction (Transmit) and the receive direction (Receive) of switch on device port, one of arbitrary disposition can form the entry of mirror image, and (Original is contrary with Translated, Source and Destination are contrary), as generate article one list item in table, second list item can generate automatically, and article one becomes mirror with second; The generating mode of described entry can, by the mode (Static) of manual configuration, also can generate by the mode (Dynamic) of address pool dynamic-configuration.
Entry in described MAC Address conversion table is the mode by dynamic-configuration while generating, and switch adds chronograph mechanism, and timer is resetting after each MAC Address conversion, when the timer timing time entry in deleting MAC address conversion table then.
Wherein, the MAC Address conversion table that switch is safeguarded can be as shown in Table 1.
Table 1
Figure BDA00002114955300121
Step 206: switch is transmitted to the terminal equipment corresponding with described target MAC (Media Access Control) address by amended ethernet frame;
Particularly, switch is searched target MAC (Media Access Control) address and forwards corresponding relation between port according to described target MAC (Media Access Control) address, obtains the forwarding port corresponding with described target MAC (Media Access Control) address; Afterwards, switch by amended ethernet frame by the forwarding port repeat that finds to external equipment corresponding to described target MAC (Media Access Control) address.
Wherein, between destination address and forwarding port, corresponding relation can be as shown in table 2.
Table 2
Object MAC Forward port
The MAC1 of the first kind Eth1
The MAC2 ' of Second Type Eth49
...... ......
In addition, the embodiment of the present invention is when specific implementation, and between above-mentioned purpose MAC Address and forwarding port, corresponding relation can be integrated in above-mentioned MAC Address conversion table and realize, as shown in table 3.
Table 3
Figure BDA00002114955300122
Figure BDA00002114955300131
In the embodiment of the present invention, when switch receives the ethernet frame of the terminal equipment transmission being connected with described switch, resolve described ethernet frame and obtain source MAC and the target MAC (Media Access Control) address that ethernet frame carries, when the form of source MAC is not identical with the form of target MAC (Media Access Control) address, revise described source MAC, make the form of amended source MAC identical with the form of described target MAC (Media Access Control) address, afterwards, amended ethernet frame is transmitted to the terminal equipment corresponding with target MAC (Media Access Control) address, so that the source MAC that sends this ethernet frame can be resolved and identify to the terminal equipment that described target MAC (Media Access Control) address is corresponding.In addition, when target MAC (Media Access Control) address is not unicast address, revise described target MAC (Media Access Control) address, and amended ethernet frame is transmitted to the terminal equipment that amended target MAC (Media Access Control) address is corresponding, make when target MAC (Media Access Control) address is broadcast address or multicast address, without forwarding above-mentioned ethernet frame to whole Ethernet or all multicast members, reduce the traffic of whole Ethernet, improve the operating efficiency of whole Ethernet, and which have good availability and autgmentability.
In addition, the embodiment of the present invention is when specific implementation, and switch is resolved described ethernet frame, can also obtain the entrained user data of described ethernet frame;
Correspondingly, describedly amended ethernet frame be transmitted to the terminal equipment corresponding with described target MAC (Media Access Control) address comprise:
While comprising MAC Address in described user data, determine that whether the form of described MAC Address is identical with the form of described target MAC (Media Access Control) address;
When the form of described MAC Address is not identical with the form of described target MAC (Media Access Control) address, described switch is revised described MAC Address, make the form of amended MAC Address identical with the form of described target MAC (Media Access Control) address, afterwards, amended ethernet frame is transmitted to the terminal equipment corresponding with described target MAC (Media Access Control) address.
In the embodiment of the present invention, switch is resolved received ethernet frame, while obtaining the MAC Address in the entrained user data of ethernet frame, if the MAC Address in the user data being resolved to is different from target MAC (Media Access Control) address, switch is revised described MAC Address, make the form of amended MAC Address identical with the form of described target MAC (Media Access Control) address, make the target MAC (Media Access Control) address that switch can be resolved and identification is different from local mac address form, so that the ethernet frame that other switches can be forwarded is successfully forwarded to the terminal equipment that destination address is corresponding.
Adopt technique scheme, switch can mail to connected terminal equipment A the ethernet frame of the terminal equipment B being connected with other switches, when terminal equipment A adopts different MAC Address form from terminal equipment B, successfully send, so, when terminal equipment B receives the ethernet frame of terminal equipment A transmission, can also return and reply ethernet frame to terminal equipment A, specifically, referring to Fig. 5, the embodiment of the present invention also provides a kind of method that forwards ethernet frame, and described method comprises:
Step 301: when switch receives the ethernet frame being forwarded by other switches, resolve described ethernet frame, obtain the entrained source MAC of described ethernet frame and target MAC (Media Access Control) address;
Step 302: switch determines that the form of the MAC Address that whether connected with the described switch terminal equipment of the form of described target MAC (Media Access Control) address adopts is identical;
When the form of the MAC Address adopting when the form of the described target MAC (Media Access Control) address terminal equipment connected with described switch is not identical, execution step 303;
When the form of the MAC Address adopting when the form of the described target MAC (Media Access Control) address terminal equipment connected with described switch is identical, directly received ethernet frame is forwarded to terminal equipment corresponding to described target MAC (Media Access Control) address being connected with described switch, EO;
Step 303: switch is revised described target MAC (Media Access Control) address, makes the form of the MAC Address that the form of the amended target MAC (Media Access Control) address terminal equipment connected with described switch adopt identical;
Particularly, switch is searched the MAC Address conversion table of local storage according to described target MAC (Media Access Control) address, obtain the translating address of described target MAC (Media Access Control) address, the form of the MAC Address that the form of the translating address of the described target MAC (Media Access Control) address terminal equipment connected with described switch adopts is identical; Afterwards, switch is revised as described translating address by described target MAC (Media Access Control) address.
Wherein, switch is searched the MAC Address conversion table of local storage according to described target MAC (Media Access Control) address, and the translating address that obtains described target MAC (Media Access Control) address comprises:
When conversion table that described MAC Address conversion table is dynamic-configuration, switch is searched described MAC Address conversion table according to described target MAC (Media Access Control) address, determines the translating address that whether has described target MAC (Media Access Control) address in described MAC Address conversion table;
If there is not the translating address of described target MAC (Media Access Control) address in described MAC Address conversion table, from predefined MAC Address pond, select a unappropriated MAC Address as the translating address of described target MAC (Media Access Control) address.
Step 304: switch is transmitted to amended ethernet frame on terminal equipment corresponding to amended target MAC (Media Access Control) address being connected with described switch.
Particularly, switch is searched target MAC (Media Access Control) address and forwards corresponding relation between port according to described amended target MAC (Media Access Control) address, obtains the forwarding port corresponding with described amended target MAC (Media Access Control) address; Switch by amended ethernet frame by the forwarding port repeat that finds to terminal equipment corresponding to the amended target MAC (Media Access Control) address being connected with described switch.
In the present embodiment, about explanation corresponding between MAC Address conversion table and target MAC (Media Access Control) address and forwarding port refers to above-mentioned relevant description, just repeat no more herein.
In the embodiment of the present invention, when switch receives the ethernet frame being forwarded by other switches, resolve ethernet frame and obtain source MAC and the target MAC (Media Access Control) address that ethernet frame carries, when the form of the MAC Address adopting when the form of the target MAC (Media Access Control) address terminal equipment connected with switch is not identical, revise described target MAC (Media Access Control) address, make the form of the MAC Address that the form of the amended target MAC (Media Access Control) address terminal equipment connected with switch adopt identical, afterwards, amended ethernet frame is transmitted to terminal equipment corresponding to amended target MAC (Media Access Control) address being connected with switch, make the target MAC (Media Access Control) address that switch can be resolved and identification is different from local mac address form, so that the ethernet frame that other switches can be forwarded is successfully forwarded to the terminal equipment that destination address is corresponding.
In addition, the embodiment of the present invention is when specific implementation, and switch is resolved described ethernet frame, can also obtain the entrained user data of described ethernet frame;
Correspondingly, described switch is transmitted to by amended ethernet frame terminal equipment corresponding to amended target MAC (Media Access Control) address being connected with described switch and comprises:
While comprising MAC Address in described user data, determine that the form of the MAC Address that whether connected with the described switch terminal equipment of the form of described MAC Address adopts is identical;
When the form of the MAC Address adopting when the form of the described MAC Address terminal equipment connected with described switch is not identical, described switch is revised described MAC Address, make the form of the MAC Address that the form of the amended MAC Address terminal equipment connected with described switch adopt identical, afterwards, amended ethernet frame is transmitted to terminal equipment corresponding to amended target MAC (Media Access Control) address being connected with described switch.
In the embodiment of the present invention, switch is resolved received ethernet frame, while obtaining the MAC Address in the entrained user data of ethernet frame, if the MAC Address that the terminal equipment connected from switch of the MAC Address in the user data being resolved to adopts is different, switch is revised described MAC Address, make the form of the MAC Address that the form of the amended MAC Address terminal equipment connected with switch adopt identical, thereby make the MAC Address that switch can be resolved and identification is different from local mac address form.
Below in conjunction with concrete application scenarios, describe the beneficial effect that technique scheme is brought in detail:
Application scenarios one, terminal equipment in each subnet in Ethernet adopts respectively dissimilar MAC Address form, Ethernet architecture as shown in Figure 2, a plurality of terminal equipment A1 that are connected with switch A adopt the MAC Address form of the first kind, switch A, switch b and a plurality of terminal equipment B1 that are connected with switch b adopt the MAC Address form of Second Type, and technique scheme can be carried out data communication so that adopt between the terminal equipment A1 of different MAC Address forms and terminal equipment B1.
Particularly, when switch A receives terminal equipment A1 and mails to the ethernet frame A of terminal equipment B1, resolving ethernet frame A, obtain the source MAC of the first kind that this ethernet frame A carries, is also the MAC Address MAC of terminal equipment A1 a1, the target MAC (Media Access Control) address of Second Type, is also the MAC Address MAC of terminal equipment B1 b1; Switch A can be according to MAC Address conversion table by the source MAC MAC of the first kind in ethernet frame A a1be revised as the source MAC MAC of Second Type a1' the target MAC (Media Access Control) address MAC of Second Type b1constant; Afterwards, this amended ethernet frame A is forwarded to switch b, so that switch b is transmitted to ethernet frame A the target MAC (Media Access Control) address MAC of Second Type b1corresponding terminal equipment B.
So, when switch A receives while sending back to the ethernet frame B of terminal equipment A1 by terminal equipment B1, resolving ethernet frame B, obtain the source MAC of the Second Type that ethernet frame B carries, is also the MAC Address MAC of terminal equipment B1 b1, the target MAC (Media Access Control) address of Second Type, also change the MAC Address MAC of the terminal equipment A after MAC type a1'; Switch A again according to MAC Address conversion table by the MAC Address MAC of the Second Type in ethernet frame B a1' be revised as the target MAC (Media Access Control) address MAC of the first kind a1, the source MAC MAC of Second Type b1constant; Afterwards, this amended ethernet frame B is sent to first kind target MAC (Media Access Control) address MAC a1corresponding terminal equipment A.
Application scenarios two, for certain terminal equipment in Ethernet, send ARP(Address Resolution Protocol, address resolution protocol) request or ND(Neighbor Discovery Protocol, Neighbor Discovery Protocol) application of request, wherein, it is a broadcast address that ARP asks entrained target MAC (Media Access Control) address, for sending broadcast request to whole Ethernet, to obtain the information such as MAC Address of object terminal equipment, ND request is for the information of neighbor node in acquisition request Ethernet.Extensive Ethernet as data center network in, APR request or ND request send to whole Ethernet when sending, and only have the terminal equipment that meets ARP request or ND request in Ethernet just can respond, other-end equipment will abandon received ARP request or ND request, reduces operating efficiency, availability and the autgmentability of whole Ethernet.Adopt technique scheme can overcome this problem.
The application scenarios of the ARP of now take request is described in detail as example, the application scenarios of ND request similarly just repeats no more, when switch receives after the ARP request of terminal equipment A transmission, resolve this ARP request, obtain the target MAC (Media Access Control) address (broadcast address) that this ARP asks the entrained first kind, this is that what to adopt due to the MAC Address in existing ARP request is the MAC Address form of the first kind; According to pre-configured MAC Address conversion table, obtain the target MAC (Media Access Control) address of the Second Type that the target MAC (Media Access Control) address of this first kind is corresponding, the corresponding LIST SERVER of MAC Address of this Second Type, this LIST SERVER records the information such as address of each terminal equipment in whole Ethernet; Switch is revised as the target MAC (Media Access Control) address of the first kind in received ARP request the target MAC (Media Access Control) address of Second Type; Afterwards, amended ARP request is sent to the LIST SERVER corresponding to target MAC (Media Access Control) address of this Second Type; This LIST SERVER is searched the address information of the terminal equipment that is met ARP request; Afterwards, LIST SERVER is replied ethernet frame to the terminal equipment A that sends ARP request.
By revising the mode of the destination address (being also broadcast address) of the first kind in ARP request, the address (unicast address) that broadcast address in this ARP request is revised as to an appointment, thereby this amended ARP request is sent to the LIST SERVER that unicast address is corresponding, by this LIST SERVER, give arp response, thereby make in whole ARP request without send ARP request to whole Ethernet, reduce the traffic of whole Ethernet, improve the operating efficiency of whole Ethernet, and which have good availability and autgmentability.
Application scenarios three, below are all the applicating examples for the source MAC of ethernet frame frame head part and the modification of target MAC (Media Access Control) address, and when specific implementation, technique scheme can also be applicable to the MAC Address in the packet of ethernet frame to modify, and reaches the application purposes such as application proxy.
For example, the terminal equipment A1 being connected with switch A sends an ARP request, obtain the MAC Address of the terminal equipment B1 being connected with switch b, specifically can adopt the mode described in above-mentioned application scenarios two to obtain the ethernet frame of replying of this ARP request, this replys the entrained source MAC of ethernet frame is the MAC Address that LIST SERVER is corresponding, and destination address is the MAC Address MAC that terminal equipment A is corresponding a, MAC afor the first kind, in user data, comprise the MAC Address MAC of requesting terminal equipment B 1 to some extent b, this MAC bfor Second Type.Particularly, when the switch A being connected with terminal equipment A1 receive that LIST SERVER returns reply Ethernet net frame time, resolve this and reply the MAC Address MAC that ethernet frame obtains institute's requesting terminal equipment B b, due to MAC bwith destination address MAC aform is different, if switch A is directly replied ethernet frame by this, is transmitted to MAC acorresponding terminal equipment A, terminal equipment A is by this MAC of None-identified b.Therefore switch A forward this reply ethernet frame to terminal equipment A before, by MAC entrained in user data bbe converted to the first kind, and the amended ethernet frame of replying be transmitted to terminal equipment A, so as terminal equipment can resolve and identify should the entrained MAC of ethernet frame bthereby, can know the MAC Address of terminal equipment B.
Embodiment tri-
Referring to Fig. 6, the embodiment of the present invention provides a kind of switch, and described switch can comprise: parsing module 401, the first modified module 402, the first sending module 403, determination module 404, the second modified module 405 and the second sending module 406;
Parsing module 401, for when receiving the ethernet frame of the terminal equipment transmission being connected with described switch, resolves described ethernet frame, obtains described ethernet frame entrained media access control MAC address, source and target MAC (Media Access Control) address;
The first modified module 402, for when described target MAC (Media Access Control) address is not unicast address, revises described target MAC (Media Access Control) address;
The first sending module 403, for being transmitted to the terminal equipment that amended target MAC (Media Access Control) address is corresponding through the amended ethernet frame of the first modified module 402;
Determination module 404, for when described target MAC (Media Access Control) address is unicast address, determines that whether the form of described source MAC is identical with the form of described target MAC (Media Access Control) address;
The second modified module 405, when not identical for the form of the form when described source MAC and described target MAC (Media Access Control) address, revises described source MAC, makes the form of amended source MAC identical with the form of described target MAC (Media Access Control) address;
The second sending module 406, for being transmitted to the terminal equipment corresponding with described target MAC (Media Access Control) address through the amended ethernet frame of the second modified module 405.
Wherein, the first modified module 402, specifically for being revised as described target MAC (Media Access Control) address one preassigned unicast address.
Referring to Fig. 7, the embodiment of the present invention the first sending module 403 as shown in Figure 6 comprises:
Search unit 4031, for searching target MAC (Media Access Control) address according to described amended target MAC (Media Access Control) address and forwarding corresponding relation between port, obtain the forwarding port that described amended target MAC (Media Access Control) address is corresponding;
Transmitting element 4032, is forwarded to terminal equipment corresponding to described amended target MAC (Media Access Control) address for the forwarding port by finding by described amended ethernet frame.
Referring to Fig. 8, the embodiment of the present invention the second modified module 405 as shown in Figure 6 comprises:
Search unit 4051, for search the MAC Address conversion table of local storage according to described source MAC, obtain the translating address of described source MAC, the form of the translating address of described source MAC is identical with the form of described target MAC (Media Access Control) address;
Revise unit 4052, for described source MAC is revised as to described translating address.
Wherein, search unit 4051, during specifically for the conversion table that is dynamic-configuration when described MAC Address conversion table, according to described source MAC, search described MAC Address conversion table, determine the translating address that whether has described source MAC in described MAC Address conversion table, if there is not the translating address that described source MAC is corresponding in described MAC Address conversion table, from predefined MAC Address pond, select a unappropriated MAC Address as the translating address of described source MAC.
Referring to Fig. 9, the embodiment of the present invention the second sending module 406 as shown in Figure 6 comprises:
Search unit 4061, for searching target MAC (Media Access Control) address according to described target MAC (Media Access Control) address and forwarding corresponding relation between port, obtain the forwarding port corresponding with described target MAC (Media Access Control) address;
Transmitting element 4062, for by amended ethernet frame by the forwarding port repeat that finds to external equipment corresponding to described target MAC (Media Access Control) address.
In the embodiment of the present invention, parsing module 401, also for resolving described ethernet frame, obtains the entrained user data of described ethernet frame;
Correspondingly, referring to Figure 10, the embodiment of the present invention the second sending module 406 as shown in Figure 6 comprises:
Determining unit 4063, when comprising MAC Address in described user data, determines that whether the form of described MAC Address is identical with the form of described target MAC (Media Access Control) address;
Revise unit 4064, when not identical for the form of the form when described MAC Address and described target MAC (Media Access Control) address, revise described MAC Address, make the form of amended MAC Address identical with the form of described target MAC (Media Access Control) address;
Transmitting element 4065, for being transmitted to the terminal equipment corresponding with described target MAC (Media Access Control) address through revising the amended ethernet frame in unit 4064.
In the embodiment of the present invention, above-described MAC Address comprises first kind form and Second Type form, described first kind form comprises producer's unique identification and network interface sign, described producer unique identification is for identifying the manufacturer of MAC Address, and described network interface sign is for marked network interface manufacturer; Described Second Type form at least comprises switch identification and terminal iidentification, and described switch identification is for identifying the switch in Ethernet, and described terminal iidentification is for identifying the terminal equipment being connected with switch.
In the embodiment of the present invention, when switch receives the ethernet frame of the terminal equipment transmission being connected with described switch, resolve described ethernet frame and obtain source MAC and the target MAC (Media Access Control) address that ethernet frame carries, when the form of source MAC is not identical with the form of target MAC (Media Access Control) address, revise described source MAC, make the form of amended source MAC identical with the form of described target MAC (Media Access Control) address, afterwards, amended ethernet frame is transmitted to the terminal equipment corresponding with target MAC (Media Access Control) address, so that the source MAC that sends this ethernet frame can be resolved and identify to the terminal equipment that described target MAC (Media Access Control) address is corresponding.In addition, when target MAC (Media Access Control) address is not unicast address, revise described target MAC (Media Access Control) address, and amended ethernet frame is transmitted to the terminal equipment that amended target MAC (Media Access Control) address is corresponding, make when target MAC (Media Access Control) address is broadcast address or multicast address, without forwarding above-mentioned ethernet frame to whole Ethernet or all multicast members, reduce the traffic of whole Ethernet, improve the operating efficiency of whole Ethernet, and which have good availability and autgmentability.
Embodiment tetra-
Referring to Figure 11, the embodiment of the present invention provides a kind of switch, and described switch comprises: parsing module 501, determination module 502, modified module 503 and sending module 504;
Parsing module 501, for when receiving the ethernet frame being forwarded by other switches, resolves described ethernet frame, obtains described ethernet frame entrained media access control MAC address, source and target MAC (Media Access Control) address;
Determination module 502, whether connected with described switch the form of the identical MAC Address of form of the MAC Address adopting for the form of definite described target MAC (Media Access Control) address terminal equipment be identical;
Modified module 503, when not identical for the form of the identical MAC Address of form of the MAC Address when the terminal equipment employing connected with described switch of the form of described target MAC (Media Access Control) address, revise described target MAC (Media Access Control) address, make the form of the identical MAC Address of form of the MAC Address that the form of the amended target MAC (Media Access Control) address terminal equipment connected with described switch adopt identical;
Sending module 504, for being transmitted to terminal equipment corresponding to amended target MAC (Media Access Control) address being connected with described switch through the amended ethernet frame of modified module 503.
Referring to Figure 12, embodiment of the present invention modified module 503 as shown in figure 11 comprises:
Search unit 5031, for search the MAC Address conversion table of local storage according to described target MAC (Media Access Control) address, obtain the translating address of described target MAC (Media Access Control) address, the form of the identical MAC Address of form of the MAC Address that the form of the translating address of the described target MAC (Media Access Control) address terminal equipment connected with described switch adopts is identical;
Revise unit 5032, for described target MAC (Media Access Control) address is revised as to described translating address.
Wherein, search unit 50314, during specifically for the conversion table that is dynamic-configuration when described MAC Address conversion table, according to described target MAC (Media Access Control) address, search described MAC Address conversion table, determine the translating address that whether has described target MAC (Media Access Control) address in described MAC Address conversion table, if there is not the translating address of described target MAC (Media Access Control) address in described MAC Address conversion table, from predefined MAC Address pond, select a unappropriated MAC Address as the translating address of described target MAC (Media Access Control) address.
Referring to Figure 13, embodiment of the present invention sending module 504 as shown in figure 11 comprises:
Search unit 5041, for searching target MAC (Media Access Control) address according to described amended target MAC (Media Access Control) address and forwarding corresponding relation between port, obtain the forwarding port corresponding with described amended target MAC (Media Access Control) address;
Transmitting element 5042, for by amended ethernet frame by the forwarding port repeat that finds to terminal equipment corresponding to the amended target MAC (Media Access Control) address being connected with described switch.
In the embodiment of the present invention, parsing module 501, also for resolving described ethernet frame, obtains the entrained user data of described ethernet frame;
Correspondingly, referring to Figure 14, embodiment of the present invention sending module 504 as shown in figure 11 comprises:
Determining unit 5043, when comprising MAC Address in described user data, determines that the form of the identical MAC Address of form of the MAC Address that whether connected with the described switch terminal equipment of form of described MAC Address adopts is identical;
Revise unit 5044, when not identical for the form of the identical MAC Address of form of the MAC Address when the terminal equipment employing connected with described switch of the form of described MAC Address, revise described MAC Address, make the form of the identical MAC Address of form of the MAC Address that the form of the amended MAC Address terminal equipment connected with described switch adopt identical;
Transmitting element 5045, for being transmitted to terminal equipment corresponding to amended target MAC (Media Access Control) address being connected with described switch through revising the amended ethernet frame in unit 5041.
In the embodiment of the present invention, above-described MAC Address comprises first kind form and Second Type form, described first kind form comprises producer's unique identification and network interface sign, described producer unique identification is for identifying the manufacturer of MAC Address, and described network interface sign is for marked network interface manufacturer; Described Second Type form at least comprises switch identification and terminal iidentification, and described switch identification is for identifying the switch in Ethernet, and described terminal iidentification is for identifying the terminal equipment being connected with switch.
In the embodiment of the present invention, when switch receives the ethernet frame being forwarded by other switches, resolve ethernet frame and obtain source MAC and the target MAC (Media Access Control) address that ethernet frame carries, when the form of the identical MAC Address of form of the MAC Address adopting when the form of the target MAC (Media Access Control) address terminal equipment connected with switch is not identical, revise described target MAC (Media Access Control) address, make the form of the identical MAC Address of form of the MAC Address that the form of the amended target MAC (Media Access Control) address terminal equipment connected with switch adopt identical, afterwards, amended ethernet frame is transmitted to terminal equipment corresponding to amended target MAC (Media Access Control) address being connected with switch, make the target MAC (Media Access Control) address that switch can be resolved and identification is different from local mac address form, so that the ethernet frame that other switches can be forwarded is successfully forwarded to the terminal equipment that destination address is corresponding.
It should be noted that: the switch that above-described embodiment provides is when forwarding ethernet frame, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the internal structure that is about to switch is divided into different functional modules, to complete all or part of function described above.In addition, the switch that above-described embodiment provides belongs to same design with the embodiment of the method that forwards ethernet frame, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (26)

1. a method that forwards ethernet frame, is characterized in that, described method comprises:
When switch receives the ethernet frame of the terminal equipment transmission being connected with described switch, resolve described ethernet frame, obtain described ethernet frame entrained media access control MAC address, source and target MAC (Media Access Control) address;
When described target MAC (Media Access Control) address is not unicast address, described switch is revised described target MAC (Media Access Control) address, and amended ethernet frame is transmitted to the terminal equipment that amended target MAC (Media Access Control) address is corresponding;
When described target MAC (Media Access Control) address is unicast address, described switch determines that whether the form of described source MAC is identical with the form of described target MAC (Media Access Control) address;
When the form of described source MAC is not identical with the form of described target MAC (Media Access Control) address, described switch is revised described source MAC, make the form of amended source MAC identical with the form of described target MAC (Media Access Control) address, afterwards, amended ethernet frame is transmitted to the terminal equipment corresponding with described target MAC (Media Access Control) address.
2. method according to claim 1, is characterized in that, described switch is revised described target MAC (Media Access Control) address and comprised:
Described switch is revised as a preassigned unicast address by described target MAC (Media Access Control) address.
3. method according to claim 1, is characterized in that, describedly amended ethernet frame is transmitted to the terminal equipment that amended target MAC (Media Access Control) address is corresponding comprises:
According to described amended target MAC (Media Access Control) address, search target MAC (Media Access Control) address and forward corresponding relation between port, obtaining the forwarding port that described amended target MAC (Media Access Control) address is corresponding;
By the forwarding port finding, described amended ethernet frame is forwarded to terminal equipment corresponding to described amended target MAC (Media Access Control) address.
4. method according to claim 1, is characterized in that, described switch is revised described source MAC, makes that the form of amended source MAC is identical with the form of described target MAC (Media Access Control) address to be comprised:
Described switch is searched the MAC Address conversion table of local storage according to described source MAC, obtain the translating address of described source MAC, and the form of the translating address of described source MAC is identical with the form of described target MAC (Media Access Control) address;
Described switch is revised as described translating address by described source MAC.
5. method according to claim 4, is characterized in that, described switch is searched the MAC Address conversion table of local storage according to described source MAC, and the translating address that obtains described source MAC comprises:
When conversion table that described MAC Address conversion table is dynamic-configuration, described switch is searched described MAC Address conversion table according to described source MAC, determines the translating address that whether has described source MAC in described MAC Address conversion table;
If there is not the translating address that described source MAC is corresponding in described MAC Address conversion table, from predefined MAC Address pond, select a unappropriated MAC Address as the translating address of described source MAC.
6. method according to claim 1, is characterized in that, describedly amended ethernet frame is transmitted to the terminal equipment corresponding with described target MAC (Media Access Control) address comprises:
Described switch is searched target MAC (Media Access Control) address and forwards corresponding relation between port according to described target MAC (Media Access Control) address, obtains the forwarding port corresponding with described target MAC (Media Access Control) address;
Described switch by amended ethernet frame by the forwarding port repeat that finds to external equipment corresponding to described target MAC (Media Access Control) address.
7. method according to claim 1, is characterized in that, described switch is resolved described ethernet frame, also obtains the entrained user data of described ethernet frame;
Correspondingly, describedly amended ethernet frame be transmitted to the terminal equipment corresponding with described target MAC (Media Access Control) address comprise:
While comprising MAC Address in described user data, determine that whether the form of described MAC Address is identical with the form of described target MAC (Media Access Control) address;
When the form of described MAC Address is not identical with the form of described target MAC (Media Access Control) address, described switch is revised described MAC Address, make the form of amended MAC Address identical with the form of described target MAC (Media Access Control) address, afterwards, amended ethernet frame is transmitted to the terminal equipment corresponding with described target MAC (Media Access Control) address.
8. according to the method described in claim 1 to 7 any one, it is characterized in that, described MAC Address comprises first kind form and Second Type form, described first kind form comprises producer's unique identification and network interface sign, described producer unique identification is for identifying the manufacturer of MAC Address, and described network interface sign is for marked network interface manufacturer; Described Second Type form at least comprises switch identification and terminal iidentification, and described switch identification is for identifying the switch in Ethernet, and described terminal iidentification is for identifying the terminal equipment being connected with switch.
9. a method that forwards ethernet frame, is characterized in that, described method comprises:
When switch receives the ethernet frame being forwarded by other switches, resolve described ethernet frame, obtain described ethernet frame entrained media access control MAC address, source and target MAC (Media Access Control) address;
Described switch determines that the form of the MAC Address that whether connected with the described switch terminal equipment of the form of described target MAC (Media Access Control) address adopts is identical;
When the form of the MAC Address adopting when the form of the described target MAC (Media Access Control) address terminal equipment connected with described switch is not identical, described switch is revised described target MAC (Media Access Control) address, makes the form of the MAC Address that the form of the amended target MAC (Media Access Control) address terminal equipment connected with described switch adopt identical;
Described switch is transmitted to amended ethernet frame on terminal equipment corresponding to amended target MAC (Media Access Control) address being connected with described switch.
10. method according to claim 9, is characterized in that, described switch is revised described target MAC (Media Access Control) address, makes identical the comprising of form of the MAC Address that the form of the amended target MAC (Media Access Control) address terminal equipment connected with described switch adopt:
Described switch is searched the MAC Address conversion table of local storage according to described target MAC (Media Access Control) address, obtain the translating address of described target MAC (Media Access Control) address, the form of the MAC Address that the form of the translating address of the described target MAC (Media Access Control) address terminal equipment connected with described switch adopts is identical;
Described switch is revised as described translating address by described target MAC (Media Access Control) address.
11. methods according to claim 10, is characterized in that, described switch is searched the MAC Address conversion table of local storage according to described target MAC (Media Access Control) address, and the translating address that obtains described target MAC (Media Access Control) address comprises:
When conversion table that described MAC Address conversion table is dynamic-configuration, described switch is searched described MAC Address conversion table according to described target MAC (Media Access Control) address, determines the translating address that whether has described target MAC (Media Access Control) address in described MAC Address conversion table;
If there is not the translating address of described target MAC (Media Access Control) address in described MAC Address conversion table, from predefined MAC Address pond, select a unappropriated MAC Address as the translating address of described target MAC (Media Access Control) address.
12. methods according to claim 9, is characterized in that, described switch is transmitted to amended ethernet frame on terminal equipment corresponding to amended target MAC (Media Access Control) address being connected with described switch, comprising:
Described switch is searched target MAC (Media Access Control) address and forwards corresponding relation between port according to described amended target MAC (Media Access Control) address, obtains the forwarding port corresponding with described amended target MAC (Media Access Control) address;
Described switch by amended ethernet frame by the forwarding port repeat that finds to terminal equipment corresponding to the amended target MAC (Media Access Control) address being connected with described switch.
13. methods according to claim 9, is characterized in that, described switch is resolved described ethernet frame, also obtain the entrained user data of described ethernet frame;
Correspondingly, described switch is transmitted to by amended ethernet frame terminal equipment corresponding to amended target MAC (Media Access Control) address being connected with described switch and comprises:
While comprising MAC Address in described user data, determine that the form of the MAC Address that whether connected with the described switch terminal equipment of the form of described MAC Address adopts is identical;
When the form of the MAC Address adopting when the form of the described MAC Address terminal equipment connected with described switch is not identical, described switch is revised described MAC Address, make the form of the MAC Address that the form of the amended MAC Address terminal equipment connected with described switch adopt identical, afterwards, amended ethernet frame is transmitted to terminal equipment corresponding to amended target MAC (Media Access Control) address being connected with described switch.
14. according to the method described in claim 9 to 13 any one, it is characterized in that, described MAC Address comprises first kind form and Second Type form, described first kind form comprises producer's unique identification and network interface sign, described producer unique identification is for identifying the manufacturer of MAC Address, and described network interface sign is for marked network interface manufacturer; Described Second Type form at least comprises switch identification and terminal iidentification, and described switch identification is for identifying the switch in Ethernet, and described terminal iidentification is for identifying the terminal equipment being connected with switch.
15. 1 kinds of switches, is characterized in that, described switch comprises: parsing module, the first modified module, the first sending module, determination module, the second modified module and the second sending module;
Described parsing module, for when receiving the ethernet frame of the terminal equipment transmission being connected with described switch, resolves described ethernet frame, obtains described ethernet frame entrained media access control MAC address, source and target MAC (Media Access Control) address;
Described the first modified module, for when described target MAC (Media Access Control) address is not unicast address, revises described target MAC (Media Access Control) address;
Described the first sending module, for being transmitted to the terminal equipment that amended target MAC (Media Access Control) address is corresponding through the amended ethernet frame of the first modified module;
Described determination module, for when described target MAC (Media Access Control) address is unicast address, determines that whether the form of described source MAC is identical with the form of described target MAC (Media Access Control) address;
Described the second modified module, when not identical for the form of the form when described source MAC and described target MAC (Media Access Control) address, revises described source MAC, makes the form of amended source MAC identical with the form of described target MAC (Media Access Control) address;
Described the second sending module, for being transmitted to the terminal equipment corresponding with described target MAC (Media Access Control) address through the amended ethernet frame of described the second modified module.
16. switches according to claim 15, is characterized in that, described the first modified module, specifically for being revised as described target MAC (Media Access Control) address one preassigned unicast address.
17. switches according to claim 15, is characterized in that, described the first sending module comprises:
Search unit, for searching target MAC (Media Access Control) address according to described amended target MAC (Media Access Control) address and forwarding corresponding relation between port, obtain the forwarding port that described amended target MAC (Media Access Control) address is corresponding;
Transmitting element, is forwarded to terminal equipment corresponding to described amended target MAC (Media Access Control) address for the forwarding port by finding by described amended ethernet frame.
18. switches according to claim 15, is characterized in that, described the second modified module comprises:
Search unit, for search the MAC Address conversion table of local storage according to described source MAC, obtain the translating address of described source MAC, the form of the translating address of described source MAC is identical with the form of described target MAC (Media Access Control) address;
Revise unit, for described source MAC is revised as to described translating address.
19. switches according to claim 18, it is characterized in that, the described unit of searching, during specifically for the conversion table that is dynamic-configuration when described MAC Address conversion table, according to described source MAC, search described MAC Address conversion table, determine the translating address that whether has described source MAC in described MAC Address conversion table, if there is not the translating address that described source MAC is corresponding in described MAC Address conversion table, from predefined MAC Address pond, select a unappropriated MAC Address as the translating address of described source MAC.
20. switches according to claim 15, is characterized in that, described the second sending module comprises:
Search unit, for searching target MAC (Media Access Control) address according to described target MAC (Media Access Control) address and forwarding corresponding relation between port, obtain the forwarding port corresponding with described target MAC (Media Access Control) address;
Transmitting element, for by amended ethernet frame by the forwarding port repeat that finds to external equipment corresponding to described target MAC (Media Access Control) address.
21. methods according to claim 15, is characterized in that, described parsing module, also for resolving described ethernet frame, obtains the entrained user data of described ethernet frame;
Correspondingly, described the second sending module comprises:
Determining unit, when comprising MAC Address in described user data, determines that whether the form of described MAC Address is identical with the form of described target MAC (Media Access Control) address;
Revise unit, when not identical for the form of the form when described MAC Address and described target MAC (Media Access Control) address, revise described MAC Address, make the form of amended MAC Address identical with the form of described target MAC (Media Access Control) address;
Transmitting element, for being transmitted to the terminal equipment corresponding with described target MAC (Media Access Control) address through the amended ethernet frame in described modification unit.
22. 1 kinds of switches, is characterized in that, described switch comprises: parsing module, determination module, modified module and sending module;
Described parsing module, for when receiving the ethernet frame being forwarded by other switches, resolves described ethernet frame, obtains described ethernet frame entrained media access control MAC address, source and target MAC (Media Access Control) address;
Described determination module is identical for determining the form of the MAC Address that whether connected with the described switch terminal equipment of form of described target MAC (Media Access Control) address adopts;
Described modified module, when not identical for the form of the MAC Address when the terminal equipment employing connected with described switch of the form of described target MAC (Media Access Control) address, revise described target MAC (Media Access Control) address, make the form of the MAC Address that the form of the amended target MAC (Media Access Control) address terminal equipment connected with described switch adopt identical;
Described sending module, for being transmitted to terminal equipment corresponding to amended target MAC (Media Access Control) address being connected with described switch through the amended ethernet frame of described modified module.
23. switches according to claim 22, is characterized in that, described modified module comprises:
Search unit, for search the MAC Address conversion table of local storage according to described target MAC (Media Access Control) address, obtain the translating address of described target MAC (Media Access Control) address, the form of the MAC Address that the form of the translating address of the described target MAC (Media Access Control) address terminal equipment connected with described switch adopts is identical;
Revise unit, for described target MAC (Media Access Control) address is revised as to described translating address.
24. switches according to claim 23, it is characterized in that, the described unit of searching, during specifically for the conversion table that is dynamic-configuration when described MAC Address conversion table, according to described target MAC (Media Access Control) address, search described MAC Address conversion table, determine the translating address that whether has described target MAC (Media Access Control) address in described MAC Address conversion table, if there is not the translating address of described target MAC (Media Access Control) address in described MAC Address conversion table, from predefined MAC Address pond, select a unappropriated MAC Address as the translating address of described target MAC (Media Access Control) address.
25. switches according to claim 22, is characterized in that, described sending module comprises:
Search unit, for searching target MAC (Media Access Control) address according to described amended target MAC (Media Access Control) address and forwarding corresponding relation between port, obtain the forwarding port corresponding with described amended target MAC (Media Access Control) address;
Transmitting element, for by amended ethernet frame by the forwarding port repeat that finds to terminal equipment corresponding to the amended target MAC (Media Access Control) address being connected with described switch.
26. switches according to claim 22, is characterized in that, described parsing module, also for resolving described ethernet frame, obtains the entrained user data of described ethernet frame;
Correspondingly, described sending module comprises:
Determining unit, when comprising MAC Address in described user data, determines that the form of the MAC Address that whether connected with the described switch terminal equipment of form of described MAC Address adopts is identical;
Revise unit, when not identical for the form of the MAC Address when the terminal equipment employing connected with described switch of the form of described MAC Address, revise described MAC Address, make the form of the MAC Address that the form of the amended MAC Address terminal equipment connected with described switch adopt identical;
Transmitting element, for being transmitted to terminal equipment corresponding to amended target MAC (Media Access Control) address being connected with described switch through the amended ethernet frame in described modification unit.
CN201210330207.6A 2012-09-07 2012-09-07 Forward the method and interchanger of ethernet frame Active CN103685027B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210330207.6A CN103685027B (en) 2012-09-07 2012-09-07 Forward the method and interchanger of ethernet frame

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210330207.6A CN103685027B (en) 2012-09-07 2012-09-07 Forward the method and interchanger of ethernet frame

Publications (2)

Publication Number Publication Date
CN103685027A true CN103685027A (en) 2014-03-26
CN103685027B CN103685027B (en) 2017-08-25

Family

ID=50321385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210330207.6A Active CN103685027B (en) 2012-09-07 2012-09-07 Forward the method and interchanger of ethernet frame

Country Status (1)

Country Link
CN (1) CN103685027B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1283913A (en) * 1999-08-05 2001-02-14 索尼公司 Communicating appts communication method and its medium
CN1561045A (en) * 2004-03-10 2005-01-05 中兴通讯股份有限公司 Method for implementing transparent bridging of radio local network bridging
US6874147B1 (en) * 1999-11-18 2005-03-29 Intel Corporation Apparatus and method for networking driver protocol enhancement
US20050220094A1 (en) * 2004-03-30 2005-10-06 Parker David K Packet data modification processor command instruction set

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1283913A (en) * 1999-08-05 2001-02-14 索尼公司 Communicating appts communication method and its medium
US6874147B1 (en) * 1999-11-18 2005-03-29 Intel Corporation Apparatus and method for networking driver protocol enhancement
CN1561045A (en) * 2004-03-10 2005-01-05 中兴通讯股份有限公司 Method for implementing transparent bridging of radio local network bridging
US20050220094A1 (en) * 2004-03-30 2005-10-06 Parker David K Packet data modification processor command instruction set

Also Published As

Publication number Publication date
CN103685027B (en) 2017-08-25

Similar Documents

Publication Publication Date Title
US10044816B2 (en) Location-based domain name system service discovery
EP1583323B1 (en) Communications apparatus, name resolution method and program
CN102457586B (en) Expanding method for realizing double-layer network and expanded double-layer network
US7339895B2 (en) Gateway device and control method for communication with IP and IPV6 protocols
CN101465889B (en) Network address translation equipment and request method of response address analysis protocol
JP5817299B2 (en) Address translation apparatus, communication system, and address translation method
CN101197858B (en) Address translation method, device and router with the same
US7826462B2 (en) Address assignment apparatus, address assignment method, and computer product
US20070253377A1 (en) Apparatus and method for name resolution in an aggregation of mobile networks
CN101132424B (en) Network address conversion method and device thereof
CN102790813B (en) Communication method as well as system and terminal equipment based on IPv6 (internet protocol version 6) network
CN103973830A (en) Hybrid unicast/multicast DNS-based service discovery
US20100091684A1 (en) System and Method for Discovery of Dynamically Assigned Information Handling System IP Addresses
US11595348B2 (en) Method for configuring, method for providing topology information, name service server, device, computer program and computer-readable medium
KR20040065643A (en) Method for performing automatic registration of IP address and IP domain name in IP protocol version 6
CN104038422A (en) Message forwarding method and gateways
US20150200910A1 (en) Control apparatus and transfer control method
CN103312749A (en) Discovery method, equipment and system for application layer flow optimization (ALTO) server
CN102035899A (en) Method and device for determining addresses in IPv6 (internet protocol version 6) based LAN (local area network)
US7693091B2 (en) Teredo connectivity between clients behind symmetric NATs
CN103888554A (en) IPv4 and IPv6 compatible domain name resolution method and system
CN113660357B (en) Method and device for automatically acquiring IP address by IPv6 dual stack system
CN101262410B (en) Implementation method for DNS application gateway based on NAT-PT
CN103685027A (en) Method and exchanger for transmitting Ethernet frame
CN113364849B (en) DDS-based cross-wide area network dual-roaming data transmission method, system and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant