Method for carrying out MAC (Media Access Control) address learning based on software and hardware coordination in VPLS (Virtual Private Lan Service)

A MAC address, software and hardware coordination technology, applied in the field of network communication, can solve the problems of heavy CPU burden, occupation, forgery, etc., and achieve the effect of avoiding excessive burden

Active Publication Date: 2017-11-07
武汉二进制半导体有限公司
View PDF11 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The technical problem to be solved by the present invention is that the attacker forges a large number of legal MAC addresses, causing the CPU to frequently process the authentication request message of the MAC address, causing the CPU to be overloaded. MAC addresses occupy normal MAC address table resources for a long time, causing the MAC address table to overflow and affecting packet forwarding of legitimate users.

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 for carrying out MAC (Media Access Control) address learning based on software and hardware coordination in VPLS (Virtual Private Lan Service)
  • Method for carrying out MAC (Media Access Control) address learning based on software and hardware coordination in VPLS (Virtual Private Lan Service)
  • Method for carrying out MAC (Media Access Control) address learning based on software and hardware coordination in VPLS (Virtual Private Lan Service)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The present invention first identifies the pre-authentication learning entry and updates the entry content in the MAC address table, wherein updating the entry content in the MAC address table includes updating the entry state to pre-authentication, and updating the aging period of the pre-authentication entry It is 1 / 2 of the preset aging period, that is, the pre-authentication entry is automatically released after waiting for 1 / 2 of the preset aging period, preventing the pre-authentication entry from receiving a response from the CPU for a long time and occupying MAC address table resources for a long time.

[0032] According to the status of the statistical linked list length of the pre-authentication entry, determine whether the statistical linked list length of the pre-authentication entry reaches or exceeds the request sending threshold, or whether the residence time of the pre-authentication entry in the linked list exceeds the preset threshold. If one of the abov...

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 for carrying out MAC (Media Access Control) address learning based on software and hardware coordination in VPLS (Virtual Private Lan Service). The method comprises the steps of receiving a message and analyzing the message to obtain a source MAC address and a virtual exchange instance to which the source MAC address belongs; if an address learning request access MAC address table exists, obtaining entry information in the MAC address table, and arbitrating pre-learning entry information and the entry information in the MAC address table; if MAC address authentication is started, updating an entry state to be pre-authentication and updating an aging period to be 1/2 of a preset aging period and arbitrating a link table length state; if the MAC address authentication is not started, updating the entry state to be authentication success and updating the aging period to be the preset aging period; and if the address learning request does not exist and a CPU request access MAC address table exists, when the entry state is valid and the entry information matches, performing corresponding operation on a pre-authentication entry state. According to the method, a great number of legal MAC addresses are prevented from being faked by an attacker to occupy normal MAC address table resources for a long time and the load of the CPU is prevented being too heavy, thereby maintaining the normal operation of a network and other business.

Description

technical field [0001] The present invention relates to the field of network communication, in particular to a method for learning MAC (Media Access Control, medium access control) addresses based on software and hardware cooperation in VPLS (Virtual Private Lan Service, virtual private local area network service). Background technique [0002] VPLS is a technology that provides virtual Ethernet services on a wide area network. It provides a multipoint-to-multipoint VPN (Virtual Private Network, virtual private network) networking mode to realize the interconnection between LAN sites across the wide area network. A typical VPLS network includes CE (Custom Edge, user edge device) and PE (Provider Edge, operator edge device), among which CE is connected to PE through AC (Attachment Circuit, access link), and between PE Establish a public network tunnel. Then, create a VSI (Visual Switch Instance, virtual switch instance) on each PE and configure a PW (Pseudo Wire, pseudowire)...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/741H04L29/06H04L29/12H04L45/74
CPCH04L45/74H04L63/1483H04L2101/622
Inventor 鲁鹏
Owner 武汉二进制半导体有限公司
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