To enable BBR (Bottleneck Bandwidth and Round-trip propagation time) in Rocky Linux 9, follow these steps:
\

  1. Open a terminal or connect to your Rocky Linux 9 server via SSH.
    \
  2. Check if the BBR kernel module is already enabled by running the following command:\

sysctl net.ipv4.tcp_available_congestion_control\

\
If BBR is already listed as one of the available congestion control algorithms, you can proceed to Step 4. Otherwise, continue to Step 3.\
\
3. Edit the sysctl configuration file using a text editor such as nano or vi:\
```\
sudo nano /etc/sysctl.conf\
```\
\
4. Add the following lines at the end of the file:\
```\
net.core.default_qdisc=fq\
net.ipv4.tcp_congestion_control=bbr\
```\
\
5. Save the file and exit the text editor.\
\
6. Apply the changes by running the following command:\
```\
sudo sysctl -p\
```\
\
7. Verify that BBR is enabled by running the following command:\
```\
sysctl net.ipv4.tcp_congestion_control\
```\
\
The output should show "bbr" as the value for the "net.ipv4.tcp_congestion_control" parameter.\
\
BBR should now be enabled on your Rocky Linux 9 system.