Installing and Administering Internet Services

12
Contents
Configuring DHCP to Deny Address Allocation to
Specific Clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
Monitoring and Troubleshooting DHCP Operations . . . . . . . . . . . . . . 275
Troubleshooting Techniques. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
DHCP Troubleshooting Tools. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
Callbacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
7. Configuring the Network Time Protocol (NTP)
Getting Started with NTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
Equipment Needed for NTP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283
Choosing the Source of Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
Location of Time Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
Back-up Time Servers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
Configuring Your Primary NTP Server . . . . . . . . . . . . . . . . . . . . . . . 296
Advanced NTP Topics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
Stratum Levels and Time Server Hierarchy. . . . . . . . . . . . . . . . . . . 298
Planning a Multiple-Server NTP Configuration. . . . . . . . . . . . . . . . 300
Configuring NTP using the Configuration File. . . . . . . . . . . . . . . . . 301
Starting and Stopping xntpd . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
Using ntpq to Query Systems Running xntpd. . . . . . . . . . . . . . . . . . 310
Troubleshooting ntp. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
To Find Out if xntpd is Running . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
NTP Associations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
Query with Debug Option. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
Common Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
Reporting Problems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317