[Bloat] fq_codel on bridge multiple subnets?

Dev dev at logicalwebhost.com
Thu Jan 3 12:32:12 EST 2019


I’m trying to create a bridge on eth1 and eth2, with a management interface on eth0, then enable fq_codel on the bridge. My bridge interface looks like:

#>: cat /etc/network/interfaces

…
iface eth1 inet manual

iface eth2 inet manual

# Bridge setup
iface br0 inet static
	bridge_ports eth1 eth2
	#bridge_stp on
		address 192.168.3.75
		broadcast 192.168.0.255
		netmask 255.255.255.0
		gateway 192.168.3.1

#>: tc qdisc add dev br0 root fq_codel

#>: ip a

6: br0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:e0:67:0f:4d:d0 brd ff:ff:ff:ff:ff:ff
    inet 192.168.3.75/24 brd 192.168.3.255 scope global br0
       valid_lft forever preferred_lft forever
    inet6 fe80::2e0:67ff:fe0f:4dd0/64 scope link
       valid_lft forever preferred_lft forever

I want fq_codel to manage the buffer for multiple subnets using these two interfaces as a bridge, will that work, or only for the 192.168.3.75/24 that’s configured on br0?

Also, is there a command to watch what the buffer is doing real time once I run traffic across it?

- Dev


More information about the Bloat mailing list