6.4. Configure Network Bridging Using a GUI
IPconfiguration such as
IPaddressing is allowed to proceed before any slaves or ports are connected or begin forwarding packets.
6.4.1. Establishing a Bridge Connection
Procedure 6.1. Adding a New Bridge Connection
- To use the graphical Network settings tool, press the Super key to enter the Activities Overview, type
control networkand then press Enter. The Network settings tool appears. This steps is fully covered in Section 2.3, “Using NetworkManager with the GNOME Graphical User Interface”.
- Select the plus symbol below the menu. The Add Network Connection window appears.
- Select the Bridge menu entry. The Editing Bridge connection 1 window appears.
Figure 6.5. Editing Bridge Connection 1
- Add slave devices by referring to Procedure 6.3, “Adding a Slave Interface to a Bridge” below.
Procedure 6.2. Editing an Existing Bridge Connection
- Press the Super key to enter the Activities Overview, type
control networkand then press Enter. The Network settings tool appears.
- Select the Bridge connection you want to edit from the left hand menu.
- Click the Options button.
Configuring the Connection Name, Auto-Connect Behavior, and Availability Settings
- Connection name — Enter a descriptive name for your network connection. This name will be used to list this connection in the menu of the Network window.
- Automatically connect to this network when it is available — Select this box if you want NetworkManager to auto-connect to this connection when it is available. See Section 2.3.3, “Connecting to a Network Automatically” for more information.
- All users may connect to this network — Select this box to create a connection available to all users on the system. Changing this setting may require root privileges. See Section 2.3.5, “System-wide and Private Connection Profiles” for details.
- Automatically connect to VPN when using this connection — Select this box if you want NetworkManager to auto-connect to a VPN connection when it is available. Select the VPN from the dropdown menu.
- Firewall Zone — Select the Firewall Zone from the dropdown menu. See the Red Hat Enterprise Linux 7 Security Guide for more information on Firewall Zones.
22.214.171.124. Configuring the Bridge Tab
- Interface name
- The name of the interface to the bridge.
- Bridged connections
- One or more slave interfaces.
- Aging time
- The time, in seconds, a MAC address is kept in the MAC address forwarding database.
- Enable STP (Spanning Tree Protocol)
- If required, select the check box to enable
- The bridge priority; the bridge with the lowest priority will be elected as the root bridge.
- Forward delay
- The time, in seconds, spent in both the Listening and Learning states before entering the Forwarding state. The default is 15 seconds.
- Hello time
- The time interval, in seconds, between sending configuration information in bridge protocol data units (BPDU).
- Max age
- The maximum time, in seconds, to store the configuration information from BPDUs. This value should be twice the Hello Time plus 1 but less than twice the Forwarding delay minus 1.
Procedure 6.3. Adding a Slave Interface to a Bridge
- To add a port to a bridge, select the Bridge tab in the Editing Bridge connection 1 window. If necessary, open this window by following the procedure in Procedure 6.2, “Editing an Existing Bridge Connection”.
- Click Choose a Connection Type menu appears.. The
- Select the type of connection to be created from the list. Click Create. A window appropriate to the connection type selected appears.
Figure 6.6. The NetworkManager Graphical User Interface Add a Bridge Connection
- Select the Bridge Port tab. Configure Priority and Path cost as required. Note the STP priority for a bridge port is limited by the Linux kernel. Although the standard allows a range of
255, Linux only allows
63. The default is
32in this case.
Figure 6.7. The NetworkManager Graphical User Interface Bridge Port tab
- If required, select the Hairpin mode check box to enable forwarding of frames for external processing. Also known as virtual Ethernet port aggregator (VEPA) mode.
- An Ethernet slave, click the Ethernet tab and proceed to the section called “Basic Configuration Options ”, or;
- A Bond slave, click the Bond tab and proceed to Section 126.96.36.199, “Configuring the Bond Tab”, or;
- A Team slave, click the Team tab and proceed to Section 188.8.131.52, “Configuring the Team Tab”, or;
- An VLAN slave, click the VLAN tab and proceed to Section 184.108.40.206, “Configuring the VLAN Tab”, or;
Saving Your New (or Modified) Connection and Making Further Configurations
Figure 6.8. The NetworkManager Graphical User Interface with Bridge