they are booted. You can also force them to contact the DHCP server at any time:
? On a Fedora Core 4 or later system, use
? # dhclient
? In this case, the port being configured is eth0 , the first Ethernet connection. On other Linux systems, you may need to use
? On a Windows system, you can use
? C:> ipconfig /renew
?
? Windows IP Configuration
?
? Ethernet adapter 1:
?
? Connection-specific DNS Suffix . : fedorabook.com
? IP Address. . . . . . . . . . . . : 192.168.1.207
? Subnet Mark . . . . . . . . . . . : 255.255.255.0
? Default Gateway . . . . . . . . . : 192.168.1.254
7.2.2. How Does It Work?
Table 7-4 shows the sequence of messages that flow between a DHCP client and a DHCP server during initial negotiation and during lease renewal.
Table 7-4. DHCP messages.
Context | Message type | Origin | Description | |
---|---|---|---|---|
Initial negotiation | Lease renewal | |||
* | DHCPDISCOVER | Client | Client tries to discover the DHCP server. | |
* | DHCPOFFER | Server | The DHCP server offers its location and possible lease details. | |
* | * | DHCPREQUEST | Client | The client requests a lease. |
* | * | DHCPACK/DHCPNACK | Server | The server acknowledges (approves) or negatively acknowledges (rejects) the lease request. |
Early DHCP messages are sent using UDP to the broadcast address 255.255.255.255. This is necessary because the client does not have an IP address at the start of the negotiation.
7.2.3. What About...
7.2.3.1. ...older clients that use the bootp protocol?
The DHCP server,
To enable
range dynamic-bootp 192.168.1.128 192.168.1.191