ZeroTierOne icon indicating copy to clipboard operation
ZeroTierOne copied to clipboard

[local.conf add maxAcceptablePacketLossRatio ]

Open daifeilail opened this issue 3 years ago • 0 comments

{ "settings": { "secondaryPort": 9993, "tertiaryPort": 9993, "interfacePrefixBlacklist": [ "docker", "eth" ], "defaultBondingPolicy": "balance-rr", "policies": {

        "balance-rr": {
		    
            "upDelay": 30000,
            "downDelay": 1000,
            "failoverInterval": 500,
            "linkSelectMethod": "always",
	"maxAcceptablePacketLossRatio":0.15


        }
    }
}

}

The above configuration can realize BOND of multiple hosts

in local.conf Add the allowable packet loss rate For example, my use case only allows a maximum packet loss rate of 5%. more than 2 seconds. The multipath should be removed. Until the detection is normal, the Packet will be allocated to it again "upDelay": 30000, "downDelay": 2000, "failoverInterval": 500,

"maxAcceptablePacketLossRatio":0.05

5% packet loss rate. 2 seconds Drop line. The packet loss rate is less than 5%, and it will be redistributed to the traffic after 30 seconds

Translate with GOOGLE

daifeilail avatar Sep 15 '22 09:09 daifeilail