When two devices compete for the same outbound exit, connection fairness favors the device with more connections. To observe device-level fairness, have one machine establish multiple streams while the other establishes a single stream, with both machines simultaneously accessing the same external controlled server.
Select host by WAN direction
On an IPv4 WAN with NAT, use nat dual-srchost for uploads to inspect internal source hosts, and nat dual-dsthost for downloads to inspect internal destination hosts. On paths without NAT, select host mode based on actual addresses. After applying LuCI advanced parameters, use tc -s qdisc show to verify the actual qdisc settings loaded on the egress device and the download IFB.
Enable a device with limited connections to operate simultaneously with a device having multiple connections
Have two wired devices each perform one and multiple download streams, respectively, and record the total throughput and individual share rates. After switching to host fairness, reconstruct identical connections.
Fix the shaping rate and server, and record the aggregate throughput and p95 latency from both clients over the same period. Repeat the round and swap which client has more connections. When devices are idle, allow the other client to use the remaining bandwidth. If both clients pass an additional NAT layer, first verify which address level CAKE can see.
Devices with fewer connections should receive their fair share. When inspecting outbound NAT, treat sources as identical and verify queue positions against NAT-aware settings.
Check the terminal output

Comments