1, create a bond0 file
# vi /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
NM_CONTROLLED=no #Whether your network card is managed by networkmanager, details later Speakin
1, create a bond0 file
# vi /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
NM_CONTROLLED=no #Whether your network card is managed by networkmanager, details later Speakin
–turn to binary
function numberToBits(src)
local result = {}
local bitLen = 32
for i = 1, bitLen do
result[i] = src % 2
src = math.floor(src / 2)
end
return result <