A method for limiting bandwidth of container public network based on optional fields of ip protocol
A technology of bandwidth limitation and IP protocol, which is applied in the field of container public network bandwidth limitation based on the optional field of IP protocol, can solve the problems of unsure of the source of data packets, loss, etc., achieve high operating performance, reduce management costs, and high operating efficiency Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0046] Such as figure 1 As shown, a container public network bandwidth limitation method based on an IP protocol optional field includes the following steps:
[0047] 1) Load the Linux kernel module 1 on the physical machine, and after receiving the data packet sent by the container to the public network, add the IP address of the container to the options field of the IP header of the data packet;
[0048] 2) After the data packet sent in the container passes through the first layer of NAT of the physical machine, the source IP address of the data packet is modified to the LAN address of the physical machine and sent to the gateway machine;
[0049] 3) the gateway machine loads the kernel module 2, and after receiving the data packet, takes out the IP address of the container in the options field of the IP header of the data packet, and puts a corresponding label on the data packet;
[0050] 4) The gateway machine saves the label in the data packet to the connection in the IN...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


