Applicable to:
- SolusVM
Question
How to configure network bridge with Network Manager on Almalinux 9 ?
Answer
Create a bridge interface:
# nmcli con add ifname br0 type bridge con-name br0
Add the active interface to the bridge:
# nmcli con add type bridge-slave ifname eno1 master br0
Modify the bridge interface settings:
# nmcli conn modify br0 ipv4.addresses 'IPADDRESS/24'
nmcli conn modify br0 ipv4.gateway 'GATEWAY'
nmcli conn modify br0 ipv4.dns '8.8.8.8,8.8.4.4'
nmcli conn modify br0 ipv4.method- Manually replace IPADDRESS and GATEWAY accordingly.
Run the command:
# nmcli conn down eno1; nmcli conn up br0
Comments
Please sign in to leave a comment.