Setting up support for a Microsoft Windows client is easy—you simply select the DHCP support option in the TCP/IP section of the Network Control Panel, which can be found in most versions of Windows. A DHCP client for Windows 95 is shown in Figure 38-3. Once DHCP support is enabled, it is no longer necessary to enter any static IP address information.
Exercise 39-1: Configuring and Unconfiguring a DHCP Service This exercise requires you to configure and unconfigure a DHCP service. For example, to set up a DHCP server for the domain paulwatters.com, with the DNS server 204.56.54.22 and a lease time of 14,400 seconds (4 hours), the following command sequence would be
Identify the IP address of the local DNS server:# grep nameserver /etc/resolv.conf
Identify the local DNS domain:# cat /etc/defaultdomain
Configure the service:# dhcpconfig -D -r SUNWbinfiles -p /var/dhcp -l 14400 \ -d paulwatters.com -a 204.56.54.22 -h dns -y paulwatters.com
Unconfigure the service:# dhcpconfig –U –f –x -h