Jump To Close Expand all Collapse all Table of contents Networking Guide I. Before You Begin Expand section "I. Before You Begin" Collapse section "I. Before You Begin" 1. Overview of Networking Topics Expand section "1. Overview of Networking Topics" Collapse section "1. Overview of Networking Topics" 1.1. Comparing IP to non-IP Networks 1.2. Comparing Static to Dynamic IP Addressing 1.3. Configuring the DHCP Client Behavior Expand section "1.3. Configuring the DHCP Client Behavior" Collapse section "1.3. Configuring the DHCP Client Behavior" 1.3.1. Making DHCPv4 Persistent 1.4. Setting the Wireless Regulatory Domain 1.5. Configuring netconsole 1.6. Using Network Kernel Tunables with sysctl 1.7. Managing Data Using the ncat utility II. Managing IP Networking Expand section "II. Managing IP Networking" Collapse section "II. Managing IP Networking" 2. Getting Started with NetworkManager Expand section "2. Getting Started with NetworkManager" Collapse section "2. Getting Started with NetworkManager" 2.1. Overview of NetworkManager Expand section "2.1. Overview of NetworkManager" Collapse section "2.1. Overview of NetworkManager" 2.1.1. Benefits of Using NetworkManager 2.2. Installing NetworkManager 2.3. Checking the Status of NetworkManager 2.4. Starting NetworkManager 2.5. NetworkManager Tools 2.6. Using NetworkManager with Network Scripts 2.7. Using NetworkManager with sysconfig files 2.8. Additional Resources 3. Configuring IP Networking Expand section "3. Configuring IP Networking" Collapse section "3. Configuring IP Networking" 3.1. Selecting Network Configuration Methods 3.2. Configuring IP Networking with nmtui 3.3. Configuring IP Networking with nmcli Expand section "3.3. Configuring IP Networking with nmcli" Collapse section "3.3. Configuring IP Networking with nmcli" 3.3.1. Brief Selection of nmcli Examples 3.3.2. Starting and Stopping a Network Interface Using nmcli 3.3.3. Understanding the nmcli Options 3.3.4. Using the nmcli Interactive Connection Editor 3.3.5. Creating and Modifying a Connection Profile with nmcli 3.3.6. Connecting to a Network Using nmcli 3.3.7. Adding and Configuring a Dynamic Ethernet Connection with nmcli 3.3.8. Adding and Configuring a Static Ethernet Connection with nmcli 3.3.9. Locking a Profile to a Specific Device Using nmcli 3.3.10. Adding a Wi-Fi Connection with nmcli 3.3.11. Configuring NetworkManager to Ignore Certain Devices Expand section "3.3.11. Configuring NetworkManager to Ignore Certain Devices" Collapse section "3.3.11. Configuring NetworkManager to Ignore Certain Devices" 3.3.11.1. Permanently Configuring a Device as Unmanaged in NetworkManager 3.3.11.2. Temporarily Configuring a Device as Unmanaged in NetworkManager 3.4. Configuring IP Networking with GNOME GUI Expand section "3.4. Configuring IP Networking with GNOME GUI " Collapse section "3.4. Configuring IP Networking with GNOME GUI " 3.4.1. Connecting to a Network Using the control-center GUI 3.4.2. Configuring New and Editing Existing Connections Using a GUI Expand section "3.4.2. Configuring New and Editing Existing Connections Using a GUI" Collapse section "3.4.2. Configuring New and Editing Existing Connections Using a GUI" 3.4.2.1. Configuring New and Editing Existing Connections Using control-center 3.4.2.2. Configuring New and Editing Existing Connections Using nm-connection-editor 3.4.3. Common Configuration Options Using nm-connection-editor 3.4.4. Connecting to a Network Automatically with a GUI Expand section "3.4.4. Connecting to a Network Automatically with a GUI" Collapse section "3.4.4. Connecting to a Network Automatically with a GUI" 3.4.4.1. Connecting to a Network Automatically with control-center 3.4.4.2. Connecting to a Network Automatically with nm-connection-editor 3.4.5. Managing System-wide and Private Connection Profiles with a GUI Expand section "3.4.5. Managing System-wide and Private Connection Profiles with a GUI" Collapse section "3.4.5. Managing System-wide and Private Connection Profiles with a GUI" 3.4.5.1. Managing Permissions for a Connection Profile with nm-connection-editor 3.4.5.2. Managing Permissions for a Connection Profile with control-center 3.4.6. Configuring a Wired (Ethernet) Connection with a GUI Expand section "3.4.6. Configuring a Wired (Ethernet) Connection with a GUI" Collapse section "3.4.6. Configuring a Wired (Ethernet) Connection with a GUI" 3.4.6.1. Configuring a Wired Connection Using control-center 3.4.6.2. Configuring a Wired Connection with nm-connection-editor 3.4.7. Configuring a Wi-Fi Connection with a GUI 3.4.8. Configuring a VPN Connection with a GUI Expand section "3.4.8. Configuring a VPN Connection with a GUI" Collapse section "3.4.8. Configuring a VPN Connection with a GUI" 3.4.8.1. Establishing a VPN Connection with control-center 3.4.8.2. Configuring a VPN Connection with nm-connection-editor 3.4.9. Configuring a Mobile Broadband Connection with a GUI Expand section "3.4.9. Configuring a Mobile Broadband Connection with a GUI" Collapse section "3.4.9. Configuring a Mobile Broadband Connection with a GUI" 3.4.9.1. Configuring a Mobile Broadband Connection with nm-connection-editor 3.4.10. Configuring a DSL Connection with a GUI Expand section "3.4.10. Configuring a DSL Connection with a GUI" Collapse section "3.4.10. Configuring a DSL Connection with a GUI" 3.4.10.1. Configuring a DSL Connection with nm-connection-editor 3.5. Configuring IP Networking with ifcfg Files Expand section "3.5. Configuring IP Networking with ifcfg Files" Collapse section "3.5. Configuring IP Networking with ifcfg Files" 3.5.1. Managing System-wide and Private Connection Profiles with ifcfg Files 3.6. Configuring IP Networking with ip Commands 3.7. Configuring IP Networking from the Kernel Command line 3.8. Enabling IP Multicast with IGMP 3.9. Additional Resources 4. Configuring Static Routes and the Default Gateway Expand section "4. Configuring Static Routes and the Default Gateway" Collapse section "4. Configuring Static Routes and the Default Gateway" 4.1. Introduction to Understanding Routing and Gateway 4.2. Configuring Static Routes Using nmcli 4.3. Configuring Static Routes with GUI 4.4. Configuring Static Routes with ip commands 4.5. Configuring Static Routes in ifcfg files Expand section "4.5. Configuring Static Routes in ifcfg files" Collapse section "4.5. Configuring Static Routes in ifcfg files" 4.5.1. Understanding Policy-routing 4.6. Configuring the Default Gateway 5. Configuring Network Connection Settings Expand section "5. Configuring Network Connection Settings" Collapse section "5. Configuring Network Connection Settings" 5.1. Configuring 802.3 Link Settings 5.2. Configuring 802.1X Security Expand section "5.2. Configuring 802.1X Security" Collapse section "5.2. Configuring 802.1X Security" 5.2.1. Configuring 802.1X Security for Wi-Fi with nmcli 5.2.2. Configuring 802.1X Security for Wired with nmcli 5.2.3. Configuring 802.1X Security for Wi-Fi with a GUI 5.2.4. Configuring 802.1X Security for Wired with nm-connection-editor 5.3. Using MACsec with wpa_supplicant and NetworkManager 5.4. Configuring IPv4 Settings 5.5. Configuring IPv6 Settings 5.6. Configuring PPP (Point-to-Point) Settings 6. Configure Host Names Expand section "6. Configure Host Names" Collapse section "6. Configure Host Names" 6.1. Understanding Host Names Expand section "6.1. Understanding Host Names" Collapse section "6.1. Understanding Host Names" 6.1.1. Recommended Naming Practices 6.2. Configuring Host Names Using Text User Interface, nmtui 6.3. Configuring Host Names Using hostnamectl Expand section "6.3. Configuring Host Names Using hostnamectl" Collapse section "6.3. Configuring Host Names Using hostnamectl" 6.3.1. View All the Host Names 6.3.2. Set All the Host Names 6.3.3. Set a Particular Host Name 6.3.4. Clear a Particular Host Name 6.3.5. Changing Host Names Remotely 6.4. Configuring Host Names Using nmcli 6.5. Additional Resources 7. Configure Network Bonding Expand section "7. Configure Network Bonding" Collapse section "7. Configure Network Bonding" 7.1. Understanding the Default Behavior of Controller and Port Interfaces 7.2. Configure Bonding Using the Text User Interface, nmtui 7.3. Network Bonding Using the NetworkManager Command Line Tool, nmcli 7.4. Using the Command Line Interface (CLI) Expand section "7.4. Using the Command Line Interface (CLI)" Collapse section "7.4. Using the Command Line Interface (CLI)" 7.4.1. Check if Bonding Kernel Module is Installed 7.4.2. Create a Channel Bonding Interface 7.4.3. Creating Port Interfaces 7.4.4. Activating a Channel Bond 7.4.5. Creating Multiple Bonds 7.5. Verifying Network Configuration Bonding for Redundancy 7.6. Overview of Bonding Modes and the Required Settings on the Switch 7.7. Using Channel Bonding Expand section "7.7. Using Channel Bonding" Collapse section "7.7. Using Channel Bonding" 7.7.1. Bonding Module Directives 7.8. Creating a Bond Connection Using a GUI Expand section "7.8. Creating a Bond Connection Using a GUI" Collapse section "7.8. Creating a Bond Connection Using a GUI" 7.8.1. Establishing a Bond Connection Expand section "7.8.1. Establishing a Bond Connection" Collapse section "7.8.1. Establishing a Bond Connection" 7.8.1.1. Configuring the Bond Tab 7.9. Additional Resources 8. Configure Network Teaming Expand section "8. Configure Network Teaming" Collapse section "8. Configure Network Teaming" 8.1. Understanding Network Teaming 8.2. Understanding the Default Behavior of Controller and Port Interfaces 8.3. Comparison of Network Teaming to Bonding 8.4. Understanding the Network Teaming Daemon and the "Runners" 8.5. Install the Network Teaming Daemon 8.6. Converting a Bond to a Team 8.7. Selecting Interfaces to Use as Ports for a Network Team 8.8. Selecting Network Team Configuration Methods 8.9. Configure a Network Team Using the Text User Interface, nmtui 8.10. Configure a Network Team Using the Command Line Expand section "8.10. Configure a Network Team Using the Command Line" Collapse section "8.10. Configure a Network Team Using the Command Line" 8.10.1. Configure Network Teaming Using nmcli 8.10.2. Creating a Network Team Using teamd 8.10.3. Creating a Network Team Using ifcfg Files 8.10.4. Add a Port to a Network Team Using iputils 8.10.5. Listing the ports of a Team Using teamnl 8.10.6. Configuring Options of a Team Using teamnl 8.10.7. Add an Address to a Network Team Using iputils 8.10.8. open an Interface to a Network Team Using iputils 8.10.9. Viewing the Active Port Options of a Team Using teamnl 8.10.10. Setting the Active Port Options of a Team Using teamnl 8.11. Controlling teamd with teamdctl Expand section "8.11. Controlling teamd with teamdctl" Collapse section "8.11. Controlling teamd with teamdctl" 8.11.1. Add a Port to a Network Team 8.11.2. Remove a Port From a Network Team 8.11.3. Applying a Sticky Setting to a Port in a Network Team 8.11.4. View the Configuration of a Port in a Network Team 8.12. Verifying Network Configuration Teaming for Redundancy 8.13. Configure teamd Runners Expand section "8.13. Configure teamd Runners" Collapse section "8.13. Configure teamd Runners" 8.13.1. Configure the broadcast Runner 8.13.2. Configure the random Runner 8.13.3. Configure the Round-robin Runner 8.13.4. Configure the activebackup Runner 8.13.5. Configure the loadbalance Runner 8.13.6. Configure the LACP (802.3ad) Runner 8.13.7. Configure Monitoring of the Link State Expand section "8.13.7. Configure Monitoring of the Link State" Collapse section "8.13.7. Configure Monitoring of the Link State" 8.13.7.1. Configure Ethtool for link-state Monitoring 8.13.7.2. Configure ARP Ping for Link-state Monitoring 8.13.7.3. Configure IPv6 NA/NS for Link-state Monitoring 8.13.8. Configure Port Selection Override 8.13.9. Configure BPF-based Tx Port Selectors 8.14. Creating a Network Team Using a GUI Expand section "8.14. Creating a Network Team Using a GUI" Collapse section "8.14. Creating a Network Team Using a GUI" 8.14.1. Establishing a Team Connection Expand section "8.14.1. Establishing a Team Connection" Collapse section "8.14.1. Establishing a Team Connection" 8.14.1.1. Configuring the Team Tab 8.15. Additional Resources 9. Configure Network Bridging Expand section "9. Configure Network Bridging" Collapse section "9. Configure Network Bridging" 9.1. Configure Bridging Using the Text User Interface, nmtui 9.2. Using the NetworkManager Command Line Tool, nmcli 9.3. Using the Command Line Interface (CLI) Expand section "9.3. Using the Command Line Interface (CLI)" Collapse section "9.3. Using the Command Line Interface (CLI)" 9.3.1. Check if Bridging Kernel Module is Installed 9.3.2. Create a Network Bridge 9.3.3. Network Bridge with Bond 9.4. Configure Network Bridging Using a GUI Expand section "9.4. Configure Network Bridging Using a GUI" Collapse section "9.4. Configure Network Bridging Using a GUI" 9.4.1. Establishing a Bridge Connection with a GUI Expand section "9.4.1. Establishing a Bridge Connection with a GUI" Collapse section "9.4.1. Establishing a Bridge Connection with a GUI" 9.4.1.1. Configuring the Bridge Tab 9.5. Ethernet Bridge Configuration Using iproute 9.6. Additional Resources 10. Configure 802.1Q VLAN tagging Expand section "10. Configure 802.1Q VLAN tagging" Collapse section "10. Configure 802.1Q VLAN tagging" 10.1. Selecting VLAN Interface Configuration Methods 10.2. Configure 802.1Q VLAN tagging Using the Text User Interface, nmtui 10.3. Configure 802.1Q VLAN Tagging Using the Command Line Tool, nmcli 10.4. Configure 802.1Q VLAN Tagging Using the Command Line Expand section "10.4. Configure 802.1Q VLAN Tagging Using the Command Line" Collapse section "10.4. Configure 802.1Q VLAN Tagging Using the Command Line" 10.4.1. Setting Up 802.1Q VLAN Tagging Using ifcfg Files 10.4.2. Configure 802.1Q VLAN Tagging Using ip Commands 10.5. Configure 802.1Q VLAN Tagging Using a GUI Expand section "10.5. Configure 802.1Q VLAN Tagging Using a GUI" Collapse section "10.5. Configure 802.1Q VLAN Tagging Using a GUI" 10.5.1. Establishing a VLAN Connection Expand section "10.5.1. Establishing a VLAN Connection" Collapse section "10.5.1. Establishing a VLAN Connection" 10.5.1.1. Configuring the VLAN Tab 10.6. VLAN on Bond and Bridge Using ip Commands 10.7. VLAN on Bond and Bridge Using the NetworkManager Command Line Tool, nmcli 10.8. Configuring VLAN switchport mode 10.9. Additional Resources 11. Consistent Network Device Naming Expand section "11. Consistent Network Device Naming" Collapse section "11. Consistent Network Device Naming" 11.1. Naming Schemes Hierarchy 11.2. Understanding the Device Renaming Procedure 11.3. Understanding the Predictable Network Interface Device Names 11.4. Naming Scheme for Network Devices Available for Linux on System z 11.5. Naming Scheme for VLAN Interfaces 11.6. Consistent Network Device Naming Using biosdevname Expand section "11.6. Consistent Network Device Naming Using biosdevname" Collapse section "11.6. Consistent Network Device Naming Using biosdevname" 11.6.1. System Requirements 11.6.2. Enabling and Disabling the Feature 11.7. Notes for Administrators 11.8. Controlling the Selection of Network Device Names 11.9. Troubleshooting Network Device Naming 11.10. Additional Resources 12. Configuring Policy-based Routing to Define Alternative Routes Expand section "12. Configuring Policy-based Routing to Define Alternative Routes" Collapse section "12. Configuring Policy-based Routing to Define Alternative Routes" 12.1. Routing Traffic from a Specific Subnet to a Different Default Gateway III. InfiniBand and RDMA Networking Expand section "III. InfiniBand and RDMA Networking" Collapse section "III. InfiniBand and RDMA Networking" 13. Configure InfiniBand and RDMA Networks Expand section "13. Configure InfiniBand and RDMA Networks" Collapse section "13. Configure InfiniBand and RDMA Networks" 13.1. Understanding InfiniBand and RDMA technologies 13.2. Transferring Data Using RoCE 13.3. Configuring Soft-RoCE 13.4. InfiniBand and RDMA related software packages 13.5. Configuring the Base RDMA Subsystem Expand section "13.5. Configuring the Base RDMA Subsystem" Collapse section "13.5. Configuring the Base RDMA Subsystem" 13.5.1. Configuration of the rdma.conf file 13.5.2. Usage of 70-persistent-ipoib.rules 13.5.3. Relaxing memlock restrictions for users 13.5.4. Configuring Mellanox cards for Ethernet operation 13.5.5. Connecting to a Remote Linux SRP Target 13.6. Configuring the Subnet Manager Expand section "13.6. Configuring the Subnet Manager" Collapse section "13.6. Configuring the Subnet Manager" 13.6.1. Determining Necessity 13.6.2. Configuring the opensm main configuration file 13.6.3. Configuring the opensm startup options 13.6.4. Creating a P_Key definition 13.6.5. Enabling opensm 13.7. Testing Early InfiniBand RDMA operation 13.8. Configuring IPoIB Expand section "13.8. Configuring IPoIB" Collapse section "13.8. Configuring IPoIB" 13.8.1. Understanding the role of IPoIB 13.8.2. Understanding IPoIB communication modes 13.8.3. Understanding IPoIB hardware addresses 13.8.4. Understanding InfiniBand P_Key subnets 13.8.5. Configure InfiniBand Using the Text User Interface, nmtui 13.8.6. Configure IPoIB using the command-line tool, nmcli 13.8.7. Configure IPoIB Using the command line 13.8.8. Testing an RDMA network after IPoIB is configured 13.8.9. Configure IPoIB Using a GUI Expand section "13.8.9. Configure IPoIB Using a GUI" Collapse section "13.8.9. Configure IPoIB Using a GUI" 13.8.9.1. Configuring the InfiniBand Tab 13.8.10. Additional Resources IV. Servers Expand section "IV. Servers" Collapse section "IV. Servers" 14. DHCP Servers Expand section "14. DHCP Servers" Collapse section "14. DHCP Servers" 14.1. Why Use DHCP? 14.2. Configuring a DHCP Server Expand section "14.2. Configuring a DHCP Server" Collapse section "14.2. Configuring a DHCP Server" 14.2.1. Configuration File 14.2.2. Lease Database 14.2.3. Starting and Stopping the Server 14.3. DHCP Relay Agent Expand section "14.3. DHCP Relay Agent" Collapse section "14.3. DHCP Relay Agent" 14.3.1. Configure dhcrelay as a DHCPv4 and BOOTP relay agent 14.3.2. Configure dhcrelay as a DHCPv6 relay agent 14.4. Configuring a Multihomed DHCP Server Expand section "14.4. Configuring a Multihomed DHCP Server" Collapse section "14.4. Configuring a Multihomed DHCP Server" 14.4.1. Host Configuration 14.5. DHCP for IPv6 (DHCPv6) 14.6. Configuring the radvd daemon for IPv6 routers 14.7. Comparison of DHCPv6 to radvd 14.8. Additional Resources 15. DNS Servers Expand section "15. DNS Servers" Collapse section "15. DNS Servers" 15.1. Introduction to DNS Expand section "15.1. Introduction to DNS" Collapse section "15.1. Introduction to DNS" 15.1.1. Name server Zones 15.1.2. Name server Types 15.1.3. BIND as a Name server 15.2. BIND Expand section "15.2. BIND" Collapse section "15.2. BIND" 15.2.1. Empty Zones 15.2.2. Configuring the named Service Expand section "15.2.2. Configuring the named Service" Collapse section "15.2.2. Configuring the named Service" 15.2.2.1. Installing BIND in a chroot Environment 15.2.2.2. Common Statement Types 15.2.2.3. Other Statement Types 15.2.2.4. Comment Tags 15.2.3. Editing Zone Files Expand section "15.2.3. Editing Zone Files" Collapse section "15.2.3. Editing Zone Files" 15.2.3.1. Common Directives 15.2.3.2. Common Resource Records 15.2.3.3. Comment Tags 15.2.3.4. Example Usage Expand section "15.2.3.4. Example Usage" Collapse section "15.2.3.4. Example Usage" 15.2.3.4.1. A Simple Zone File 15.2.3.4.2. A Reverse Name Resolution Zone File 15.2.4. Using the rndc Utility Expand section "15.2.4. Using the rndc Utility" Collapse section "15.2.4. Using the rndc Utility" 15.2.4.1. Configuring the Utility 15.2.4.2. Checking the Service Status 15.2.4.3. Reloading the Configuration and Zones 15.2.4.4. Updating Zone Keys 15.2.4.5. Enabling the DNSSEC Validation 15.2.4.6. Enabling the Query Logging 15.2.5. Using the dig Utility Expand section "15.2.5. Using the dig Utility" Collapse section "15.2.5. Using the dig Utility" 15.2.5.1. Looking Up a Nameserver 15.2.5.2. Looking Up an IP Address 15.2.5.3. Looking Up a Host Name 15.2.6. Advanced Features of BIND Expand section "15.2.6. Advanced Features of BIND" Collapse section "15.2.6. Advanced Features of BIND" 15.2.6.1. Multiple Views 15.2.6.2. Incremental Zone Transfers (IXFR) 15.2.6.3. Transaction SIGnatures (TSIG) 15.2.6.4. DNS Security Extensions (DNSSEC) 15.2.6.5. Internet Protocol version 6 (IPv6) 15.2.7. Common Mistakes to Avoid 15.2.8. Additional Resources Expand section "15.2.8. Additional Resources" Collapse section "15.2.8. Additional Resources" 15.2.8.1. Installed Documentation 15.2.8.2. Online Resources 16. Configuring the Squid Caching Proxy Server Expand section "16. Configuring the Squid Caching Proxy Server" Collapse section "16. Configuring the Squid Caching Proxy Server" 16.1. Setting up Squid as a Caching Proxy Without Authentication 16.2. Setting up Squid as a Caching Proxy With LDAP Authentication 16.3. Setting up Squid as a Caching Proxy With Kerberos Authentication 16.4. Configuring a Domain Blacklist in Squid 16.5. Configuring the Squid Service to Listen on a Specific Port or IP Address 16.6. Additional Resources A. Red Hat Customer Portal Labs Relevant to Networking B. Revision History Expand section "B. Revision History" Collapse section "B. Revision History" B.1. Acknowledgments Index Legal Notice Settings Close Language: 한국어 简体中文 日本語 English Français Language: 한국어 简体中文 日本語 English Français Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Language and Page Formatting Options Language: 한국어 简体中文 日本語 English Français Language: 한국어 简体中文 日本語 English Français Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Red Hat Training A Red Hat training course is available for Red Hat Enterprise Linux Part I. Before You Begin This documentation part provides an overview of basic concepts of the network services in Red Hat Enterprise Linux. Previous Next