Lab 4 DHCP - jude-lindale/Wiki GitHub Wiki
DHCP
Objective
Install and configure Linux DHCP services on dhcp01.yourname.local.
- SSH from AD01 -> DHCP01
- PuTTy
- Configuring DHCP Services
- Starting DCHP Services
- Configuring the Firewall to allow incoming DHCP requests
- Windows 10 DHCP Client
Tech Journal Entry
For this entry, I decided to look more into the DCHP Message Types Release, Discover, Offer, Request, ACK. I found that a DHCP Release Message Type is what is sent by a DHCP client to release its IP address. And once the DHCP Release message has been received the DHCP server then can assign the IP address that was Released to another DHCP client. The DHCP Discover Message Type is the message the is broadcasted by a DHCP client to locate a DHCP server when said client first attempts to access the network. The DHCP Offer Message Type is a message that is sent from the DHCP Server as a response to the DHCP Discover message. The DHCP Offer carries various configuration parameters. The DHCP Request Message Type is sent under multiple conditions, 1. after a DHCP client is initialized, it then broadcasts a DHCP Request message in response to the DHCP Offer sent by the DHCP server, 2. after a DHCP client restarts, it will broadcast a DHCP Request message to confirm the configuration including its assigned IP address, and 3. after a DHCP client obtains an IP address, it unicasts or broadcasts a DHCP Request message to update the IP address lease. Finally the DHCP ACK Message Type is a message sent by the DHCP server to acknowledge the DHCP Request sent by the client. This message sent to the client contains the configuration parameters including the IP address.
Working Notes
The purpose of this lab was to Install and configure Linux DHCP services on dhcp01.yourname.local. First, we started with using SSH from AD01 -> DHCP01, the first step into doing so was to disable the IE Enhanced Security Configuration. To do so, I went to AD01 and in server manager, there is the option IE Enhanced Security Configuration and then I turned the administrator option off. Next was to get PuTTy running; to do so first I had to install PuTTy by going to Go to the web page hhtps://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html and downloading putty-64bit.[version#]-installer.msi. Once PuTTy had been installed it was time to connect to DHCP01. To do so I had to open PuTTy and enter the configurations Host Name (or IP address): dhcp01-jude, Port: 22, Connection Type: SSH, Saved Sessions: dhcp01-jude. once that was done I connected to DHC01 and ran the command sudo yum install dhcp
to install dhcp. Then it was time for Configuring DHCP Services. To do so as root I opened vi /etc/dhcp/dhcpd.conf
and entered the given comments which can be found at Configuring DHCP Services. Once that was done it was time to Starting DCHP Services and Enabling the service to start at boot. To do so I entered the commands that can be found on Starting DCHP Services. The next step was to Configuring the Firewall to allow incoming DHCP requests. To do this all that had to be done was to enter the commands that can be found in Configuring the Firewall to allow incoming DHCP requests. The last step was the Windows 10 DHCP Client. For this I went to the Change adapter options, choose the Ethernet adapter, went to its properties, when in IPv4 properties and changed back to Obtain an IP address automatically and Obtain DNS server address automatically.