Configuring the dhcpd daemon as outlined is accomplished through the following steps:
1. | Log in to the server and start YaST, authenticating as root when prompted. |
2. | Choose Network Services and then DHCP Server. |
3. | A prompt will appear that the dhcp-server package needs to be installed, as shown in Figure 4.48. Figure 4.48. The dhcp-server package needs to be added.
|
4. | Click Continue to install the package and insert any media as it is requested. |
5. | The DHCP Server Wizard will begin and prompt you to select a network card, as shown in Figure 4.49. Figure 4.49. The DHCP Server Wizard begins.
|
6. | Select Next. On the Global Settings screen, do the following: - Check the LDAP Support box.
- Enter LabRoom in the Domain Name field.
- Enter the IP address of this server in the Primary Name Server IP field.
- Enter the IP address of the router in the Default Gateway (Router) field.
- Enter 1 in the Default Lease Time field, leaving the default measure set to days.
|
7. | Click Next. |
8. | Enter 192.168.0.15 in the First IP Address field. |
9. | Enter 192.168.0.99 in the Last IP Address field. |
10. | Enter 1 in the Lease Time field, leaving the default measure set to days. |
11. | Enter 2 in the Max Lease Time field, leaving the default measure set to days. |
12. | Click Next and then Finish, leaving the DHCP Server:Start-Up setting as Off Start Server Manually. |
13. | A prompt will appear asking for the password to the LDAP server. Enter the root password. |
14. | Open a terminal session and type rcdhcpd start to start the dhcp service. |
If you've logged in as the admin user, which you have hopefully done, you must su - to root at the terminal prompt before entering the command to start dhcp.