CN101291350B - Processing method and device for address collision of media access control - Google Patents

Processing method and device for address collision of media access control Download PDF

Info

Publication number
CN101291350B
CN101291350B CN200810108462XA CN200810108462A CN101291350B CN 101291350 B CN101291350 B CN 101291350B CN 200810108462X A CN200810108462X A CN 200810108462XA CN 200810108462 A CN200810108462 A CN 200810108462A CN 101291350 B CN101291350 B CN 101291350B
Authority
CN
China
Prior art keywords
terminal equipment
access control
media access
address
message
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.)
Expired - Fee Related
Application number
CN200810108462XA
Other languages
Chinese (zh)
Other versions
CN101291350A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200810108462XA priority Critical patent/CN101291350B/en
Publication of CN101291350A publication Critical patent/CN101291350A/en
Application granted granted Critical
Publication of CN101291350B publication Critical patent/CN101291350B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a method and a device for processing the conflict of media access control addresses. The method comprises the following steps that: after first terminal equipment acquires a media access control address of second terminal equipment, the first terminal equipment sends a first reference message to the second terminal equipment when the first terminal equipment judges that a media access control address of the first terminal equipment is the same as that of second terminal equipment, and the media access control address and a network protocol address of the first terminal equipment are carried in the first reference message; the second terminal equipment acquires the first reference message, the second terminal equipment compares a network protocol address of the second terminal equipment with the network protocol address of the first terminal equipment when the second terminal equipment confirms that the media access control address of the second terminal equipment is the same as that of the first terminal equipment; and the first terminal equipment or the second terminal equipment carries out the processing of the media access control address according to a preset modification strategy and the comparison result. The method and the device effectively eliminate the conflict of the MAC addresses between the terminal equipment.

Description

The processing method of address collision of media access control and device
Technical field
The present invention relates to the communications field, relate in particular to a kind of processing method and device of address collision of media access control.
Background technology
High speed development along with technique of internet, ethernet network becomes necessary tool in people's routine work and the life gradually, wherein, the link layer of ethernet communication, mainly identify the uniqueness and the legitimacy of main frame with media interviews control (Medium Access Control abbreviates MAC as) address.
Along with development of internet technology, Ethernet has been widely used in the various large and medium-sized networkings, but usually can occur the collision problem of MAC Address in the transport process of ethernet data frame (being designated hereinafter simply as ethernet frame).Wherein, the MAC Address conflict is meant: in the MAC address learning process of Ethernet double layer network node (for example Ethernet switch etc.), two or more different ports that two or more identical source MACs are transmitted an Ethernet double layer network address of node occur.Wherein, MAC address learning is meant: Ethernet double layer network node is when transmitting ethernet frame, need know the corresponding relation between the source port of the source MAC of this ethernet frame and Ethernet double layer network node, and this corresponding relation is placed in " mac address forwarding table " of Ethernet double layer network node.
The MAC Address conflict occurs over just between the source MAC.If this Ethernet double layer network node virtual support local area network (LAN) (Virtual Local Area Network, abbreviate VLAN as), two ports that the MAC Address conflict takes place so will be among the same VLAN, and there is not the MAC Address collision problem in the port in same VLAN.
At present, the base transceiver station of CDMA2000 system (BTS) is supported the access base station controller (BSC) of Ethernet, for this Abis IP (procotol) networking, the base station is exposed to the MAC Address of outside network interface of the BTS of BSC can be by configuration or dynamically generate, and for example can adopt collocation method as shown in Figure 1 that MAC Address is configured.
For configuration as shown in Figure 1, the reason that produces the MAC Address conflict is mainly following two reasons:
One, for a plurality of BTS that belong to same double layer network, if mistake or other reasons occur in the configuration, will cause the MAC Address of a plurality of BTS external interfaces the same, also will produce the MAC Address conflict;
Two, malicious attack, the user sends mac frame by the MAC Address that constantly changes oneself to network, so also can produce the MAC Address conflict, and this also often takes place in wired access network.
After the MAC Address conflict takes place, if do not go control and solution, meeting makes the equipment cisco unity malfunction that MAC conflicts takes place, and at present, all is to utilize switch that MAC is conflicted to detect and control basically, but in this technology, after having discerned the MAC conflict, just the transmitting-receiving of switch ports themselves is controlled, the access terminal equipment that causes conflict is not done any control, still can there be the identical a plurality of equipment of MAC Address, do not eliminate the MAC Address conflict.
As can be seen, for the problem of MAC Address conflict how to eliminate the existence that accesses terminal, do not provide concrete solution in the existing technical scheme, therefore, need a kind of scheme that can address this problem.
Summary of the invention
Consider that a kind of technology of the needs that exist in the correlation technique solves the problem of MAC Address conflict how to eliminate the existence that accesses terminal and proposes the present invention, for this reason, main purpose of the present invention is to provide a kind of processing method and device of address collision of media access control, to address the above problem.
A kind of processing method of address collision of media access control is provided according to an aspect of the present invention.
Processing method according to the address collision of media access control of the embodiment of the invention comprises: after first terminal equipment obtains the media access control address of second terminal equipment, judge under itself the media access control address situation identical at first terminal equipment with the media access control address of second terminal equipment, send first with reference to message to second terminal equipment, first with reference to media access control address that carries first terminal equipment in the message and internet protocol address; Second terminal equipment obtains first with reference to message, determine that at second terminal equipment second terminal equipment compares the internet protocol address of its internet protocol address and first terminal equipment under its media access control address situation identical with the media access control address of first terminal equipment; According to predetermined strategy and the comparative result revised, first terminal equipment or second terminal equipment carry out media access control address to be handled.
Wherein, above-mentioned predetermined modification strategy is for one of following: the less side of internet protocol address carries out the media access control address processing in first terminal equipment and second terminal equipment; Perhaps the bigger side of internet protocol address carries out the media access control address processing in first terminal equipment and second terminal equipment.
Preferably, at the predetermined strategy of revising is that the less side of internet protocol address carries out under the situation of media access control address processing in first terminal equipment and second terminal equipment, under the situation of internet protocol address less than the internet protocol address of second terminal equipment of first terminal equipment, the operation that media access control address is handled is specially: second terminal equipment sends second with reference to message to first terminal equipment, and second with reference to the media access control address that carries second terminal equipment in the message; First terminal equipment obtains second with reference to message, and its media access control address is handled.
Preferably, at the predetermined strategy of revising is that the less side of internet protocol address carries out under the situation of media access control address processing in first terminal equipment and second terminal equipment, under the situation of internet protocol address greater than the internet protocol address of second terminal equipment of first terminal equipment, the operation that media access control address is handled is specially: second terminal equipment is handled its media access control address.
Preferably, at the predetermined strategy of revising is that the side that internet protocol address is bigger in first terminal equipment and second terminal equipment carries out under the situation of media access control address processing, under the situation of internet protocol address greater than the internet protocol address of second terminal equipment of first terminal equipment, the operation that media access control address is handled is specially: when second terminal equipment sends second with reference to message to first terminal equipment, second with reference to the media access control address that carries second terminal equipment in the message; First terminal equipment obtains second with reference to message, and its media access control address is handled.
Preferably, at the predetermined strategy of revising is that the side that internet protocol address is bigger in first terminal equipment and second terminal equipment carries out under the situation of media access control address processing, under the situation of internet protocol address less than the internet protocol address of second terminal equipment of first terminal equipment, the operation that media access control address is handled is specially: second terminal equipment is handled its media access control address.
Preferably, media access control address handle comprise following one of at least: revise media access control address, forbid the pairing port of media access control address.
Preferably, sending first with reference to message and/or second during with reference to message, first terminal equipment and second terminal equipment carry in the heading that sends and are used to indicate current message to be the Option Field with reference to message.
A kind of processing unit of address collision of media access control is provided according to a further aspect in the invention.
The processing unit of address collision of media access control comprises according to an embodiment of the invention: sending module, be used for after first terminal equipment obtains the media access control address of second terminal equipment, judge under itself the media access control address situation identical at first terminal equipment with the media access control address of second terminal equipment, send first with reference to message to second terminal equipment, first with reference to media access control address that carries first terminal equipment in the message and internet protocol address; Comparison module, be used for second terminal equipment and obtain first with reference to message, determine that at second terminal equipment second terminal equipment compares the internet protocol address of its internet protocol address and first terminal equipment under its media access control address situation identical with the media access control address of first terminal equipment; Processing module is used for according to predetermined strategy and the comparative result revised, and first terminal equipment or second terminal equipment carry out media access control address to be handled.
By above-mentioned at least one technical scheme of the present invention, eliminated the MAC Address conflict between the terminal equipment effectively, can guarantee all normally operations of all access terminal equipments.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of specification, is used from explanation the present invention with embodiments of the invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 be in the CDMA system according to correlation technique a plurality of base station controllers by the network structure of two layers of switching network access base station;
Fig. 2 is the flow chart according to the processing method of the address collision of media access control of the inventive method embodiment;
Fig. 3 is the schematic diagram according to the ARP message format of the inventive method embodiment;
Fig. 4 is the detailed process flow chart according to the processing method of the address collision of media access control of the inventive method embodiment;
Fig. 5 carries out the schematic diagram that media access control address is revised according to method shown in Figure 4;
Fig. 6 is the schematic diagram according to the processing unit of the address collision of media access control of apparatus of the present invention embodiment;
Fig. 7 is the schematic diagram according to the concrete structure example of the processing unit of the address collision of media access control of apparatus of the present invention embodiment.
Embodiment
Describe the present invention in detail below in conjunction with accompanying drawing.
Method embodiment
According to the embodiment of the invention, provide a kind of processing method of address collision of media access control.
Fig. 2 is the flow chart according to the processing method of the address collision of media access control of the embodiment of the invention, and as shown in Figure 2, this method may further comprise the steps:
Step S202, after first terminal equipment obtains the media access control address of second terminal equipment, judge under itself the media access control address situation identical at first terminal equipment with the media access control address of second terminal equipment, send first with reference to message to second terminal equipment, first with reference to media access control address that carries first terminal equipment in the message and internet protocol address;
Step S204, second terminal equipment obtains first with reference to message, determine that at second terminal equipment second terminal equipment compares the internet protocol address of its internet protocol address and first terminal equipment under its media access control address situation identical with the media access control address of first terminal equipment;
Step S206, according to predetermined strategy and the comparative result revised, first terminal equipment or second terminal equipment carry out media access control address to be handled.
By the technical scheme that the embodiment of the invention provides, eliminated the MAC Address conflict between the terminal equipment effectively, can guarantee all normally operations of all access terminal equipments.
Wherein, in step S206, above-mentioned predetermined modification strategy is for one of following: the less side of internet protocol address carries out the media access control address processing in first terminal equipment and second terminal equipment; Perhaps the bigger side of internet protocol address carries out the media access control address processing in first terminal equipment and second terminal equipment.
Preferably, in step S206, at the predetermined strategy of revising is that the less side of internet protocol address carries out under the situation of media access control address processing in first terminal equipment and second terminal equipment, under the situation of internet protocol address less than the internet protocol address of second terminal equipment of first terminal equipment, the operation that media access control address is handled is specially: second terminal equipment sends second with reference to message to first terminal equipment, and second with reference to the media access control address that carries second terminal equipment in the message; First terminal equipment obtains second with reference to message, and its media access control address is handled.
Preferably, in step S206, at the predetermined strategy of revising is that the less side of internet protocol address carries out under the situation of media access control address processing in first terminal equipment and second terminal equipment, under the situation of internet protocol address greater than the internet protocol address of second terminal equipment of first terminal equipment, the operation that media access control address is handled is specially: second terminal equipment is handled its media access control address.
Preferably, in step S206, at the predetermined strategy of revising is that the side that internet protocol address is bigger in first terminal equipment and second terminal equipment carries out under the situation of media access control address processing, under the situation of internet protocol address greater than the internet protocol address of second terminal equipment of first terminal equipment, the operation that media access control address is handled is specially: when second terminal equipment sends second with reference to message to first terminal equipment, second with reference to the media access control address that carries second terminal equipment in the message; First terminal equipment obtains second with reference to message, and its media access control address is handled.
Preferably, in step S206, at the predetermined strategy of revising is that the side that internet protocol address is bigger in first terminal equipment and second terminal equipment carries out under the situation of media access control address processing, under the situation of internet protocol address less than the internet protocol address of second terminal equipment of first terminal equipment, the operation that media access control address is handled is specially: second terminal equipment is handled its media access control address.
Preferably, in step S206, media access control address handle comprise following one of at least: revise media access control address, forbid the pairing port of media access control address.
Preferably, in step S202 and step S204, sending first with reference to message and/or second during with reference to message, first terminal equipment and second terminal equipment carry in the heading that sends and are used to indicate current message to be the Option Field with reference to message.
Preferably, in the embodiment of the invention first can be for utilizing address resolution protocol (Address Resolution Protocol with reference to message with reference to message and second, abbreviate ARP as) the self-defining message of message, this ARP message is encapsulated in the network physical frame, what wherein, have that a type field is used to represent to carry in the stem of physical frame is ARP message physical frame.
The ARP message is mainly used in the Ethernet, introduces the form of ARP message in the Ethernet below.Fig. 3 shows the ARP message format in the Ethernet, and as shown in Figure 3, the type of hardware field is the inquisitive hardware interface type of transmit leg, and the hardware classes offset of Ethernet is 1; Protocol type field is the upper-layer protocol address style that transmit leg provides, and procotol (Internet Protocol abbreviates IP as) address style is a hexadecimal value 0800; The hardware address length field is represented the length of hardware address, and the length of the hardware address of Ethernet is 6; The agreement length field is represented the length of upper-layer protocol address, and the length of IP address is 4; Operation field represents that message is ARP request message or arp reply message, and the ARP request message is 1, and the arp reply message is 2; What the transmit leg physical address field was represented is the physical address of transmit leg oneself, and the length of the physical address of transmit leg is fixed according to the hardware address length field, and Ethernet is 6 bytes; What transmit leg IP represented the address is the IP address of transmit leg oneself, and length is 4 bytes; What the target physical address field was represented is recipient's physical address; What the target ip address field was represented is recipient's IP address.Wherein, the arp reply message is that the physical address of oneself is filled in the message, and this message is directly sent to the purpose machine, rather than sends with the form of broadcasting.
The ARP message does not have fixing stem, is applicable to the multiple network technology in order to make the ARP message, and the length of its address field depends on the type of network, and the length of address in the fixing explanation of field subsequent field is arranged near the stem of ARP message simultaneously.In fact, the ARP message is quite summarized, and is enough to be used in any physical address and any agreement.
The ARP message of standard has two kinds at present: the ARP request message of standard and the arp reply message of standard.In embodiments of the present invention, increased by two kinds of self-defining ARP messages: self-defining ARP message 1 is (in the document, be called for short privately owned ARP message 1) (promptly, mentioned above first with reference to message), and self-defining ARP message 2 is (in the document, be called for short privately owned ARP message 2) (that is, mentioned above second with reference to message).The ARP message of two kinds of standards just repeats no more here.
Introduce the form and the create-rule of two kinds of self-defining ARP messages of embodiment of the invention increase below:
Privately owned ARP message 1, the ARP message format of message format and standard is the same, and the part field of the header of only privately owned ARP message 1 needs special generation, and wherein, the destination address of Ethernet frame head is 0xFFFFFFFF (this address is a broadcast address); (action type: 1 is the ARP request to the OP of the header of ARP message, 2 are arp reply, 3 are the RARP request, 4 reply for RARP) be any one number between 765535, be that OP is the natural number greater than 6, the value of OP mainly is that assurance and existing standard ARP message do not conflict, and constructs privately owned ARP message; Transmitting terminal ethernet address in the ARP header is the MAC Address (promptly producing the MAC Address of conflict) of self external network interface; Transmitting terminal IP address in the ARP header is the source IP address of the terminal equipment of transmission ARP message;
Wherein, the ARP message format of the message format of privately owned ARP message 2 and standard is the same, its create-rule is identical with the create-rule of above-mentioned privately owned ARP message 1, unique difference is that the OP (2) of the header of ARP is the number that between 765535 one can not be identical with the OP value of privately owned ARP message 1, no longer is repeated in this description here.
For above-mentioned two kinds of privately owned ARP messages, goal of the invention is: after detecting the MAC Address conflict, undertaken once more mutual by self-defining privately owned ARP message between the terminal equipment of conflict, confirm whether to exist really the MAC Address conflict, and the terminal equipment of determining to carry out follow-up MAC Address control, the mode of confirming by privately owned ARP message interaction like this can be avoided unusual the attack and the situation of the wrong MAC Address conflict of thinking.
Fig. 4 is the detailed process flow chart according to the processing method of the address collision of media access control of the inventive method embodiment, in the Ethernet MAC Address conflict to take place is example, and the control and the strategic decision-making of the MAC Address conflict of present embodiment are: carry out MAC Address by the little terminal equipment in IP address and handle, wherein, the MAC Address conflict has taken place in the MAC Address of two external network interfaces of base transceiver station, as shown in Figure 4, this method may further comprise the steps (flow process of terminal equipment A and terminal equipment B is in full accord, and the handling process of terminal equipment A is described below):
Step S401, the ARP message that terminal equipment A receiving terminal apparatus B sends, and this ARP message judged, whether produce the MAC Address conflict with oneself, wherein, the judgement of MAC conflict is: if the source MAC in the ARP message of receiving is identical with the MAC Address of self, then think the MAC conflict to have occurred; If, execution in step S402 then; If not, then flow process finishes;
Step S402, terminal equipment A judge whether the ARP type of message that receives is the ARP request message/arp reply message of standard; If, execution in step S403 then; If not, execution in step S405 then;
Step S403, terminal equipment A generates privately owned ARP message 1 mentioned above, and sends it to terminal equipment B, and wherein, the OP of privately owned ARP message 1 is lowest byte+7 of self MAC address;
Step S404, terminal equipment A write down and oneself sent privately owned ARP message 1, and flow process finishes;
Step S405, terminal equipment A judge whether the ARP type of message receive is privately owned ARP message 1, if, execution in step S406 then; If not, execution in step S408 then;
Step S406, terminal equipment A judge that whether the IP address of oneself is greater than the source IP address in the ARP message; If, execution in step S407 then; If not, flow process finishes;
Step S407, terminal equipment A generates privately owned ARP message 2 mentioned above, and sends it to terminal equipment B, and flow process finishes; Wherein, the OP of this privately owned ARP message 2 is lowest byte+8 of own MAC Address;
Step S408, terminal equipment A judge whether receive end ARP message is the judgement of privately owned message 2, if, execution in step S409 then; If not, then flow process finishes;
Step S409, " terminal equipment A judges from oneself whether sending privately owned ARP message 1 (T is the time, can be provided with as required) in second in before T; If, execution in step S410 then; If not, then flow process finishes;
Step S410, terminal equipment A carry out MAC Address conflict control, can make amendment or forbid the pairing port of MAC Address MAC Address.
Wherein, Fig. 5 shows by equipment in the flow process shown in Figure 4 and carries out the schematic diagram that media access control address is revised, as shown in Figure 5, BTS2 sends message 1 to BTS 1, this message 1 can be the ARP message of standard, BTS 1 receives message 1, find that itself and BTS2 MAC Address take place conflict, and the IP address of BTS2 is greater than the IP address of BTS 1; BTS 1 sends message 2 to BTS2, this message 2 can be privately owned ARP message 1, the IP address and the MAC Address of carrying BTS1 in this privately owned ARP message 1, BTS2 receives this privately owned ARP message, find the IP address of the IP address of himself greater than BTS 1, according to pre-set strategy, carry out MAC Address control by the little equipment in IP address, BTS2 sends message 3 to BTS1, this message 3 can be privately owned ARP message 2, the IP address and the MAC Address of carrying BTS2 in this privately owned ARP message 2, and BTS1 receives this message 3, and carry out MAC Address control, can make amendment or forbid the pairing port of MAC Address the MAC Address of himself.
Device embodiment
Fig. 6 shows the processing unit schematic diagram according to the address collision of media access control of the embodiment of the invention, and this device comprises:
Sending module 10, be used for after first terminal equipment obtains the media access control address of second terminal equipment, judge under itself the media access control address situation identical at first terminal equipment with the media access control address of second terminal equipment, send first with reference to message to second terminal equipment, first with reference to media access control address that carries first terminal equipment in the message and internet protocol address;
Comparison module 20, be used for second terminal equipment and obtain first with reference to message, determine that at second terminal equipment second terminal equipment compares the internet protocol address of its internet protocol address and first terminal equipment under its media access control address situation identical with the media access control address of first terminal equipment;
Processing module 30 is used for according to predetermined strategy and the comparative result revised, and first terminal equipment or second terminal equipment carry out media access control address to be handled.
The processing unit of the address collision of media access control that provides by the embodiment of the invention has been eliminated the MAC Address conflict between the terminal equipment effectively, can guarantee all normally operations of all access terminal equipments.
The fault treating apparatus that example of the present invention is provided is elaborated below, Fig. 7 shows the schematic diagram according to the concrete structure example of the processing unit of the address collision of media access control of the embodiment of the invention, as shown in Figure 7, in the double layer network system, each BTS has the device of Control Network MAC Address conflict, and this device can comprise:
The receiver module 12 of ARP message is used for the ARP message that sends from other ethernet device (message format referring to Fig. 3) is differentiated;
The control and the policy decision module 14 of MAC Address conflict are used for detecting whether the MAC Address conflict takes place, and the control strategy after the conflict of generation MAC Address etc., this control strategy is to judge decision-making according to the IP address of equipment; In concrete the application, this control and strategic decision-making can be that the little equipment in IP address carries out follow-up MAC Address control, also can adopt the big equipment in IP address to carry out follow-up MAC Address control, and two kinds of strategies can be chosen one wantonly; Use the purpose of this strategy to be: by guaranteeing that few equipment of trying one's best is carried out MAC Address control, reach to eliminate MAC Address conflict purpose.For example, control and strategic decision-making are that the little equipment in IP address carries out MAC Address when control, after two device mac address conflicts, only need the little equipment in IP address to carry out MAC Address and control, and have so just eliminated the MAC Address collision problem of two equipment;
The control module 16 of MAC Address conflict, be used for the corresponding port of MAC Address conflict being controlled according to the control of MAC Address conflict and the requirement of policy decision module, for example, the control device that adopts can be that the MAC Address of equipment self is made amendment, also can be by forbidding the device mac address pairing port that conflicts;
The detection of MAC Address conflict and the generation and the sending module 18 of control frame are used for the ARP message is sent to ethernet device.
As mentioned above,, eliminated the MAC Address conflict between the terminal equipment effectively, can guarantee all normally operations of all access terminal equipments by means of the processing method and/or the device of address collision of media access control provided by the invention.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. the processing method of an address collision of media access control is characterized in that, comprising:
After first terminal equipment obtains the media access control address of second terminal equipment, judge under itself the media access control address situation identical at described first terminal equipment with the media access control address of described second terminal equipment, send first with reference to message to described second terminal equipment, described first with reference to media access control address that carries described first terminal equipment in the message and internet protocol address;
Described second terminal equipment obtains described first with reference to message, determine that at described second terminal equipment described second terminal equipment compares the internet protocol address of its internet protocol address and described first terminal equipment under its media access control address situation identical with the media access control address of described first terminal equipment;
According to predetermined strategy and the comparative result revised, described first terminal equipment or described second terminal equipment carry out media access control address to be handled.
2. method according to claim 1 is characterized in that, described predetermined modification strategy is for one of following: the less side of internet protocol address carries out described media access control address processing in described first terminal equipment and described second terminal equipment; The bigger side of internet protocol address carries out described media access control address processing in perhaps described first terminal equipment and described second terminal equipment.
3. method according to claim 2, it is characterized in that, at the described predetermined strategy of revising is that the less side of internet protocol address carries out under the situation of described media access control address processing in described first terminal equipment and described second terminal equipment, under the situation of internet protocol address less than the internet protocol address of described second terminal equipment of described first terminal equipment, the operation that described media access control address is handled is specially:
Described second terminal equipment sends second with reference to message to described first terminal equipment, and described second with reference to the media access control address that carries described second terminal equipment in the message;
Described first terminal equipment obtains described second with reference to message, and its media access control address is handled.
4. method according to claim 2, it is characterized in that, at the described predetermined strategy of revising is that the less side of internet protocol address carries out under the situation of described media access control address processing in described first terminal equipment and described second terminal equipment, under the situation of internet protocol address greater than the internet protocol address of described second terminal equipment of described first terminal equipment, the operation that described media access control address is handled is specially:
Described second terminal equipment is handled its media access control address.
5. method according to claim 2, it is characterized in that, at the described predetermined strategy of revising is that the bigger side of internet protocol address carries out under the situation of described media access control address processing in described first terminal equipment and described second terminal equipment, under the situation of internet protocol address greater than the internet protocol address of described second terminal equipment of described first terminal equipment, the operation that described media access control address is handled is specially:
When described second terminal equipment sends second with reference to message to described first terminal equipment, described second with reference to the media access control address that carries described second terminal equipment in the message;
Described first terminal equipment obtains described second with reference to message, and its media access control address is handled.
6. method according to claim 2, it is characterized in that, at the described predetermined strategy of revising is that the bigger side of internet protocol address carries out under the situation of described media access control address processing in described first terminal equipment and described second terminal equipment, under the situation of internet protocol address less than the internet protocol address of described second terminal equipment of described first terminal equipment, the operation that described media access control address is handled is specially:
Described second terminal equipment is handled its media access control address.
7. according to each described method in the claim 1 to 6, it is characterized in that, described media access control address handle comprise following one of at least: revise media access control address, forbid the pairing port of media access control address.
8. according to each described method in the claim 1 to 6, it is characterized in that, sending described first with reference to message and/or described second during with reference to message, described first terminal equipment and described second terminal equipment carry in the heading that sends and are used to indicate current message to be the Option Field with reference to message.
9. the processing unit of an address collision of media access control, it is characterized in that, comprise: sending module, be used for after first terminal equipment obtains the media access control address of second terminal equipment, judge under itself the media access control address situation identical at described first terminal equipment with the media access control address of described second terminal equipment, send first with reference to message to described second terminal equipment, described first with reference to media access control address that carries described first terminal equipment in the message and internet protocol address;
Comparison module, be used for described second terminal equipment and obtain described first with reference to message, determine that at described second terminal equipment described second terminal equipment compares the internet protocol address of its internet protocol address and described first terminal equipment under its media access control address situation identical with the media access control address of described first terminal equipment;
Processing module is used for according to predetermined strategy and the comparative result revised, and described first terminal equipment or described second terminal equipment carry out media access control address to be handled.
CN200810108462XA 2008-06-02 2008-06-02 Processing method and device for address collision of media access control Expired - Fee Related CN101291350B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810108462XA CN101291350B (en) 2008-06-02 2008-06-02 Processing method and device for address collision of media access control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810108462XA CN101291350B (en) 2008-06-02 2008-06-02 Processing method and device for address collision of media access control

Publications (2)

Publication Number Publication Date
CN101291350A CN101291350A (en) 2008-10-22
CN101291350B true CN101291350B (en) 2010-12-08

Family

ID=40035419

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810108462XA Expired - Fee Related CN101291350B (en) 2008-06-02 2008-06-02 Processing method and device for address collision of media access control

Country Status (1)

Country Link
CN (1) CN101291350B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102333013B (en) * 2011-10-17 2014-12-10 中兴通讯股份有限公司 Method, device and system for detecting medium access control (MAC) address conflicts
CN102355510B (en) * 2011-10-17 2014-08-20 中兴通讯股份有限公司 Medium/media access control (MAC) address allocation method, device and system
CN102333134B (en) * 2011-10-17 2014-03-19 中兴通讯股份有限公司 Medium/media access control address conflict detection method, device and system
CN102340555B (en) * 2011-10-18 2014-04-09 中兴通讯股份有限公司 Medium/media access control address allocation method, device and system
CN103259876B (en) * 2012-02-17 2017-02-01 华为终端有限公司 Method and device for address conflict processing
CN103327130B (en) * 2012-03-22 2017-07-07 中兴通讯股份有限公司 Method, terminal and system that MAC Address is multiplexed
CN108965131A (en) * 2018-07-27 2018-12-07 新华三技术有限公司 A kind of method and device of message forwarding
CN109951871B (en) * 2019-04-04 2021-05-11 乐鑫信息科技(上海)股份有限公司 Method, device, terminal and storage medium for detecting node conflict

Also Published As

Publication number Publication date
CN101291350A (en) 2008-10-22

Similar Documents

Publication Publication Date Title
CN101291350B (en) Processing method and device for address collision of media access control
US9729501B2 (en) System and data card for stateless automatic configuration of IPv6 address and method for implementing the same
EP4027688A1 (en) Communication method, apparatus, device and system, and medium
CN102801623B (en) Multi-access data transmitting method and device
EP2753029B1 (en) Message learning method, device and system
CN102246461A (en) Method, apparatus and system for duplicate address detection proxy
WO2012109914A1 (en) Method and system for preventing ipv6 duplicate address detection attack
EP2536099A2 (en) Method and access node for preventing address conflict
CN112654049A (en) Method for configuring wireless communication coverage extension system and wireless communication coverage extension system for implementing same
WO2020220459A1 (en) Vxlan and openflow-based method and system for sharing virtual home network
CN108206783A (en) Address configuration method and its device in a kind of software defined network system
CN103516599A (en) Host finding method, network device, and host
EP3499808B1 (en) Network device and controlling method thereof applicable for mesh networks
US9503418B2 (en) Method and apparatus for obtaining remote IP address
CN101552677B (en) Processing method and exchange equipment for address detected message
KR102092015B1 (en) Method, apparatus and computer program for recognizing network equipment in a software defined network
CN112995038A (en) Access method of PROFINET protocol in industrial SDN
US8625428B2 (en) Method and apparatus for handling a switch using a preferred destination list
CN110798409A (en) Traffic processing method, device and storage medium
CN102611603B (en) The foundation of the static tunnel MPLS forwarding table, data transmission method and device
CN112737946B (en) Route advertising method, device, storage medium and system for IPv6 network
CN104052717A (en) Message sending method and apparatus
EP2362610B1 (en) Method and system for assigning an IPv6 link-local address
CN113746715A (en) Communication method and device
KR101786616B1 (en) Method, apparatus and computer program for subnetting of software defined network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20101208

Termination date: 20190602