Control method and device for MAC address learning

A technology of MAC address and control method, which is applied in the field of control method and device of MAC address learning, which can solve problems such as potential safety hazards, MAC address drift, and failure to learn messages, and achieve the effect of preventing impact

Inactive Publication Date: 2015-06-24
SUZHOU CENTEC COMM CO LTD
View PDF2 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the above solution can achieve the purpose of preventing the impact packets from filling up the entire MAC table, a certain number of source MAC addresses of the impact packets have been learned into the MAC table, occupying the resources of the MAC table,

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
  • Control method and device for MAC address learning
  • Control method and device for MAC address learning
  • Control method and device for MAC address learning

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0026] The present invention will be described in detail below in conjunction with the specific embodiments shown in the drawings. However, these embodiments do not limit the present invention, and the structural, method, or functional changes made by those skilled in the art based on these embodiments are all included in the protection scope of the present invention.

[0027] Such as figure 1 As shown, the method for controlling MAC address learning in an embodiment of the present invention includes the steps:

[0028] S1: Receive message;

[0029] Here, the messages can be divided into unknown messages and known messages. The unknown messages are, for example, impact messages forged by hackers containing false source MAC addresses. These unknown messages may impact the MAC table of the device. .

[0030] S2: Parse the message to obtain the source MAC address and the corresponding destination MAC address of the message;

[0031] Here, each said message includes the corresponding sour...

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 control method and device for MAC address learning. The control method comprises the steps that a massage is received; the massage is analyzed, and the source MAC address of the message and the corresponding target MAC address of the message are obtained; matching between the target MAC address of the message and address entries in a MAC list is conducted, if matching succeeds, the corresponding source MAC address is allowed to be learned, and if matching fails, the corresponding source MAC address is forbidden to be learned. By the adoption of the control method and device for MAC address learning, according to a matching result between the target MAC address and the address entries in the MAC list, whether the corresponding source MAC address learning is conducted or not is judged, so that the impact of an unknown message on the MAC list is prevented, and it can be guaranteed that the source MAC address of known messages can be learned.

Description

technical field [0001] The invention relates to the field of MAC (Media Access Control) address learning, in particular to a control method and device for MAC address learning. Background technique [0002] The specifications of the MAC table in the chip are fixed, and the capacity of the MAC table is also limited. When a hacker forges a large number of packets with different source MAC addresses and sends them to the device, the MAC address table on the device may be filled with these source MAC addresses. Full, especially in the software learning mode, will also cause an impact on the CPU. In this way, when the MAC address table is full, even if it receives a normal message, it cannot learn the source MAC address in the normal message. [0003] At present, for this kind of impact on the MAC table, the MAC address learning is basically disabled based on the port or VLAN (Virtual LAN), or the number of MAC address learning based on the port or VLAN is limited to prevent thi...

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/06
CPCH04L61/103H04L2101/622
Inventor 李磊周志洪赵茂聪
Owner SUZHOU CENTEC COMM 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