Method and device for determining effectiveness of learned MAC (Media Access Control) address and gateway equipment

A technology of MAC address and MAC address table, applied in the device and gateway equipment, a method field of MAC address validity, to achieve the effect of preventing MAC address overflow attack

Inactive Publication Date: 2012-09-26
BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
View PDF3 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The above solutions can be divided into two categories: the first category dynamically adjusts the learning ability and address aging time of the MAC address table by setting the threshold of the MAC address table capacity; the second category prevents illegal packets by pre-configuring the association relationship of the MAC address table Attacks on the MAC table; although these two implementati

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for determining effectiveness of learned MAC (Media Access Control) address and gateway equipment
  • Method and device for determining effectiveness of learned MAC (Media Access Control) address and gateway equipment
  • Method and device for determining effectiveness of learned MAC (Media Access Control) address and gateway equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] Based on the above analysis, as figure 1 As shown, it is a schematic diagram of the implementation flow of the MAC address learning method provided by the embodiment of the present invention, which may include the following steps:

[0030] S101. The MAC address learning unit obtains the MAC address information carried in the received message;

[0031] S102. The MAC address learning unit adds the obtained MAC address information to the MAC address table;

[0032] During specific implementation, after a certain port of the gateway device receives the message, the MAC address learning unit extracts the MAC address information carried in the message, where the MAC address information can be the source MAC address information carried in the message, And judging whether the MAC address information reported exists in the MAC address table, if not, then learn the MAC address information carried in the message, that is, add the MAC address information to the MAC table.

[0033...

Embodiment 2

[0038] During specific implementation, if the learned MAC address does not exist in the ARP table, the CPU may directly determine that the learned address information is invalid.

[0039] In the specific implementation, since ARP table learning and MAC address learning are performed, an ARP learning request and a MAC address learning notification message will be sent to the CPU respectively. However, the order in which the MAC address learning notification message and the ARP learning request arrive at the CPU is uncertain. The ARP learning request arrives at the CPU before the MAC address learning notification message. In this case, if the currently received message is a legitimate message, the CPU will perform the ARP learning operation. In this way, the corresponding MAC address already exists in the ARP table. Address, at this time, when the MAC address learning request arrives at the CPU, when searching the ARP table, it can be guaranteed that the learned MAC address exist...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and a device for determining the effectiveness of a learned MAC (Media Access Control) address and gateway equipment, which are used for ensuring the effectiveness of the learned MAC address. The method for determining the effectiveness of the learned MAC address comprises the following steps that: a MAC address learning unit acquires source MAC address information carried in a received message; the MAC address information is added into a MAC address table; the MAC address learning unit sends a MAC address learning notification message to a central processing unit CPU, wherein the MAC address information is carried in the MAC address learning notification message; the CPU searches whether the MAC address information exists in an address resolution protocol ARP table; and the CPU determines the effectiveness of the MAC address information according to a search result.

Description

technical field [0001] The invention relates to the technical field of data communication, in particular to a method, a device and a gateway device for determining the validity of a learned MAC address. Background technique [0002] Media Access Control (MAC, Media Access Control) address, also known as hardware address, is an identifier for identifying network device nodes in a local area network. It is composed of 48-bit long, hexadecimal numbers; Addresses enable communication between different network devices. [0003] Ethernet is the most common communication protocol standard adopted by the existing local area network. The process of data transmission in Ethernet is as follows: The Ethernet switch forwards the message to the specific port; for this reason, the switch must remember the physical address information of the corresponding port, this information is stored in the MAC table, and the switch fills the described MAC table by the method of MAC address learning. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/12H04L29/06H04L12/66
Inventor 张文升白小鹏王志
Owner BEIJING XINWANG RUIJIE NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products