Menu Close

Chapter 10. Configuring network bridges in the web console

Network bridges are used to connect multiple interfaces to the one subnet with the same range of IP addresses.

Prerequisites

10.1. Adding bridges in the web console

Create a software bridge on multiple network interfaces using the web console.

Procedure

  1. Log in to the RHEL 9 web console.

    For details, see Logging in to the web console.

  2. Open Networking.
  3. Click the Add Bridge button.
  4. In the Bridge Settings dialog box, enter a name for the new bridge.
  5. In the Port field, select interfaces which you want to put to the one subnet.
  6. Optionally, you can select the Spanning Tree protocol (STP) to avoid bridge loops and broadcast radiation.
  7. Click Create.

Verification steps

  1. Go To Networking and check that the new brighe is visible in the Interfaces table.
  2. Check values in the Sending and Receiving columns in the new bridge row.

    cockpit new bridge

    If you can see that zero bytes are sent and received through the bridge, the connection does not work correctly and you need to adjust the network settings.

10.2. Configuring a static IP address in the web console

IP address for your system can be assigned from the pool automatically by the DHCP server or you can configure the IP address manually. The IP address will not be influenced by the DHCP server settings.

Learn how to configure static IPv4 addresses of a network bridge using the RHEL web console.

Procedure

  1. Log in to the RHEL web console.

    For details, see Logging in to the web console.

  2. Open the Networking section.
  3. Click the interface where you want to set the static IP address.
  4. In the interface details screen, click edit on the IPv4 line.

    cockpit interface details pf4

  5. In the IPv4 Settings dialog box, select Manual in the Addresses drop down list.

    cockpit ipv4 settings manual

  6. In the Addresses field, enter the desired IP address, netmask and gateway.

    cockpit ipv4 ip setting

  7. Click Apply.

Verification steps

  • Check that the IPv4 line in the bridge’s details table shows the new static IP address.

    cockpit ipv4 new set

10.3. Removing interfaces from the bridge using the web console

Network bridges can include multiple interfaces. You can remove them from the bridge. Each removed interface will be automatically changed to the standalone interface.

Learn how to remove a network interface from a software bridge created in the RHEL 9 system.

Prerequisites

  • Having a bridge with multiple interfaces in your system.

Procedure

  1. Log in to the RHEL web console. For details, see Logging in to the web console.
  2. Open Networking.
  3. Click the bridge you want to configure.
  4. In the bridge settings screen, scroll down to the table of ports (interfaces).
  5. Select an interface and click the - button.

Verification steps

  • Go to Networking to check that you can see the interface as a standalone interface in the Interface members table.

10.4. Deleting bridges in the web console

You can delete a software network bridge in the RHEL web console. All network interfaces included in the bridge will be changed automatically to standalone interfaces.

Prerequisites

  • Having a bridge in your system.

Procedure

  1. Log in to the RHEL web console.

    For details, see Logging in to the web console.

  2. Open the Networking section.
  3. Click the bridge you want to configure.
  4. Click Delete.

    cockpit bridge delete

Verification steps

  • Go back to Networking and verify that all the network interfaces are displayed in the Interface members table.

Some interfaces that were previously part of the bridge can become inactive. If necessary, activate them and set network parameters manually.