Deskripsi
Download ebook Configuration and Administration of Networking for Fedora 24 - Berisi panduan yang relevan mengenai konfigurasi dan administrasi antarmuka jaringan serta layanan jaringan pada Fedora 24 yang berorientasi pada sistem administrator dengan pemahaman dasar tentang Linux dan jaringan.
Judul buku: Fedora 24 Networking Guide - Configuration and Administration of Networking for Fedora 24
Bahasa: Inggris
Tebal: 180 halaman
Format buku: PDF
Software: Sumatra PDF Reader
Ukuran: 1.17MiB
Download: Fedora 24 Networking Guide - Configuration and Administration of Networking for Fedora 24
Daftar isi
Preface vii
1. Target Audience ............................................................................................................ vii
2. About This Book ............................................................................................................ vii
3. How to Read this Book .................................................................................................. vii
4. Document Conventions ................................................................................................. viii
4.1. Typographic Conventions ..................................................................................... ix
4.2. Pull-quote Conventions ......................................................................................... x
4.3. Notes and Warnings ............................................................................................ xi
5. Feedback ....................................................................................................................... xi
6. Acknowledgments .......................................................................................................... xii
I. Networking 1
1. Introduction to Fedora Networking 3
1.1. How this Book is Structured .................................................................................. 3
1.2. Introduction to NetworkManager ............................................................................ 3
1.3. Installing NetworkManager .................................................................................... 4
1.3.1. The NetworkManager Daemon ................................................................... 4
1.3.2. Interacting with NetworkManager ................................................................ 4
1.4. Network Configuration Using the Command Line Interface (CLI) .............................. 5
1.5. Network Configuration Using NetworkManager's CLI (nmcli) .................................... 5
1.6. NetworkManager and the Network Scripts ............................................................. 6
1.7. Network Configuration Using sysconfig Files .......................................................... 7
1.8. Additional Resources ............................................................................................ 8
1.8.1. Installed Documentation ............................................................................. 8
2. Configure Networking 9
2.1. Static and Dynamic Interface Settings ................................................................... 9
2.1.1. When to Use Static Network Interface Settings ............................................ 9
2.1.2. When to Use Dynamic Interface Settings .................................................... 9
2.1.3. Selecting Network Configuration Methods ................................................. 10
2.2. Using NetworkManager with the GNOME Graphical User Interface ........................ 10
2.2.1. Connecting to a Network Using a GUI ...................................................... 10
2.2.2. Configuring New and Editing Existing Connections ..................................... 10
2.2.3. Connecting to a Network Automatically ..................................................... 11
2.2.4. System-wide and Private Connection Profiles ............................................ 12
2.2.5. Configuring a Wired (Ethernet) Connection ................................................ 13
2.2.6. Configuring a Wi-Fi Connection ................................................................ 14
2.2.7. Establishing a VPN Connection ................................................................ 16
2.2.8. Establishing a Mobile Broadband Connection ............................................ 19
2.2.9. Establishing a DSL Connection ................................................................ 22
2.2.10. Configuring Connection Settings ............................................................. 23
2.3. Using the Command Line Interface (CLI) ............................................................. 30
2.3.1. Configuring a Network Interface Using ifcfg Files ....................................... 30
2.3.2. Configuring a Network Interface Using ip Commands ................................. 31
2.3.3. Static Routes and the Default Gateway ..................................................... 32
2.3.4. Configuring Static Routes in ifcfg files ....................................................... 33
2.3.5. Configuring IPv6 Tokenized Interface Identifiers ......................................... 35
2.4. Using the NetworkManager Command Line Tool, nmcli ......................................... 36
2.4.1. Understanding the nmcli Options .............................................................. 39
2.4.2. Connecting to a Network Using nmcli ........................................................ 39
2.4.3. Configuring Static Routes Using nmcli ....................................................... 45
2.5. Additional Resources .......................................................................................... 45
2.5.1. Installed Documentation ........................................................................... 45
2.5.2. Online Documentation .............................................................................. 46
3. Configure Host Names 47
3.1. Understanding Host Names ................................................................................ 47
3.1.1. Recommended Naming Practices ............................................................. 47
3.2. Configuring Host Names Using hostnamectl ......................................................... 47
3.2.1. View All the Host Names ......................................................................... 47
3.2.2. Set All the Host Names ........................................................................... 48
3.2.3. Set a Particular Host Name ...................................................................... 48
3.2.4. Clear a Particular Host Name ................................................................... 48
3.2.5. Changing Host Names Remotely .............................................................. 48
3.3. Configuring Host Names Using nmcli ................................................................... 48
3.4. Additional Resources .......................................................................................... 49
3.4.1. Installed Documentation ........................................................................... 49
3.4.2. Online Documentation .............................................................................. 49
4. Configure Network Bonding 51
4.1. Understanding the Default Behavior of Master and Slave Interfaces ....................... 51
4.2. Creating a Bond Connection Using a GUI ............................................................ 51
4.2.1. Establishing a Bond Connection ............................................................... 52
4.3. Using the Command Line Interface (CLI) ............................................................. 55
4.3.1. Check if Bonding Kernel Module is Installed .............................................. 55
4.3.2. Create a Channel Bonding Interface ......................................................... 55
4.3.3. Creating SLAVE Interfaces ....................................................................... 56
4.3.4. Activating a Channel Bond ....................................................................... 56
4.3.5. Creating Multiple Bonds ........................................................................... 57
4.3.6. Configuring a VLAN over a Bond .............................................................. 58
4.4. Using Channel Bonding ...................................................................................... 63
4.4.1. Bonding Module Directives ....................................................................... 63
4.5. Using the NetworkManager Command Line Tool, nmcli ......................................... 70
4.6. Additional Resources .......................................................................................... 71
4.6.1. Installed Documentation ........................................................................... 71
4.6.2. Online Documentation .............................................................................. 71
5. Configure Network Teaming 73
5.1. Understanding Network Teaming ......................................................................... 73
5.2. Comparison of Network Teaming to Bonding ........................................................ 74
5.3. Understanding the Default Behavior of Master and Slave Interfaces ....................... 75
5.4. Understanding the Network Teaming Daemon and the "Runners" .......................... 75
5.5. Install the Network Teaming Daemon ................................................................... 76
5.6. Converting a Bond to a Team ............................................................................. 76
5.7. Selecting Interfaces to Use as Ports for a Network Team ...................................... 77
5.8. Selecting Network Team Configuration Methods ................................................... 78
5.9. Creating a Network Team Using a GUI ................................................................ 78
5.9.1. Establishing a Team Connection ............................................................... 78
5.10. Configure a Network Team Using the Command Line ......................................... 80
5.10.1. Creating a Network Team Using teamd ................................................... 80
5.10.2. Creating a Network Team Using ifcfg Files .............................................. 82
5.10.3. Add a Port to a Network Team Using iputils ............................................. 83
5.10.4. Listing the ports of a Team Using teamnl ................................................. 83
5.10.5. Configuring Options of a Team Using teamnl ........................................... 83
5.10.6. Add an Address to a Network Team Using iputils ..................................... 83
5.10.7. Bring up an Interface to a Network Team Using iputils .............................. 84
5.10.8. Viewing the Active Port Options of a Team Using teamnl .......................... 84
5.10.9. Setting the Active Port Options of a Team Using teamnl ............................ 84
5.11. Controlling teamd with teamdctl ......................................................................... 84
5.11.1. Add a Port to a Network Team ............................................................... 85
5.11.2. Remove a Port From a Network Team .................................................... 85
5.11.3. Apply a Configuration to a Port in a Network Team ................................... 85
5.11.4. View the Configuration of a Port in a Network Team ................................. 85
5.12. Configure teamd Runners ................................................................................. 85
5.12.1. Configure the broadcast Runner ............................................................. 85
5.12.2. Configure the random Runner ................................................................ 86
5.12.3. Configure the roundrobin Runner ............................................................ 86
5.12.4. Configure the activebackup Runner ......................................................... 86
5.12.5. Configure the loadbalance Runner .......................................................... 88
5.12.6. Configure the LACP (802.3ad) Runner .................................................... 88
5.12.7. Configure Monitoring of the Link State ..................................................... 89
5.12.8. Configure Port Selection Override ........................................................... 91
5.12.9. Configure BPF-based Tx Port Selectors .................................................. 92
5.13. Configure Network Teaming Using nmcli ............................................................ 92
5.14. Additional Resources ........................................................................................ 94
5.14.1. Installed Documentation ......................................................................... 94
5.14.2. Online Documentation ............................................................................ 94
6. Configure Network Bridging 97
6.1. Configure Network Bridging Using a GUI ............................................................. 97
6.1.1. Establishing a Bridge Connection ............................................................. 97
6.2. Using the Command Line Interface (CLI) ........................................................... 100
6.2.1. Check if Bridging Kernel Module is Installed ............................................ 100
6.2.2. Create a Network Bridge ........................................................................ 101
6.2.3. Network Bridge with Bond ...................................................................... 102
6.3. Using the NetworkManager Command Line Tool, nmcli ....................................... 103
6.4. Additional Resources ........................................................................................ 105
6.4.1. Installed Documentation ......................................................................... 105
7. Configure 802.1Q VLAN tagging 107
7.1. Selecting VLAN Interface Configuration Methods ................................................ 107
7.2. Configure 802.1Q VLAN Tagging Using a GUI .................................................... 107
7.2.1. Establishing a VLAN Connection ............................................................. 107
7.3. Configure 802.1Q VLAN Tagging Using the Command Line ................................. 109
7.3.1. Setting Up 802.1Q VLAN Tagging Using ifcfg Files ................................... 109
7.3.2. Configure 802.1Q VLAN Tagging Using ip Commands .............................. 110
7.4. Configure 802.1Q VLAN Tagging Using the Command Line Tool, nmcli ................. 110
7.5. Additional Resources ........................................................................................ 113
7.5.1. Installed Documentation ......................................................................... 113
8. Consistent Network Device Naming 115
8.1. Naming Schemes Hierarchy .............................................................................. 115
8.2. Understanding the Device Renaming Procedure ................................................. 115
8.3. Understanding the Predictable Network Interface Device Names .......................... 116
8.4. Naming Scheme for Network Devices Available for Linux on System z ................. 117
8.5. Naming Scheme for VLAN Interfaces ................................................................. 117
8.6. Consistent Network Device Naming Using biosdevname ..................................... 117
8.6.1. System Requirements ............................................................................ 118
8.6.2. Enabling and Disabling the Feature ........................................................ 118
8.7. Notes for Administrators .................................................................................... 118
8.8. Controlling the Selection of Network Device Names ............................................ 119
8.9. Disabling Consistent Network Device Naming .................................................... 119
8.10. Troubleshooting Network Device Naming ......................................................... 120
8.11. Additional Resources ...................................................................................... 121
8.11.1. Installed Documentation ....................................................................... 121
II. Servers 123
9. DHCP Servers 125
9.1. Why Use DHCP? ............................................................................................. 125
9.2. Configuring a DHCP Server .............................................................................. 125
9.2.1. Configuration File ................................................................................... 125
9.2.2. Lease Database .................................................................................... 128
9.2.3. Starting and Stopping the Server ............................................................ 129
9.3. DHCP Relay Agent ........................................................................................... 130
9.3.1. Configure dhcrelay as a DHCPv4 and BOOTP relay agent ........................ 131
9.3.2. Configure dhcrelay as a DHCPv6 relay agent .......................................... 131
9.4. Configuring a Multihomed DHCP Server ............................................................ 132
9.4.1. Host Configuration ................................................................................. 133
9.5. DHCP for IPv6 (DHCPv6) ................................................................................. 134
9.6. Additional Resources ........................................................................................ 135
9.6.1. Installed Documentation ......................................................................... 135
10. DNS Servers 137
10.1. Introduction to DNS ........................................................................................ 137
10.1.1. Nameserver Zones ............................................................................... 137
10.1.2. Nameserver Types ............................................................................... 138
10.1.3. BIND as a Nameserver ........................................................................ 138
10.2. BIND .............................................................................................................. 138
10.2.1. Empty Zones ....................................................................................... 138
10.2.2. Configuring the named Service ............................................................. 139
10.2.3. Editing Zone Files ................................................................................ 148
10.2.4. Using the rndc Utility ............................................................................ 155
10.2.5. Using the dig Utility .............................................................................. 158
10.2.6. Advanced Features of BIND ................................................................. 160
10.2.7. Common Mistakes to Avoid .................................................................. 161
10.2.8. Additional Resources ............................................................................ 162
A. Revision History 165
Index 167