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

Method for processing three-layer ethernet switchboard direct connection host computer routing

A switch and Ethernet technology, applied in the field of Ethernet communication, can solve problems such as CPU occupation, route cannot be established normally, data flow impacts CPU, etc., and achieve the effect of speeding up the establishment

Inactive Publication Date: 2008-01-30
ZTE CORP
View PDF0 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The above-mentioned three-layer Ethernet switch has ARP but no MAC. The traditional method is to set up the routing exit as the CPU. In fact, this method has a very big weakness. Suppose the destination IP of a certain data flow is the direct connection network of the switch. The IP address in the segment, and the data flow is very large, but at this time the switch has learned ARP, but has not yet learned the MAC stage. At this time, the egress of the routing establishment points to the CPU, so this large traffic All will be flushed to the CPU. If the CPU processing capacity is average, but the traffic flushed to the CPU is very large, then the CPU may have been busy processing these packets flushed to the CPU, and there is no time and opportunity to learn the MAC of the device corresponding to the destination IP. There is no chance to modify this route to the CPU, which will form a vicious circle, causing this route to fail to be established normally for a long time, causing such data flow to impact the CPU for a long time, and causing other protocol packets that should be sent to the CPU to be normal. Sending and receiving and processing will also cause the CPU to be occupied for a long time and other events cannot be processed normally, etc., the consequences are very serious

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 processing three-layer ethernet switchboard direct connection host computer routing
  • Method for processing three-layer ethernet switchboard direct connection host computer routing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0029] If at a certain moment, the switch has learned the ARP of a certain device, as shown in the flow chart in Figure 1, the steps are as follows:

[0030] Step 110, the switch receives an ARP packet sent by a certain device, learns the ARP information of the device from the ARP packet, and obtains the corresponding MAC address according to the IP address in the ARP information;

[0031] Step 120, the switch searches the MAC table on the switch according to the obtained MAC address of the device, and judges whether the MAC address of the device has been learned, and if so, adds the direct connection of the IP address according to the exit corresponding to the MAC address in the table. If the route is not learned, add a direct route with an empty exit for the IP address.

[0032] The switch takes out the source MAC address from the ...

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 processing method of connecting a switch with Ethernet that has three layers directly to a host computer route, which is used for preventing a data packet whose aim IP is an IP address of the host computer from being washed into a CPU If the switch with Ethernet that has three layers has an ARP of a directly connected host computer but has no MAC of the computer host, comprising the following procedures: (a) a switch receives an address resolving protocol (APR) packet delivered by certain equipment, learns APR information from the APR packet and get a corresponding media access control (MAC) address according to the IP address in the APR information; (b) the switch searches a MAC table on the MAC address according to the MAC address, if the MAC address of the equipment can not be learned, then a direct route of the IP address is added, so as to lead the switch desert the information when the information is transmitted by the switch through the directly connected route. By adopting this method, the operation of the switch is not affected when the CPU can not process other packets.

Description

technical field [0001] The present invention relates to Ethernet communication technology, in particular to a processing method in which MAC (Medium Access Control, Media Access Control) does not exist when a host route is generated through ARP (Address Resolution Protocol, Address Resolution Protocol) on an Ethernet switch. Background technique [0002] With the rapid development of the Internet, Ethernet networks have gradually become an indispensable tool in people's daily work and life, so the demand and processing capacity of Ethernet switches are also increasing. At the same time, various manufacturers are trying to reduce costs. Improve the cost performance of products. With the rapid improvement of ASIC chip design technology, the second and third layer forwarding of Ethernet switches are basically completed by the chip, and the CPU basically does not process data forwarding on the switch, and is only responsible for some functions such as control management and forw...

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): H04L12/56H04L12/773H04L12/947
Inventor 毛继平杨自鹏
Owner ZTE CORP
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