[Bloat] fq_codel on bridge throughput test/config
Toke Høiland-Jørgensen
toke at toke.dk
Fri Jan 4 15:40:33 EST 2019
Dev <dev at logicalwebhost.com> writes:
> 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:
>
> Machine A ——— 192.168.10.200 — — bridge fq_codel machine B —— laptop C 192.168.10.150
> Machine D ——— 192.168.3.50 — —|
>
> On Machine A:
>
> straight gigE interface 192.168.10.200
>
> Bridge Machine B: enp3s0 mgmt interface
> enp2s0 bridge interface 1
> enp1s0 bridge interface 2
> br0 bridge for 1 and 2
>
> # The loopback network interface
> auto lo br0
> iface lo inet loopback
>
> # The primary network interface
> allow-hotplug enp3s0
> iface enp3s0 inet static
> address 172.16.0.5/24
> gateway 172.16.0.5
> dns-nameservers 8.8.8.8
>
> iface enp1s0 inet manual
> tc qdisc add dev enp1s0 root fq_codel
>
> iface enp2s0 inet manual
> tc qdisc add dev enp2s0 root fq_codel
>
> # Bridge setup
> iface br0 inet static
> bridge_ports enp1s0 enp2s0
> address 192.168.3.75
> broadcast 192.168.3.255
> netmask 255.255.255.0
> gateway 192.168.3
>
> note: I still have to run this command later, will troubleshoot at
> some point (unless you have suggestions to make it work):
You can try setting the default qdisc to fq_codel; put:
net.core.default_qdisc=fq_codel
in /etc/sysctl.conf
-Toke
More information about the Bloat
mailing list