| |
Preface | xix |
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 a Network Is | 3 |
| ......What TCP/IP Is | 4 |
| ......Types of Hardware That Make Up a Solaris Network | 5 |
| ......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 |
3. Planning Your Network | 25 |
| ...Designing the Network | 25 |
| ......Factors Involved in Network Planning | 26 |
| ...Setting Up an IP Addressing Scheme | 27 |
| ......Parts of the IP Address | 27 |
| ...... Network Classes | 28 |
| ......How IP Addresses Apply to Network Interfaces | 32 |
| ...Naming Entities on Your Network | 33 |
| ......Administering Host Names | 33 |
| ......Selecting a Name Service | 33 |
| ...Registering Your Network | 36 |
| ......InterNIC and InterNIC Registration Services | 36 |
| ......How to Contact the InterNIC | 37 |
| ...Adding Routers | 37 |
| ......Network Topology | 38 |
| ......How Routers Transfer Packets | 40 |
4. Configuring TCP/IPon the Network | 43 |
| ...Before You Configure TCP/IP | 44 |
| ...Determining Host Configuration Modes | 44 |
| ......Machines That Should Run in Local Files Mode | 45 |
| |
| ......Machines That Are Network Clients | 46 |
| ......Mixed Configurations | 47 |
| ......Sample Network | 47 |
| ...TCP/IP Configuration Files | 49 |
| ....../etc/hostname.interface File | 49 |
| ....../etc/nodename File | 50 |
| ....../etc/defaultdomain File | 50 |
| ....../etc/defaultrouter File | 50 |
| ......hosts Database | 51 |
| ......netmasks Database | 54 |
| ...Network Databases and nsswitch.conf File | 58 |
| ......How Name Services Affect Network Databases | 59 |
| ......nsswitch.conf File--Specifying Which Name Service |
| ........ to Use | 61 |
| ......bootparams Database | 65 |
| ......ethers Database | 66 |
| ......protocols Database | 68 |
| ......services Database | 69 |
| ... Network Configuration Procedures | 70 |
| ......· How to Configure a Host for Local Files Mode | 70 |
| ......Setting Up a Network Configuration Server | 72 |
| ......Configuring Network Clients | 73 |
| ...Overview of the Booting Processes | 75 |
5. Configuring Routers | 77 |
| |
| ...Routing Protocols | 77 |
| ......Routing Information Protocol (RIP) | 78 |
| ......ICMP Router Discovery (RDISC) Protocol | 78 |
| ...Configuring Routers | 78 |
| ......Configuring Both Router Network Interfaces | 79 |
| ......How a Machine Determines If It Is a Router | 80 |
| ......Automatic Routing Protocol Selection | 81 |
| ......Forcing a Machine to Be a Router | 81 |
| ......Forcing a Machine to Be a Host--the "Firewall" |
| ........Gateway | 82 |
| ......Turning On Space-Saving Mode | 82 |
| ......Turning Off ICMP Router Discovery on the Host | 83 |
| ......Turning Off ICMP Router Discovery on the Router | 83 |
| ...Configuring Standard TCP/IP Services | 83 |
6. Troubleshooting TCP/IP | 85 |
| ...General Troubleshooting Methods | 85 |
| ...Running Software Checks | 86 |
| ...ping Command | 86 |
| ...ifconfig Command | 88 |
| ...netstat Command | 89 |
| ......Displaying Per Protocol Statistics | 90 |
| ...... Displaying Network Interface Status | 91 |
| ......Displaying Routing Table Status | 92 |
| ...Logging Network Problems | 93 |
| |
| ...Displaying Packet Contents | 93 |
Part 2 --Expanding Your Network With PPP |
7. Understanding PPP | 97 |
| ...Overview | 97 |
| ......Solaris PPP Specifications | 98 |
| ......Transmission Facilities Used by PPP | 98 |
| ......Standards Conformance | 98 |
| ...PPP Network Interfaces | 99 |
| ...Extending Your Network With PPP | 99 |
| ...... Point-to-Point Communications Links | 99 |
| ......Point-to-Point Configurations Supported by |
| ........Solaris PPP | 101 |
| ......Multipoint Communications Links | 105 |
| ......Multipoint Configurations Supported by PPP | 105 |
| ...Introducing the PPP Software | 107 |
| ......Link Manager | 108 |
| ......Login Service | 109 |
| ......Configuration File | 109 |
| ......Log File | 110 |
| ......FIFO File | 110 |
| ......UUCP Databases | 110 |
| ...How the Components Work Together | 110 |
| ......Outbound Connections Scenario | 110 |
| ......Inbound Connections Scenario | 111 |
| |
8. Preparing Your PPP Configuration | 113 |
| ...Determining Requirements for Your Configuration Type | 114 |
| ......Remote Computer-to-Network Configuration | 114 |
| ......Remote Host-to-Remote Host Configuration | 115 |
| ......Network-to-Network Configuration | 116 |
| ......Dial-in Server With Dynamic Point-to-Point Links | 117 |
| ......Multipoint Dial-in Server | 118 |
| ......Hosts on a Virtual Network | 119 |
| ...Determining IP Addressing for Your PPP Link | 119 |
| ......Specifying IP Addresses | 119 |
| ......Types of Addressing Schemes | 120 |
| ...Routing Considerations | 122 |
| ......Turning off RIP | 123 |
| ...PPP Hardware Requirements | 123 |
| ...File Space Requirements | 123 |
| ......Checklist for Configuring PPP | 124 |
9. Configuring PPP | 127 |
| ...Overview of the Configuration Process | 127 |
| ...Installing the PPP Software | 128 |
| ......Verifying Installation | 128 |
| ...Sample PPP Configuration | 129 |
| ...Editing the /etc/inet/hosts File | 130 |
| ......· How to Configure the Remote Machine's hosts |
| ........Database | 131 |
| |
| ......Multipoint Dial-in Server hosts Database | 131 |
| ......· How to Configure the Dial-In Server's hosts |
| ........Database | 132 |
| ...Editing UUCP Databases | 132 |
| ......Updating /etc/uucp/Devices for PPP | 133 |
| ......Updating /etc/uucp/Dialers for PPP | 133 |
| ......Updating /etc/uucp/Systems for PPP | 134 |
| ...Modifying the /etc/passwd File | 134 |
| ...Editing the /etc/asppp.cf Configuration File | 135 |
| ......Parts of Basic Configuration File | 136 |
| ......Configuration File for Multipoint Dial-in Server | 138 |
| ......Editing the Configuration File | 141 |
| ...Starting Up Your New PPP Link | 142 |
| ......Manually Starting PPP | 142 |
| ......· How to Verify that PPP Is Running | 142 |
| ... Stopping PPP | 143 |
10. Troubleshooting PPP | 145 |
| ...Checking Hardware | 146 |
| ...Checking Interface Status | 146 |
| ...Checking Connectivity | 147 |
| ...Checking Interface Activity | 147 |
| ...Checking the Local Routing Tables | 147 |
| ...Checking Permissions | 149 |
| ...Checking Packet Flow | 149 |
| |
| ...Using PPP Diagnostics for Troubleshooting | 150 |
| ......· How to Set Diagnostics for Your Machine | 151 |
| ......Analyzing Diagnostic Output | 152 |
11. Tailoring Your PPP Link | 161 |
| ...Configuring Dynamically Allocated PPP Links | 161 |
| ......Addressing Issues for Dynamically Allocated Links | 163 |
| ......Updating the hosts Database for Dynamic Links | 163 |
| ......Considerations for Other Files | 164 |
| ......Editing asppp.cf for Dynamic Link | 165 |
| ...Configuring a Virtual Network | 168 |
| ......Addressing Issues for Virtual Networks | 169 |
| ......Updating hosts and networks Databases | 169 |
| ...... Considerations for Other Files | 170 |
| ......asppp.cf Configuration File for a Virtual Network | 170 |
| ...Configuration Keywords | 172 |
Part 3 --Administering UUCP Communications |
12. UUCP Databases and Programs | 177 |
| ...UUCP Hardware Configurations | 178 |
| ...Software Comprising UUCP | 178 |
| ......Daemons | 178 |
| ......Administrative Programs | 179 |
| ......User Programs | 180 |
| ...Introducing the UUCP Database Files | 181 |
| ......Configuring UUCP Files | 182 |
| |
| .../etc/uucp/Systems File | 183 |
| ......System-Name Field | 183 |
| ......Time Field | 184 |
| ......Type Field | 185 |
| ......Speed Field | 185 |
| ......Phone Field | 186 |
| ......Chat Script Field | 187 |
| ......Hardware Flow Control | 189 |
| ......Setting Parity | 190 |
| .../etc/uucp/Devices File | 190 |
| ......Type Field | 191 |
| ......Line Field | 192 |
| ......Line2 Field | 193 |
| ......Class Field | 193 |
| ......Dialer-Token-Pairs Field | 194 |
| ......Protocol Definitions in the Devices File | 197 |
| .../etc/uucp/Dialers File | 198 |
| ......Hardware Flow Control | 202 |
| ......Setting Parity | 203 |
| ...Other Basic Configuration Files | 203 |
| ....../etc/uucp/Dialcodes File | 203 |
| ....../etc/uucp/Sysfiles File | 205 |
| ....../etc/uucp/Sysname File | 206 |
| .../etc/uucp/Permissions File | 206 |
| |
| ......Structuring Entries | 207 |
| ......Considerations | 207 |
| ......REQUEST Option | 208 |
| ......SENDFILES Option | 208 |
| ......MYNAME Option | 209 |
| ......READ and WRITE Options | 209 |
| ......NOREAD and NOWRITE Options | 210 |
| ......CALLBACK Option | 210 |
| ......COMMANDS Option | 211 |
| ......VALIDATE Option | 213 |
| ......MACHINE Entry for OTHER | 215 |
| ......Combining MACHINE and LOGNAME | 215 |
| ......Forwarding | 216 |
| .../etc/uucp/Poll File | 216 |
| .../etc/uucp/Config File | 216 |
| .../etc/uucp/Grades File | 217 |
| ......User-job-grade Field | 217 |
| ......System-job-grade Field | 217 |
| ......Job-size Field | 219 |
| ......Permit-type Field | 219 |
| ......ID-list Field | 220 |
| ...Other UUCP Configuration Files | 220 |
| ....../etc/uucp/Devconfig File | 220 |
| ....../etc/uucp/Limits File | 220 |
| |
| ......remote.unknown File | 221 |
| ...Administrative Files | 221 |
13. Configuring and Maintaining UUCP | 225 |
| ...Adding UUCP Logins | 225 |
| ...Starting UUCP | 226 |
| ......uudemon.poll Shell Script | 227 |
| ......uudemon.hour Shell Script | 227 |
| ......uudemon.admin Shell Script | 227 |
| ......uudemon.cleanup Shell Script | 228 |
| ...Running UUCP Over TCP/IP | 228 |
| ......Activating UUCP in /etc/inetd.conf | 228 |
| ......Tailoring Systems File Entries for TCP/IP | 228 |
| ......Checking /etc/inet/services for UUCP | 229 |
| ...Security, Maintenance, and Troubleshooting | 229 |
| ......Setting Up UUCP Security | 230 |
| ......Regular UUCP Maintenance | 230 |
| ......Troubleshooting UUCP | 231 |
| ...UUCP Error Messages | 233 |
Index | 239 |