Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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, and causing The drift of the MAC address brings other potential security risks; moreover, disabling MAC address learning and the limit of the number of MAC address learning are for the entire port or VLAN, which will cause normal packets to be unable to learn later

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

Embodiment Construction

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

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

[0028] S1: Receive message;

[0029] Here, the message can be divided into unknown message and known message, and the unknown message is, for example, an impact message forged by a hacker that contains a false source MAC address, and these unknown messages may have an impact on the MAC table of the device .

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

[0031] Here, each of the packet...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products