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

A method of realizing network physical port binding based on linux policy routing extension

A physical port and extension implementation technology, which is applied in the field of network physical port binding based on Linux policy routing extension, can solve the problems of protocol stack data forwarding abnormality and the inability to process Layer 2 bridging data, etc., and achieve the effect of overcoming forwarding abnormality

Active Publication Date: 2020-05-29
福建星网智慧软件有限公司
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a method based on Linux policy routing extension to realize network physical port binding, and solve the problem that existing policy routing cannot handle two-layer bridging data and solve the problem that fwmarkbit often occurs in projects (Bit) is reused and causes abnormal data forwarding of the protocol stack

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
  • A method of realizing network physical port binding based on linux policy routing extension

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Please refer to figure 1 Shown, a kind of preferred embodiment of the method for realizing network physical port binding based on Linux policy routing extension of the present invention, described method needs to provide user space and kernel space; Described method comprises the following steps:

[0023] Step S11, when starting the network device on the WAN side, the configuration component of the user space uses an algorithm to calculate the globally unique label (pbmark) of the network device on the WAN side, and transfers the globally unique label to the kernel space for storage. Since the state of the network device on the WAN side will change, when the network device is turned off, the previously set global unique label (pbmark) will be cleared. Therefore, when the network device is turned on again, it is necessary to change the global unique label (pbmark ) to recalculate and set.

[0024] Step S12: Applying the globally unique label to the data packet uploaded ...

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 provides a method for realizing network physical port binding based on Linux policy routing extension, comprising: step S11, when the network device on the WAN side is turned on, the configuration component of the user space uses an algorithm to calculate the globally unique label of the network device on the WAN side , and transfer the globally unique label to the kernel space for storage; step S12, in the kernel space, apply the globally unique label to the data packet uploaded by the driver to the protocol stack, and process the globally unique label according to the globally unique label applied The packets are forwarded. Advantages of the present invention: on the basis of the original interface of Linux, the self-defined pbmark mode is extended, so that the globally unique label can not only handle the flexible distribution and forwarding of routes well, but also can well handle the forwarding of bridging data .

Description

technical field [0001] The invention relates to the field of network communication, in particular to a method for realizing network physical port binding based on Linux policy routing extension. Background technique [0002] Linux policy routing is a more flexible packet routing and forwarding mechanism than routing based on the destination network. It can mark the data packet according to the configuration, so that when querying the routing table, it can preferentially search for a specific routing table according to the marked mark, instead of searching for the default routing table forwarding, so as to achieve flexible classification and forwarding of data packets . [0003] At present, network operators require home network terminals to carry at least two service streams. Especially for large video data streams such as IPTV / OTT, home network terminals need to perform special processing on the data streams. Network operators also stipulate A special network data topolog...

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/721H04L12/723H04L12/741H04L29/06H04L29/08H04L45/50H04L45/74
CPCH04L45/50H04L45/54H04L45/66H04L69/22H04L69/30H04L67/563
Inventor 黄永罗海斌许少滨陈乃康
Owner 福建星网智慧软件有限公司