BBR configuration guide
Check the available congestion control algorithms:
sudo sysctl net.ipv4.tcp_available_congestion_control
Expected output:
net.ipv4.tcp_available_congestion_control = reno cubic
Check the current congestion control algorithm:
sudo sysctl net.ipv4.tcp_congestion_control
Expected output:
net.ipv4.tcp_congestion_control = cubic
Open /etc/sysctl.conf
:
sudo nano /etc/sysctl.conf
Add the following lines at the end of the file:
net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr
Save and exit, then apply the configuration by running:
sudo sysctl -p
Expected output:
net.core.default_qdisc = fq
net.ipv4.tcp_congestion_control = bbr
Verify BBR is enabled:
sudo sysctl net.ipv4.tcp_congestion_control
Expected output:
net.ipv4.tcp_congestion_control = bbr
References
https://wiki.crowncloud.net/?How_to_enable_BBR_on_Ubuntu_24_04
https://wiki.crowncloud.net/?How_to_enable_BBR_on_Ubuntu_22_04
https://wiki.crowncloud.net/?How_to_enable_BBR_on_Ubuntu_20_04