15.01.2024 Views

CompTIA A+ Certification All-in-One Exam Guide

  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Bridged Networking When most people think of networking a new VM,

it’s safe to say they are really thinking, “How do I get my new VM on the

Internet?” You first connect to the Internet by connecting to a real network.

There are plenty of scenarios where you might want a VM that connects to

your real network, exactly as your host machine connects to the network. To

do this, the VM’s virtual NIC needs to piggyback (the proper word is bridge)

the real NIC to get out to the network. A VM with a bridged network

connection accesses the same network as the host system. It’s a lot like the

virtual machine has its own cable to connect it to the network. Bridged

networking is a simple way to get a VM connected to the Internet (assuming

the host machine has an Internet connection, of course).

EXAM TIP A VM connected using bridged networking is subject to all the

same security risks as a real computer on the Internet.

Here’s a scenario where bridged networking is important. Let’s say

someone is trying to access my online videos, but is having trouble. I can

make a VM that replicates a customer’s OS and browser. In this case, I would

set up the VM’s NIC as a bridged network. This tells the real NIC to allow

the virtual NIC to act as though it is a physical NIC on the same network. The

virtual NIC can take Dynamic Host Configuration Protocol (DHCP)

information just like a real NIC.

EXAM TIP On almost every hypervisor, when you create a new VM, it

will by default use bridged networking unless you specifically reconfigure

the VM’s NIC to do otherwise.

Virtual Switches Think about this for a moment: If you are going to make

an internal network of four virtual machines, aren’t they going to need to

somehow connect together? In a real network, we connect computers together

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!