Greetings and salutations,
I hope this thread will be helpful to those who follow in my foot steps as well as getting any advice based on what I have done / documented.
To discuss this thread, please participate here: Ubuntu Forums >>need to create thread<<
Dynamic Host Configuration Protocol (DHCP) is a network protocol that enables a server to automatically assign an IP address to a computer from a defined range of numbers (i.e., a scope) configured for a given network.
This tutorial will cover how to install the DHCP service and configure it for a single network with various options.
The server will be installed inside a virtual machine in vSphere running on ESXi servers. Notes will also be supplied for doing the same thing for VirtualBox on a Windows 10 PC. Although there are some VMware-specific and VirtualBox-specific steps, they are very few and the majority of this documentation will work for other Virtual Machines or even directly installed onto a physical machine (e.g. bare-metal install). If you have any advice on doing things better, please let me know by replying to the Ubuntu forums thread above.
Tools utilized in this process
The list below are sources of information that was helpful in the creation of this document.
This documentation will need to make use of some very-specific information that will most-likely be different for each person / location. And as such, this information will be noted in this section. They will be highlighted in red throughout the document as a reminder that you should plug-in your own value rather than actually using these "place-holder" values.
Under no circumstance should you use the actual values listed below. They are place-holders for the real thing. This is just a checklist template you need to have answered before you start the install process.
Wherever you see the below variables in this document (typically in RED), you need to substitute it for you will use in your environment.
- Ubuntu Server name: srv-dhcp
- Ubuntu Server IP address: 192.168.107.13
- Ubuntu Admin ID: administrator
- Ubuntu Admin Password: myadminpass
- Local Domain: mydomain.local
- DHCP Range: 192.168.107.50 to 192.168.107.100
- Default Gateway: 192.168.107.1
- Internal DNS Server: 192.168.107.1
- External DNS Server #1: 188.8.131.52 (CloudFare)
- External DNS Server #2: 184.108.40.206 (Google)
It is also assumed the reader knows how to use the VI editor. If not, you will need to beef up your skill set or use a different editor in place of it.