When a DHCP client requests an IP address, the NIOS appliance draws an address from an address range associated with the network segment for that client. Because you define that range, you can thereby control the IP address (within the defined range) and the associated TCP/IP settings that the client receives.
In Figure 31.1, three hosts — each in a different subnet — request an IP address. Each one broadcasts a DHCPDISCOVER message, which includes its MAC address. When the router, which also functions as a DHCP relay agent, receives the message, it adds the IP address of the interface on which the message arrives and forwards the message to the DHCP server — or servers — previously configured on the router. When the NIOS appliance receives the message, it uses the ingress interface IP address of the router to determine the network segment to which the host belongs and associates the MAC address of the requesting host with an IP address from an address range for that network.
Figure 31.1 Requesting Addresses – DHCPDISCOVER Messages
The NIOS appliance replies to DHCPREQUEST messages by sending DHCPOFFER messages through the relay agent to the requesting hosts, as shown in Figure 31.2.
Figure 31.2 Requesting Addresses – DHCPOFFER Messages
After the DHCP server runs for a while, it assigns leases based on when it last used addresses, and not just on their positions in the range.
Figure 31.3 Multiple Address Ranges without Filters
This page has no comments.