Mike describes the process of changing one or more VMs, such as modifying the number and size of mass storage available. You can use a VM to explore the many options available in Disk Management with multiple drives. The video also covers networking with VMs, via bridging, NAT, and NAT network options.
and running isn't too terribly challenging, other than making sure you know how to run the operating system you're installing. So, what I want to do in this episode is take it a little click further than where we were and show you some of the extra features, some of the more advanced aspects, that you can see on pretty much any hypervisor. I've got two virtual machines running. This is an old copy of Windows 7 over here, and then, on the right is a Windows 10. Now, one of the things, it's kind of hard for me to show you, but one of the things I can't do is I can't get out of this. Once I click inside here, I'm stuck. If you look at the lower right-hand corner down here, you'll see it says Right Ctrl. So, I actually have to hit the Right Ctrl button to get my mouse out. Now, on this Windows 10 system, I don't have that same problem. The other nice thing in my Windows 10 system is, watch this. It literally changes the resolution of the screen based on the shape of my window. Sometimes it takes a moment, but it will keep changing its shape. I don't have that same option over here on my Windows 7 system. All of these are little extra features that you get with the extension pack that comes with VirtualBox. So, you don't have to have the extension pack, but, boy, it's got a lot of fun little diggy doggles and doodads that make your virtual machine a little bit more fun. Okay. Let's go ahead and play with this a little bit. Now, one of the things you got to be aware of is that when machine is running, you cannot mess with a lot of features. For example, I can add or remove optical drives, but for example, I couldn't install a hard drive right now. What I want to show you, here is a powered-off system. Now, if I got into Settings, I can do just about anything. For example, here's Storage. Right now I've got exactly one virtual hard drive, but I can add another one. So, I want to click on Create a New Disk. I'll go with the VDI image, dynamically allocated. I can call it anything I want. Set the size. I'm going to make sure that it sits over on my D: drive. And create it. Here's another little trick for you folks who are studying for the A+. A lot of times, you're going to have questions about disk management that's on the A+, and it wants you to mess with lots of drives and things like that. Instead of going out and buying a real computer and adding a bunch of drives into it, just set yourself up a virtual machine, install Windows in that virtual machine. Remember, you don't have to pay for a copy, but it won't allow you to change your screensaver, for example, so you can use an unlicensed copy for up to 30 days. So, go ahead and just put it in there, into a virtual machine, and just have some fun. this is a place to do it, is by making virtual hard drives and just playing with them. Another great reason to be using virtual machines. Another place where virtualization really is handy is in networking. Now, networking's a little bit tricky You're definitely going to need to be understanding things like NAT and things like that, which we cover in other episodes, however, once you've got this down pat, you can do some really cool stuff. Let me show you. So, I can go to Devices, and by the way, I can do this while the virtual machine's running. I don't have to shut off the virtual machine. So, I can click on Network Settings, and right now he's set to a NAT Network. So, first of all, you can do he's not attached to anything, and that way, it's just a standalone system. and it's going to directly connect Let me show you what Bridged Network really means. Here's my host computer, and here, Let me show you how NAT works. With NAT, a virtual router is created. Now, you can't actually see this virtual router, but it's there, and it connects in here and it creates its own little network ID, which, on this particular hypervisor, is always 10.0.0 something. And that way, this is NATed out and it really treats your individual physical host computer as your internet service provider. The only problem with NAT is that it only allows you to connect one computer to this virtualized network ID. What if you have like, three virtual machines and you want them to all be on their own little network going through their own little virtual router? And that's where NAT Networks come into play. So, to do a NAT Network, we just click on NAT Network and then we've got to give this a name. So, here's where we get a little bit of an extra feature. Let me cancel this for a moment. We're going to go back into the main thing, and let's head over to Tools, and here, we can set up some preferences, in particular, Networks. And here's where we can set up what we call Individual Networks. I'm going to create one right now, and I'm going to call him something more creative than NATNetwork1, so I'm going to call it Tempo. There we go. And here's where I can actually set up the DHCP server part of the router. and the whack 24 means 255.255.255.0. I can set it up so it will act as a DHCP server. I could even set it to support IPv6, from the host system. I'll just go ahead and leave that off for now. And we can take a look at NATNetwork over here, and he's passing out 10.0.2 on his. So, I can create two completely separate networks. Get the idea? Each passing out their own DHCP server, passing out whatever network ID we want to them, and we can do some pretty cool stuff with this. But we have to get these networks set up first, and now we can go back to NAT networking. Alright, so let's go back to Settings, let's go back to Network, and we'll see that I want it to be on a NAT Network, and I'm going to say I want it to be on Tempo. whatever is being passed out by the virtualized router's DHCP server. Let me show you how that looks. So, now we have these two NATed networks, and he's passing out 10.11.12s, who's acting as an ISP, and then we also have NAT Network. The problem is, is until we add computers to these, there's nothing in these networks. So, you make a network and then you start creating virtual machines, and you populate these networks. So, if I want this guy to be a part of that network, that's where I put him into it, or I can put him back in the other one as far as I'm concerned. So, you can really do some powerful features with that. There's a few other settings for networking. Let me just bounce through these really, really quick. of computers on an internal network but there will be no router out to the internet through your own computer. It's just going to be its own little internal network. Host-only Adapter means it's going to be directly connected to the particular host network card, and that's something you probably want to avoid using. And then there's the Generic Driver, to be a different kind of network card. Generic Drivers are often used, if you've got some really old operating system, you're trying to get it to run in a virtual machine and it doesn't know about modern network cards, you can actually go in and have it pretend to be a different kind of network card. That's actually emulation. So, this is one spot where a virtualized system actually does an emulation because it pretends to be a totally different network card than what you have. Look, the bottom line is, is that working with virtual machines is a lot of fun. It is an incredible tool. You should be using this heavily to practice for your A+ exam in all kinds of stuff, mass storage, networking, practicing with DHCP. You can do all of this on one computer if you use a good virtual machine.
This Total Seminars course covers the exam certification topics. For information on additional study resources—including practice tests, lab simulations, books, and discounted exam vouchers—visit totalsem.com/linkedin. LinkedIn Learning members receive special pricing.
This course was created by Total Seminars. We are pleased to offer this training in our library.
We are a CompTIA Partner. As such, we are able to offer CompTIA exam vouchers at a 10% discount. For more information on how to obtain this discount, please download these PDF instructions.
- Internet tiers
- How dial-up and broadband connections work
- File Transfer Protocol (FTP)
- Classic email protocols
- Setting up a generic VPN
- Typical IoT setups and configurations
- Setting up a new virtual machine (VM)
- Networking with VMs
- Cloud ownership