System Management Guide Communications and Networks
Total Page:16
File Type:pdf, Size:1020Kb
Bull System Management Guide Communications and Networks AIX ORDER REFERENCE 86 A2 27EF 03 Bull System Management Guide Communications and Networks AIX Software June 2003 BULL CEDOC 357 AVENUE PATTON B.P.20845 49008 ANGERS CEDEX 01 FRANCE ORDER REFERENCE 86 A2 27EF 03 The following copyright notice protects this book under the Copyright laws of the United States of America and other countries which prohibit such actions as, but not limited to, copying, distributing, modifying, and making derivative works. Copyright Bull S.A. 1992, 2003 Printed in France Suggestions and criticisms concerning the form, content, and presentation of this book are invited. A form is provided at the end of this book for this purpose. To order additional copies of this book or other Bull Technical Publications, you are invited to use the Ordering Form also provided at the end of this book. Trademarks and Acknowledgements We acknowledge the right of proprietors of trademarks mentioned in this book. AIXR is a registered trademark of International Business Machines Corporation, and is being used under licence. UNIX is a registered trademark in the United States of America and other countries licensed exclusively through the Open Group. Linux is a registered trademark of Linus Torvalds. The information in this document is subject to change without notice. Groupe Bull will not be liable for errors contained herein, or for incidental or consequential damages in connection with the use of this material. About This Book This book is for system administrators who maintain the operating system’s network connections. Familiarity with the Base Operating System and the material covered in AIX 5L Version 5.2 System Management Guide: Operating System and Devices and AIX 5L Version 5.2 System User’s Guide: Communications and Networks is necessary. Beginning with the AIX 5.2 Documentation Library, any information that this book contained regarding AIX system security, or any security–related topic, has moved. For all security–related information, see the AIX 5L Version 5.2 Security Guide. This edition supports the release of AIX 5L Version 5.2 with the 5200–01 Recommended Maintenance package. Any specific references to this maintenance package are indicated as AIX 5.2 with 5200–01. Who Should Use This Book This book is intended for system administrators who perform system management tasks that involve communication within a network. Highlighting The following highlighting conventions are used in this book: Bold Identifies commands, keywords, files, directories, and other items whose names are predefined by the system. Italics Identifies parameters whose actual names or values are to be supplied by the user. Monospace Identifies examples of specific data values, examples of text similar to what you might see displayed, examples of portions of program code similar to what you might write as a programmer, messages from the system, or information you should actually type. Case–Sensitivity in AIX Everything in the AIX operating system is case–sensitive, which means that it distinguishes between uppercase and lowercase letters. For example, you can use the ls command to list files. If you type LS, the system responds that the command is ”not found.” Likewise, FILEA, FiLea, and filea are three distinct file names, even if they reside in the same directory. To avoid causing undesirable actions to be performed, always ensure that you use the correct case. ISO 9000 ISO 9000 registered quality systems were used in the development and manufacturing of this product. Preface iii Related Publications The following book contains information about or related to communications: • AIX 5L Version 5.2 System Management Guide: Operating System and Devices • AIX 5L Version 5.2 System Management Concepts: Operating System and Devices • AIX 5L Version 5.2 System User’s Guide: Communications and Networks • AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs • AIX 5L Version 5.2 Network Information Service (NIS and NIS+) Guide • AIX 5L Version 5.2 Commands Reference • AIX 5L Version 5.2 Installation Guide and Reference • AIX 5L Version 5.2 Security Guide iv System Management Guide: Communications and Networks Contents About This Book. iii Who Should Use This Book. iii Highlighting . iii Case–Sensitivity in AIX. iii ISO 9000 . iii Related Publications. iv Chapter 1. How To’s for Network Administration Tasks. 1-1 Upgrade to IPv6 with IPv4 Configured. 1-2 Step 1. Set up the hosts for IPv6. 1-2 Step 2. Set up the router for IPv6. 1-3 Step 3. Set up IPv6 to be configured on the hosts at boot time. 1-3 Step 4: Set up IPv6 to be configured on the router at boot time. 1-3 Upgrade to IPv6 with IPv4 not configured in AIX 5.2 and later. 1-4 Step 1: Set up the hosts for IPv6. 1-4 Step 2: Set up the router for IPv6. 1-4 Step 3. Set up IPv6 to be configured on the hosts at boot time. 1-5 Step 4: Set up IPv6 to be configured on the router at boot time. 1-5 Migrate from SNMPv1 to SNMPv3. 1-7 Step 1. Migrate the community information. 1-7 Step 2. Migrate the view information. 1-8 Step 3. Migrate the trap information. 1-9 Step 4. Migrate the smux information. 1-10 Step 5. Stop and Start the snmpd daemon. 1-10 Create Users in SNMPv3. 1-11 Step 1. Create the user. 1-11 Step 2. Configure the group. 1-12 Step 3. Configure view and access permissions. 1-12 Step 4. Configure trap entries for the user. 1-14 Step 5. Stop and start the snmpd daemon. 1-15 Step 6. Test your configuration. 1-15 Dynamically update authentication and privacy keys in SNMPv3. 1-16 Create a Local Alias for Mail. 1-19 Configure Domain Name Servers. 1-20 Step 1. Configure the Master Name Server. 1-20 Step 2. Configure the Slave Name Server. 1-23 Step 3. Configure the Hint Name Server. 1-24 Chapter 2. Communications and Networks Overview. 2-1 Communications Functions Introduction. 2-2 Network Introduction. 2-3 Physical Networks Introduction. 2-5 Network Systems and Protocols. 2-6 Protocols . 2-6 Addresses . 2-6 Domains . 2-6 Gateways and Bridges. 2-7 Routing . 2-7 Local and Remote Nodes. 2-7 Preface v Client and Server. 2-7 Communicating with Other Operating Systems. 2-8 Chapter 3. Mail . 3-1 Mail Management Tasks. 3-2 Configuring the /etc/rc.tcpip File to Start the sendmail Daemon. 3-3 Managing Mail Aliases. 3-4 /etc/mail/aliases File. 3-4 Creating Local System Aliases for Mail. 3-5 Building the Alias Database. 3-5 Managing the Mail Queue Files and Directories. 3-6 Printing the Mail Queue. 3-6 Mail Queue Files. 3-6 Specifying Time Values in sendmail. 3-8 Forcing the Mail Queue. 3-9 Setting the Queue Processing Interval. 3-9 Moving the Mail Queue. 3-9 Starting the sendmail Daemon. ..