Professional Documents
Culture Documents
Networking Essentials - DHCPv4 Configuration
Networking Essentials - DHCPv4 Configuration
Networking Essentials - DHCPv4 Configuration
DHCPv4 Conguration
9.2.1
9.2.2
DCHPv4 Operation
When a host is rst congured as a DHCP client, it does not have an IPv4 address, subnet mask, or default gateway. It obtains this information from a DHCP server,
either on the local network or one located at the ISP. The DHCP server is congured with a range, or pool, of IPv4 addresses that can be assigned to DHCP clients.
The DHCP server may be located on another network. DHCP clients are still able to obtain IPv4 addresses as long as the routers in-between are congured to forward
DHCP requests.
A client that needs an IPv4 address will send a DHCP Discover message which is a broadcast with a destination IPv4 address of 255.255.255.255 (32 ones) and a
destination MAC address of FF-FF-FF-FF-FF-FF (48 ones). All hosts on the network will receive this broadcast DHCP frame, but only a DHCP server will reply. The
server will respond with a DHCP Oer, suggesting an IPv4 address for the client. The host then sends a DHCP Request asking to use the suggested IPv4 address. The
server responds with a DHCP Acknowledgment, as shown in the gure.
DHCPDISCOVER
DHCPOFFER
DHCPREQUEST
DHCPACK
9.2.3
9.2.4
For most home and small business networks, a wireless router provides DHCP services to the local network clients. To congure a home wireless router, access its
graphical web interface by opening the browser and entering the router default IPv4 address: 192.168.0.1 in the IP Address eld, as shown in the gure for a Packet
Tracer wireless router. Home routers will have a similar interface.
The IPv4 address of 192.168.0.1 and subnet mask of 255.255.255.0 are the defaults for the internal router interface. This is the default gateway for all hosts on the
local network and also the internal DHCP server IPv4 address. Most home wireless routers have DHCP Server enabled by default.
On the DHCP conguration screen a default DHCP range is available. You can also specify a starting address for the DHCP range (do not use 192.168.0.1 because the
router is assigned this address) and the number of addresses to be assigned. The lease time can also be modied (default in the graphic is 24 hours). The DHCP
conguration feature on most routers gives information about connected hosts and IPv4 addresses, their associated MAC address, and lease times.
9.2.5