Join Scott Simpson for an in-depth discussion in this video Lab setup, part of Linux Foundation Cert Prep: Network Administration (Ubuntu).
- [Instructor] In this course, I'm using two Ubuntu virtual machines: one configured as a server, and one configured as a client. I've assigned them both static IP addresses for the time being. The clients are both on the same virtual network, 10.0.2.0/24, running inside a VirtualBox. This network has access to the internet through the virtual router that VirtualBox provides us. I'm using a virtual network because some of the things we'll be doing could affect the production network, and we don't want that. The VirtualBox software offers a DHCP server as a feature, and for this course, we need to turn that off.
When we configure a NAT network, there's an option to disable DHCP. That's great, but there seems to be a bug in the software that makes the software not respect that setting until the host system is restarted. So if you've been following along with other courses using a similar configuration, you'll need to take a moment and disable that setting before continuing here. Uncheck the check box, and then restart your system. Otherwise, you'll get different result than me in the video about setting up our own DHCP server for this network. Because we're pretty far along in this series, I'm making a few assumptions about your skill level at this point. I'm assuming that you already know how to modify networks settings on Ubuntu.
So, if not, take a look at the networking course that covers that. I'm also assuming that you're comfortable working with the command line and that you know how to troubleshoot something that goes wrong by looking at logs and at the manual pages.