Sys Admin ch7
Sys Admin ch7
1
Introduction
• DHCP is s a network service that enables host
computers to be automatically assigned settings
from a server.
Computers configured to be DHCP clients have no
control over the settings they receive from the DHCP
server.
The configuration is transparent to the computer's user.
• The most common settings provided by a DHCP
server to DHCP clients include:
IP address and Subnet Mask
IP address of the default-gateway to use
IP addresses of the DNS servers to use
CS Dept @AmboU Network and System Administration 2
Introduction…
• However, a DHCP server can also supply
configuration properties such as:
Host Name: Eg. www, mail, …
Domain Name: Eg. ambou.edu.et, aau.edu.et
Time Server: ntp
Print Server
• Advantages of using DHCP includes:
Changes to the network need only be changed at the
DHCP server.
It is also easier to integrate new computers into the
network.
Conflicts in IP address allocation are also reduced.
CS Dept @AmboU Network and System Administration 3
How DHCP works?
• Manual allocation (MAC address)
Using DHCP to identify the unique hardware address of each
network card connected to the network.
Continually supplying a constant configuration each time the
DHCP client makes a request to the DHCP server using that
network device.
This ensures that a particular address is assigned automatically
to that network card, based on it's MAC address.
• Dynamic allocation (address pool)
The DHCP server will assign an IP address from a pool of
addresses (sometimes also called a range or scope) for a period
of time or lease.
This way, the clients will be receiving their configuration
properties dynamically and on a "first come, first served“ basis
CS Dept @AmboU Network and System Administration 4
How DHCP works….
When a DHCP client is no longer on the network for a
specified period, the configuration is expired and
released back to the address pool for use by other DHCP
Clients.
• Automatic allocation
The DHCP automatically assigns an IP address
permanently to a device, selecting it from a pool of
available addresses.
DHCP is used to assign a temporary address to a client,
but a DHCP server can allow an infinite lease time.