<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Okay, here’s what I have to get fq_codel enabled on bridge on boot:<div class=""><br class=""></div><div class="">crontab -e </div><div class=""><br class=""></div><div class=""><div class=""># m h  dom mon dow   command</div><div class="">@reboot /usr/src/start.fq_codel.sh</div><div class=""><br class=""></div><div class="">vi /usr/src/start.fq_codel.sh</div><div class="">  #!/bin/bash</div><div class=""><br class=""></div><div class="">  /sbin/tc qdisc add dev enp1s0 root fq_codel</div><div class="">  /sbin/tc qdisc add dev enp2s0 root fq_codel</div><div class=""><br class=""></div><div class="">chmod 755 /usr/src/start.fq_codel.sh</div><div class=""><br class=""></div><div class="">it seems to be working under load (so far) though load will increase in the next 24 hours so I’ll watch it, but here’s what I get:</div><div class=""><br class=""></div><div class=""><div class="">tc -s qdisc show dev enp2s0</div><div class="">  qdisc fq_codel 8002: root refcnt 2 limit 10240p flows 1024 quantum 1514 target 5.0ms interval 100.0ms memory_limit 32Mb ecn</div><div class="">  Sent 4273930406 bytes 3059139 pkt (dropped 0, overlimits 0 requeues 1269)</div><div class="">  backlog 0b 0p requeues 1269</div><div class="">  maxpacket 54504 drop_overlimit 0 new_flow_count 401 ecn_mark 0</div><div class="">  new_flows_len 0 old_flows_len 0</div></div><div><br class=""></div><div>Should I change any settings? Where can I learn more about what my requeues should be, or really any of the other settings?</div><div><br class=""></div><div>- Dev </div><div><br class=""><blockquote type="cite" class=""><div class="">On Jan 4, 2019, at 12:40 PM, Toke Høiland-Jørgensen <<a href="mailto:toke@toke.dk" class="">toke@toke.dk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">Dev <</span><a href="mailto:dev@logicalwebhost.com" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">dev@logicalwebhost.com</a><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">> writes:</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">Okay, thanks to some help from the list, I’ve configured a transparent bridge running fq_codel which works for multiple subnet traffic. Here’s my setup:<br class=""><br class="">Machine A ——— 192.168.10.200 — — bridge fq_codel machine B —— laptop C 192.168.10.150<br class="">Machine D ——— 192.168.3.50 — —|<span class="Apple-converted-space"> </span><br class=""><br class="">On Machine A:<br class=""><br class="">straight gigE interface 192.168.10.200<br class=""><br class="">Bridge Machine B: enp3s0 mgmt interface<br class=""><span class="Apple-tab-span" style="white-space: pre;">  </span><span class="Apple-tab-span" style="white-space: pre;">  </span><span class="Apple-tab-span" style="white-space: pre;">  </span><span class="Apple-tab-span" style="white-space: pre;">  </span>enp2s0 bridge interface 1<br class=""><span class="Apple-tab-span" style="white-space: pre;">    </span><span class="Apple-tab-span" style="white-space: pre;">  </span><span class="Apple-tab-span" style="white-space: pre;">  </span><span class="Apple-tab-span" style="white-space: pre;">  </span>enp1s0 bridge interface 2<br class=""><span class="Apple-tab-span" style="white-space: pre;">    </span><span class="Apple-tab-span" style="white-space: pre;">  </span><span class="Apple-tab-span" style="white-space: pre;">  </span><span class="Apple-tab-span" style="white-space: pre;">  </span>br0 bridge for 1 and 2<br class=""><span class="Apple-tab-span" style="white-space: pre;">       </span><br class=""><span class="Apple-tab-span" style="white-space: pre;">     </span># The loopback network interface<span class="Apple-converted-space"> </span><br class=""><span class="Apple-tab-span" style="white-space: pre;">      </span>auto lo br0<span class="Apple-converted-space"> </span><br class=""><span class="Apple-tab-span" style="white-space: pre;">   </span>iface lo inet loopback<span class="Apple-converted-space"> </span><br class=""><br class=""><span class="Apple-tab-span" style="white-space: pre;">   </span># The primary network interface<span class="Apple-converted-space"> </span><br class=""><span class="Apple-tab-span" style="white-space: pre;">       </span>allow-hotplug enp3s0<span class="Apple-converted-space"> </span><br class=""><span class="Apple-tab-span" style="white-space: pre;">  </span>iface enp3s0 inet static<span class="Apple-converted-space"> </span><br class=""><span class="Apple-tab-span" style="white-space: pre;">      </span><span class="Apple-tab-span" style="white-space: pre;">  </span><span class="Apple-converted-space"> </span>address 172.16.0.5/24<span class="Apple-converted-space"> </span><br class=""><span class="Apple-tab-span" style="white-space: pre;">  </span><span class="Apple-tab-span" style="white-space: pre;">  </span><span class="Apple-converted-space"> </span>gateway 172.16.0.5<span class="Apple-converted-space"> </span><br class=""><span class="Apple-tab-span" style="white-space: pre;">     </span><span class="Apple-tab-span" style="white-space: pre;">  </span>dns-nameservers 8.8.8.8<br class=""><br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>iface enp1s0 inet manual<span class="Apple-converted-space"> </span><br class=""><span class="Apple-tab-span" style="white-space: pre;">      </span><span class="Apple-tab-span" style="white-space: pre;">  </span><span class="Apple-converted-space"> </span>tc qdisc add dev enp1s0 root fq_codel<span class="Apple-converted-space"> </span><br class=""><br class=""><span class="Apple-tab-span" style="white-space: pre;">     </span><span class="Apple-converted-space"> </span>iface enp2s0 inet manual<span class="Apple-converted-space"> </span><br class=""><span class="Apple-tab-span" style="white-space: pre;">       </span><span class="Apple-tab-span" style="white-space: pre;">  </span>tc qdisc add dev enp2s0 root fq_codel<span class="Apple-converted-space"> </span><br class=""><br class=""><span class="Apple-tab-span" style="white-space: pre;">    </span><span class="Apple-converted-space"> </span># Bridge setup<span class="Apple-converted-space"> </span><br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>iface br0 inet static<span class="Apple-converted-space"> </span><br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;">  </span>bridge_ports enp1s0 enp2s0<span class="Apple-converted-space"> </span><br class=""><span class="Apple-tab-span" style="white-space: pre;">    </span><span class="Apple-tab-span" style="white-space: pre;">  </span>address 192.168.3.75<span class="Apple-converted-space"> </span><br class=""><span class="Apple-tab-span" style="white-space: pre;">  </span><span class="Apple-tab-span" style="white-space: pre;">  </span>broadcast 192.168.3.255<span class="Apple-converted-space"> </span><br class=""><span class="Apple-tab-span" style="white-space: pre;">       </span><span class="Apple-tab-span" style="white-space: pre;">  </span>netmask 255.255.255.0<span class="Apple-converted-space"> </span><br class=""><span class="Apple-tab-span" style="white-space: pre;"> </span><span class="Apple-tab-span" style="white-space: pre;">  </span>gateway 192.168.3<br class=""><br class="">note: I still have to run this command later, will troubleshoot at<br class="">some point (unless you have suggestions to make it work):<br class=""></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">You can try setting the default qdisc to fq_codel; put:</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">net.core.default_qdisc=fq_codel</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">in /etc/sysctl.conf</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">-Toke</span></div></blockquote></div><br class=""></div></body></html>