Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for generating host routing table entry

A technology for generating devices and routes, applied in the network field, it can solve problems such as multi-processing resources and consumption, and achieve the effect of reducing interaction, processing process, and avoiding ARP spoofing.

Active Publication Date: 2016-08-17
RUIJIE NETWORKS CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] Embodiments of the present invention provide a method and device for generating host routing entries, which are used to solve the problem in the prior art that the way of generating host routing entries consumes more processing resources

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 and device for generating host routing table entry
  • Method and device for generating host routing table entry
  • Method and device for generating host routing table entry

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] Such as image 3 As shown, it is a schematic diagram of steps of a method for generating a host routing entry in Embodiment 1 of the present invention, and the method mainly includes the following steps:

[0043] Step 101: the switch obtains the ARP request message sent by the terminal.

[0044] The concrete realization mode of this step 101 is:

[0045] When the source terminal needs to send a data packet to the destination terminal, the source terminal finds that there is no MAC address corresponding to the IP address of the destination terminal by searching the ARP entry stored by itself, and then sends an ARP request message to the switch, and the ARP request message Contains the source IP address (that is, the IP address of the source terminal, such as IP_PC1), the source MAC address (that is, the MAC address of the source terminal, such as MAC_PC1), and the VLAN identification number of the VLAN where the source terminal is located (assumed to be VLAN ID_PC1) an...

Embodiment 2

[0070] Based on the host routing table entries generated by the method described in the first embodiment, the solution in the embodiment of the present invention can respond to the ARP request message sent by the terminal. Such as Figure 4 As shown, it is a schematic diagram of the steps of responding to the ARP request message in Embodiment 2 of the present invention, which mainly includes the following steps:

[0071] Step 201: the switch searches the destination IP address in the ARP request message obtained in step 101 from other host routing table items included in the stored routing table except the host routing table item containing the IP address of the switch, and searches for the IP address containing the IP address of the switch. If the host routing table entry of the destination IP address is found, then go to step 202; if the host routing table entry including the destination IP address cannot be found, then go to step 203.

[0072] It should be noted that, in t...

Embodiment 3

[0081] Embodiment 3 is a device for generating host routing table entries that belongs to the same inventive concept as Embodiment 1 and Embodiment 2, such as Figure 5 As shown, the device mainly includes: an obtaining module 11 , a judging module 12 and a host routing entry generating module 13 .

[0082] Wherein, the obtaining module 11 is used for obtaining the ARP request message sent by the terminal.

[0083] The judging module 12 is configured to judge whether the host routing entry generation device stores authentication information including the source IP address according to the source IP address in the ARP request message.

[0084] The host routing table entry generation module 13 is used to, when the judging result of the judging module 12 is that the authentication information containing the source IP address is stored, according to the source IP address, MAC address, and VLAN identification number included in the authentication information, and a port number, ge...

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 and device for generating host routing table items. The specific content is: when an ARP request message sent by a terminal is received, the host routing table item is directly generated according to the authentication information stored by the terminal in the authentication process. Compared with the scheme in the prior art that generates the host routing table item according to the ARP table item after the ARP request message is verified according to the ARP monitoring table item, the scheme disclosed by the present invention can reduce resource consumption.

Description

technical field [0001] The invention relates to the field of network technology, in particular to a method and device for generating host routing table items. Background technique [0002] In order to save IP address resources, a super virtual local area network (Super Virtual Local Area Network, Super VLAN) technology came into being, and its network architecture diagram is shown in figure 1 shown. A Super VLAN can contain multiple sub-virtual local area networks (Sub VLANs). Layer 2 between different Sub VLANs is isolated from each other. When user terminals in different Sub VLANs need to communicate at Layer 3, the IP address of the Layer 3 interface of the Super VLAN will be used as the Gateway address, so that multiple Sub VLANs share one IP network segment, thus saving IP address resources. For example, figure 1 Sub VLAN1, Sub VLAN2 and Sub VLAN3 share the same subnet (1.1.1.0 / 24) and belong to the same network segment. [0003] In order to realize the three-layer ...

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/741H04L29/12H04L45/74
Inventor 黄米青
Owner RUIJIE NETWORKS CO LTD