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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 
