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

Method for sending message and switch

A technology for sending messages and switches, which is applied in the field of computer networks, can solve problems affecting the processing performance of three-layer switches, and achieve the effects of reducing impact, improving sending performance, and reducing the number of sending

Active Publication Date: 2014-12-10
HUAWEI TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Then, for example, in order to obtain the ARP information of all connected users, the number of packets that the layer-3 switch needs to send is: the number of VLANs under VLAN aggregation × the number of connected users; however, a user only belongs to One VLAN, therefore, there will be ((the number of VLANs under VLAN aggregation-1)×the number of all connected users) messages that are invalid messages, which will seriously affect the processing performance of the Layer 3 switch, and these invalid messages Packets also place a processing burden on the network and other devices in the network

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 sending message and switch
  • Method for sending message and switch
  • Method for sending message and switch

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] see figure 1 , a method for sending a message, the method is specifically as follows:

[0028] Step 101: When sending a message, look up the corresponding relationship between the IP address information and the virtual local area network according to the destination IP address of the message;

[0029] Step 102: If the corresponding relationship between the IP address information and the virtual local area network is obtained according to the destination IP address, the virtual local area network corresponding to the destination IP address is obtained, and a message is sent to the virtual local area network;

[0030] Step 103: If the search module finds the corresponding relationship between the IP address information and the virtual local area network according to the destination IP address and cannot find the virtual local area network corresponding to the destination IP address, send a message to all virtual local area networks.

[0031] In the embodiment of the pres...

Embodiment 2

[0033] see figure 2 , which is a schematic diagram of networking of an aggregated VLAN network connected by a three-layer switch corresponding to the embodiment of the present invention; figure 2 The aggregated VLAN network shown includes three virtual local area networks, respectively VLAN10, VLAN20 and VLAN30, that is, VLAN10, VLAN20 and VLAN30 are all added to the aggregated VLAN100, and the aggregated VLAN100 is correspondingly configured with VLANIF (virtual local area network logical port), VLAN10, VLAN20 Layer 3 switches 2, 3, 5 and 1 are connected to VLAN30 and aggregated VLAN100 respectively.

[0034] In the embodiment of the present invention, the network administrator of the aggregated VLAN network can statically configure one or more IP network segments corresponding to the aggregated VLAN network and each virtual local area network in the aggregated VLAN network, wherein the IP network segment corresponding to the aggregated VLAN network Contains the IP network...

Embodiment 3

[0119] see Figure 8 , a switch, the switch is specifically the same as the three-layer switch in method embodiment 2, including: a search module 601 and a transmitter 602;

[0120] Finding module 601, for when sending message, according to the purpose Internet Protocol IP address of message search IP address information and corresponding relation between virtual local area network;

[0121] Transmitter 602 is used to if the search module 601 searches the corresponding relationship between the IP address information and the virtual local area network according to the destination IP address of the message to obtain the virtual local area network corresponding to the destination IP address, and sends the message to the virtual local area network, if the search module 601 according to the report When searching for the corresponding relationship between the IP address information and the virtual local area network through the destination IP address of the document and failing to o...

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 present invention discloses a method and a switch for sending a packet, which belongs to the field of computer network technologies. A layer 3 switch which is configured with an aggregated VLAN containing a plurality of VLANs searches information regarding correspondence between IP addresses and the VLANs to determine if there is a VLAN in the aggregated VLAN that corresponds to a destination IP address in a packet; if there is a VLAN that corresponds to the destination IP address, sends the packet to only that VLAN. In the technical solutions of the present invention, the number of invalid packets that are sent can be effectively reduced, thereby reducing an influence of the invalid packets on the whole virtual local area network.

Description

technical field [0001] The invention relates to the technical field of computer networks, in particular to a method for sending messages and a switch. Background technique [0002] Currently, a layer-3 switch is usually used to speed up data exchange within a VLAN (Virtual Local Area Network, virtual local area network) network. Among them, a layer-3 switch can be used as a gateway for users to realize high-speed forwarding of layer-3 data packets in the OSI (Open Systems Interconnection Reference Model, basic reference model for open systems interconnection) network model. [0003] Specifically, in order to realize the high-speed forwarding of the third-layer data packets, when setting up a VLAN network, the three-layer switch needs to configure the corresponding VLAN IF (logical port of the virtual local area network) of each VLAN network, and assign each configured VLAN IF Corresponding IP (Internet Protocol, Internet Protocol) network segment, and each assigned IP netwo...

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 Patents(China)
IPC IPC(8): H04L12/70H04L29/12H04L45/74
CPCH04L12/4641
Inventor 谭兆远
Owner HUAWEI TECH 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