TCP/IP and Data Communications Administration Guide
  Rechercher uniquement dans ce livre
Télécharger cet ouvrage au format PDF

............................Contents


Preface
xxi

Part 1 --Setting Up and Administering TCP/IP Networks

1. Overview of Network Administration
1
...Responsibilities of the Network Administrator 1
......Designing the Network 2
......Setting Up the Network 2
......Maintaining the Network 2
......Expanding the Network 3
......What TCP/IP Is 3
......Types of Hardware That Make Up a Solaris Network 4
......How Network Software Transfers Information 6
......Reaching Beyond the Local-Area Network--the Wide-Area
........Network 9

2. TCP/IP Protocol Suite
11
...Introducing the Internet Protocol Suite 11
......Protocol Layers and the OSI Model 12
......TCP/IP Protocol Architecture Model 13
...How the TCP/IP Protocols Handle Data Communications 19
......Data Encapsulation and the TCP/IP Protocol Stack 20
...Finding Out More About TCP/IP and the Internet 24
......Computer Trade Books 24
......RFCs and FYIs 24

3. Planning Your Network
27
...Designing the Network 27
......Factors Involved in Network Planning 28
...Setting Up an IP Addressing Scheme 29
......Parts of the IP Address 29
...... Network Classes 30
......How IP Addresses Apply to Network Interfaces 34
...Naming Entities on Your Network 35
......Administering Host Names 35
......Selecting a Name Service 36
...Registering Your Network 38
......InterNIC and InterNIC Registration Services 38
......How to Contact the InterNIC 39
...Adding Routers 40
......Network Topology 40
......How Routers Transfer Packets 42

4. Configuring TCP/IP on the Network
45
...Before You Configure TCP/IP 46
...Determining Host Configuration Modes 47
......Machines That Should Run in Local Files Mode 47
......Machines That Are Network Clients 48
......Mixed Configurations 49
......Sample Network 49
...TCP/IP Configuration Files 51
....../etc/hostname.interface File 51
....../etc/nodename File 52
....../etc/defaultdomain File 52
....../etc/defaultrouter File 52
......hosts Database 53
......netmasks Database 56
...Network Databases and nsswitch.conf File 60
......How Name Services Affect Network Databases 61
......nsswitch.conf File -- Specifying Which Name Service to
........Use 63
......bootparams Database 67
......ethers Database 68
......Other Network Databases 69
......protocols Database 70
......services Database 71
... Network Configuration Procedures 72
......· How to Configure a Host for Local Files Mode 72
......Setting Up a Network Configuration Server 74
......Configuring Network Clients 75
...Configuring Standard TCP/IP Services 77
...Overview of the Booting Processes 77

5. Configuring Routers
81
...Routing Protocols 81
......Routing Information Protocol (RIP) 82
......ICMP Router Discovery (RDISC) Protocol 82
...Configuring Routers 82
......Configuring Both Router Network Interfaces 83
......How a Machine Determines If It Is a Router 84
......Automatic Routing Protocol Selection 85
......Forcing a Machine to Be a Router 85
......Creating a Multihomed Host 86
......Turning On Space-Saving Mode 87
......Turning Off ICMP Router Discovery on the Host 87
......Turning Off ICMP Router Discovery on the Router 87

6. Troubleshooting TCP/IP
89
...General Troubleshooting Methods 89
...Running Software Checks 90
...ping Command 90
...ifconfig Command 92
...netstat Command 93
......Displaying Per Protocol Statistics 94
...... Displaying Network Interface Status 95
......Displaying Routing Table Status 96
...Logging Network Problems 97
...Displaying Packet Contents 97

Part 2 --Expanding Your Network
.. With PPP

7. Understanding PPP
101
...Overview of Solaris PPP 101
......Solaris PPP Specifications 102
......Transmission Facilities Used by PPP 102
......Standards Conformance 102
...PPP Network Interfaces 103
...Extending Your Network With PPP 103
......Point-to-Point Communications Links 103
......Point-to-Point Configurations Supported by Solaris PPP 105
......Multipoint Communications Links 109
......Multipoint Configurations Supported by PPP 109
...Introducing the PPP Software 111
......Link Manager 112
......Login Service 113
......Configuration File 113
......Log File 114
......FIFO File 114
......UUCP Databases 114
...How the Components Work Together 114
......Outbound Connections Scenario 114
......Inbound Connections Scenario 115
...PPP Security 116

8. Preparing Your PPP Configuration
117
...Determining Requirements for Your Configuration Type 118
......Remote Computer-to-Network Configuration 118
......Remote Host-to-Remote Host Configuration 119
......Network-to-Network Configuration 120
......Dial-in Server With Dynamic Point-to-Point Links 121
......Multipoint Dial-in Server 122
......Hosts on a Virtual Network 123
...Determining IP Addressing for Your PPP Link 123
......Specifying IP Addresses 123
......Types of Addressing Schemes 124
...Routing Considerations 126
......Turning Off RIP 127
...PPP Hardware Requirements 127
...File Space Requirements 128
......Checklist for Configuring PPP 128

9. Configuring PPP
131
...Overview of the Configuration Process 131
...Installing the PPP Software 132
......Verifying Installation 132
...Sample PPP Configuration 133
...Editing the /etc/inet/hosts File 134
......· How to Configure the Remote Machine's hosts Database
..................................................135
......Multipoint Dial-in Server hosts Database 135
......· How to Configure the Dial-In Server's hosts Database 136
...Editing UUCP Databases 136
......Updating /etc/uucp/Devices for PPP 137
......Updating /etc/uucp/Dialers for PPP 137
......Updating /etc/uucp/Systems for PPP 138
...Modifying the /etc/passwd File 138
...Editing the /etc/asppp.cf Configuration File 139
......Parts of Basic Configuration File 140
......Configuration File for Multipoint Dial-in Server 142
......Editing the Configuration File 145
...Adding PPP Security 146
...Starting up and Stopping Your New PPP Link 146
......· How to Manually Start PPP 146
......· How to Verify That PPP Is Running 146
......· How to Stop PPP 147

10. Troubleshooting PPP
149
...Checking Hardware 150
...Checking Interface Status 150
...Checking Connectivity 151
...Checking Interface Activity 151
...Checking the Local Routing Tables 152
...Checking Permissions 153
...Checking Packet Flow 153
...Using PPP Diagnostics for Troubleshooting 155
......· How to Set Diagnostics for Your Machine 155
......Analyzing Diagnostic Output 156

11. Tailoring Your PPP Link
165
...Configuring Dynamically Allocated PPP Links 165
......Addressing Issues for Dynamically Allocated Links 167
......Updating the hosts Database for Dynamic Links 167
......Considerations for Other Files 168
......Editing asppp.cf for Dynamic Link 169
...Configuring a Virtual Network 172
......Addressing Issues for Virtual Networks 173
......Updating hosts and networks Databases 173
...... Considerations for Other Files 174
......asppp.cf Configuration File for a Virtual Network 174
......· How to Install PAP/CHAP 176
...Configuration Keywords 180

Part 3 --Administering UUCP Communications

12. UUCP Databases and Programs
185
...UUCP Hardware Configurations 186
...Software Comprising UUCP 186
......Daemons 186
......Administrative Programs 187
......User Programs 188
...Introducing the UUCP Database Files 189
......Configuring UUCP Files 190
.../etc/uucp/Systems File 191
......System-Name Field 191
......Time Field 191
......Type Field 193
......Speed Field 193
......Phone Field 194
......Chat-Script Field 195
......Hardware Flow Control 197
......Setting Parity 198
.../etc/uucp/Devices File 198
......Type Field 199
......Line Field 200
......Line2 Field 201
......Class Field 201
......Dialer-Token-Pairs Field 202
......Protocol Definitions in the Devices File 205
.../etc/uucp/Dialers File 206
......Hardware Flow Control 210
......Setting Parity 211
...Other Basic Configuration Files 211
....../etc/uucp/Dialcodes File 211
....../etc/uucp/Sysfiles File 213
....../etc/uucp/Sysname File 214
.../etc/uucp/Permissions File 214
......Structuring Entries 215
......Considerations 215
......REQUEST Option 216
......SENDFILES Option 216
......MYNAME Option 217
......READ and WRITE Options 217
......NOREAD and NOWRITE Options 218
......CALLBACK Option 218
......COMMANDS Option 219
......VALIDATE Option 221
......MACHINE Entry for OTHER 223
......Combining MACHINE and LOGNAME 223
......Forwarding 224
.../etc/uucp/Poll File 224
.../etc/uucp/Config File 224
.../etc/uucp/Grades File 225
......User-job-grade Field 225
......System-job-grade Field 225
......Job-size Field 227
......Permit-type Field 227
......ID-list Field 228
...Other UUCP Configuration Files 228
....../etc/uucp/Devconfig File 228
....../etc/uucp/Limits File 228
......remote.unknown File 229
...Administrative Files 229

13. Configuring and Maintaining UUCP
233
...Adding UUCP Logins 233
...Starting UUCP 234
......uudemon.poll Shell Script 235
......uudemon.hour Shell Script 235
......uudemon.admin Shell Script 235
......uudemon.cleanup Shell Script 236
...Running UUCP Over TCP/IP 236
......Activating UUCP in /etc/inetd.conf 236
......Tailoring Systems File Entries for TCP/IP 236
......Checking /etc/inet/services for UUCP 237
...Security, Maintenance, and Troubleshooting 237
......Setting Up UUCP Security 237
......Regular UUCP Maintenance 238
......Troubleshooting UUCP 239
...UUCP Error Messages 241

Index
249