You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without it, administrators (or users) would have to manually enter the static
IP address settings for each of the nodes they work with
Imagine if you had to re-type the IP address settings on your smartphone, each
time it were connected to a different network
Managing a DHCP server involves:
Creating one or more DHCP scopes
Verifying IP address settings are being issued out to DHCP clients
successfully
Monitoring the DHCP scope, and ensuring the scope does not run out of IP
addresses
DHCP Scopes
A DHCP scope defines:
A pool (group) of IP addresses which are issued out to DHCP clients
A lease time which identifies how long a DHCP client may use an issued IP
address for
A subnet mask that is associated with each issued IP address
A default gateway address, so that DHCP clients can access other networks
A DNS server address, so that DHCP clients can resolve hostnames and FQDNs
to IP addresses
A DNS namespace suffix, used to create FQDN values when only a hostname is
queried
Installing The (DHCP Server) Server Role
Similar to (AD DS) and (DNS), select the (DHCP Server) server role, and
complete the installation process
Complete the post-installation configuration requirement for the (DHCP
Server) role
Nothing to change along the way in most cases
Just use the default settings
Click "Next"
Click "Commit"
Click "Close"
Once the (DHCP Server) post-installation configuration requirement has
completed, don't forget to clear out the "Server Manager's" notification area
The notification area contains reminders for you to do something, so keeping
this area clear, visual informs you that there is nothing else for you to do
Creating A DHCP Scope
The "DHCP" interface is used to manage all aspects of your DHCP environment
Right-click on the (IPv4) node, and select the "New Scope..." option
A wizard will guide you through the process for creating a new DHCP for your
network
Click "Next"
Enter a descriptive name for your new DHCP scope
The value can be anything you like
Enter the range of IP addresses for your pool
These are the IP addresses which will be issued out to your DHCP clients on
the network
A valid subnet mask needs to be identified, so that all DHCP clients will
participate in the same IP network
On rare occasions, it may be necessary to remove a few IP addresses from the
previously defined pool of addresses (e.g. statically configured nodes which
use IP addresses which is part of the pool)
If you define your IP networks properly from the start, then there should be
no need to exclude any IP addresses from the pool
Define the DHCP scope's lease time
The extra options include the (default gateway, DNS server, DNS namespace
suffix, etc) setting values
Add the default gateway for the IP network
Add a DNS server for the IP network
The DNS namespace suffix can be left alone, or modified if you wish
Another example of "old technology" which should be deprecated
Only older nodes (e.g. Windows 95, Windows NT 4.0, etc), and older software
rely on WINS (Windows Internet Name Services) to resolve hostnames to IP
addresses
Modern networks all use DNS services for name resolution purposes
Activate the new DHCP scope, so that DHCP clients can begin to acquire their
IP settings dynamically from the DHCP service on your network
Click "Finish"
Microsoft Windows DHCP Clients
Once DHCP services are available on your network, other nodes can be
configured to acquire their IP settings dynamically
Manually verify all IP setting values (IP address, subnet mask, default
gateway address, DNS server address, DNS namespace suffix, etc) were
acquired from the DHCP service
PS C:\Users\localuser> ipconfig /allWindows IP Configuration Host Name: w000123456a Primary Dns Suffix: Node Type: Hybrid IP Routing Enabled: No WINS Proxy Enabled: No DNS Suffix Search List: ad000123456a.comEthernet adapter Ethernet: Connection-specific DNS Suffix: ad000123456a.com Description: Intel (R) PRO/1000 MT Desktop Adapter Physical Address: 08-00-27-83-21-31 DHCP Enabled: Yes Autoconfiguration Enabled: Yes Link-local IPv6 Address: fe80::a062:d282:bc4a:bdb%4 (Preferred) IPv4 Address: 10.0.10.100 (Preferred) Subnet Mask: 255.255.255.0 Lease Obtained: October 3, 2019 3:29:44 PM Lease Expires: October 11, 2019 3:29:46 PM Default Gateway: 10.0.10.20 DHCP Server: 10.0.10.20 DHCPv6 IAID: 67633191 DHCPv6 Client DUID: 00-01-00-01-24-CD-1D-85-08-00-27-83-21-31 DNS Servers: 10.0.10.20 NetBIOS over Tcpip: EnabledPS C:\Users\localuser>
Test connectivity on the network, and name resolution from your DNS service,
to ensure all is working properly
PS C:\Users\localuser> ping pet-rescue.orgPinging pet-rescue.org [10.0.20.20] with 32 bytes of data:Reply from 10.0.20.20: bytes=32 time<1ms TTL=128Reply from 10.0.20.20: bytes=32 time<1ms TTL=128Reply from 10.0.20.20: bytes=32 time<1ms TTL=128Reply from 10.0.20.20: bytes=32 time<1ms TTL=128Ping statistics for 10.0.20.20: Packets: Sent = 4, Received = 4, Lost = 0 (0% 1055),Approximate round trip times in milli-seconds: Minimum = Oms, Maximum = Oms, Average = OmsPS C:\Users\localuser> ping equipment.xyzsports.co.ukPinging www.xyzsports.co.uk [10.0.40.20] with 32 bytes of data:Reply from 10.0.40.20: bytes=32 time<1ms TTL=128Reply from 10.0.40.20: bytes=32 time<1ms TTL=128Reply from 10.0.40.20: bytes=32 time=1ms TTL=128Reply from 10.0.40.20: bytes=32 time<1ms TTL=128Ping statistics for 10.0.40.20: Packets: Sent = 4, Received = 4, Lost = 0 (0% 1055),Approximate round trip times in milli-seconds: Minimum = Oms, Maximum = 1ms, Average = OmsPS C:\Users\localuser>
Oracle Linux DHCP Clients
Use the (ifconfig) command to verify the node has received a valid IP
address and associated subnet mask from your DHCP service
Use the (route -n) command to identify the default gateway for the node
The value should match what you defined earlier when you created the DHCP
scope
[root@ol000123456a ~]# route -nKernel IP routing tableDestination Gateway Genmask flags Metric Ref Use Iface0.0.0.0 10.0.10.20 0.0.0.0 UG 100 0 0 enp0s310.0.10.0 0.0.0.0 255.255.255.0 U 100 0 0 enp0s3192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0[root@ol000123456a ~]#
Identifying DHCP Clients
Now that we have a couple of nodes on our network utilizing the DHCP scope
we created, let's see who they are
As it is with most Microsoft graphical interfaces, you will need to manually
refresh the applicable node (folder) before it is populated with current
information
And, as expected, we see that there are (2) nodes on our network that have
acquired their IP settings from our DHCP service
Managing A DHCP Scope
Once a DHCP scope has been created, it can be modified and monitored
Here you can view the IP address pool range, or modify it (make it bigger or
smaller) if needed
Here, you can see which nodes have acquired their IP address settings from
this DHCP scope
Currently, (2) nodes on the network are configured dynamically for their IP
address settings
If you need to add or change the options for the DHCP scope, here is where
you can do so