Lab 5 - Standard Virtual Switches

Video Activity

Lab 5 Standard Virtual Switches This lesson offers step by step, screen by screen instructions in a lab-based lesson on how to create a standard virtual switch. Participants learn how to set up port groups and set up VMs to create virtual switches.

Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or

Already have an account? Sign In »

Time
14 hours 13 minutes
Difficulty
Intermediate
Video Description

Lab 5 Standard Virtual Switches This lesson offers step by step, screen by screen instructions in a lab-based lesson on how to create a standard virtual switch. Participants learn how to set up port groups and set up VMs to create virtual switches.

Video Transcription
00:04
Okay. Welcome to Lab five.
00:07
And this lab will be working with standard virtual switches.
00:12
We'll get a chance to create a switch
00:14
and also get a chance to attach
00:19
the virtual machine that we created earlier. The window seven Virtual Machine
00:22
two.
00:24
The brand new virtual switch. We'll see how that how easy that is to d'oh.
00:30
You do need some information before we begin. We need to know the V Center server name in this case V. C s a
00:37
got via we're not local.
00:39
You need your
00:40
administrator name and password for the view center server.
00:45
We also need to have
00:48
a spare.
00:49
Uh,
00:50
virtual. I'm sorry. I spare physical network interface card
00:54
in order to attach that to the switch if we want to switch
00:58
to get onto the network directly
01:02
and then we need the administrator password for the virtual machine itself.
01:07
Okay,
01:08
so we'll start off by going to our home tab
01:12
clicking, hosting clusters. That's where we just were.
01:15
You remember
01:17
the shortcut control shift? H brings us right to
01:22
hosts and clusters.
01:26
Now, what we need to do is
01:27
go to the networking configuration,
01:33
so I will select my host
01:37
and I'll go to my configuration tab.
01:40
Networking just happens to be selected.
01:42
But if you remember, we looked at our processors, our memory, our storage.
01:46
So we'll go to networking.
01:48
We can see that we've got AVM, nickel zero. It's at gigabit full duplex,
01:55
and you'll notice that the diagram showing what the virtual switch looks like is actually very useful. You can see
02:01
that I've got four virtual machines connected to this
02:06
switch. I also have my VM Colonel Port,
02:09
which has my management network
02:12
and the 0.100 address for
02:15
the host that I'm selecting here.
02:20
Now. What I want to do is create a new switch.
02:23
So I'll go over here to add networking
02:30
and I'm creating a labeled network to handle virtual machine traffic. So the connection type is virtual machine. You're not creating a virtual machine. This menu is a little bit misleading. Unless you read it carefully.
02:43
You can also create of'em Colonel Port using this same wizard. But in this case, we're just gonna create
02:47
a standard virtual switch.
02:50
So I'll click next.
02:53
Now it knows that I have
02:55
VM Nick zero
02:58
already attached to the switch zero
03:00
so that one's de selected
03:02
VM Nick One is available
03:06
so it automatically select that for me.
03:07
Now, I can attach that to my switch, so that makes sure that truck boxes is chucked. They'll notice that it also gives you
03:16
a range of addresses that that it thinks this
03:21
this virtual Nick Sorry, this physical Nick
03:23
may use. It's connected to the same network as the other Nick. So the addresses should be more or less thing.
03:30
So I got that selected. Now I click next.
03:35
I can give this network a name.
03:38
Better idea to name your
03:40
your switches and your networks in your V M Colonel ports with something that's actually descriptive. Instead of just picking the default
03:49
settings,
03:52
we're not setting up a villain I d.
03:54
If you were you, you could type in that number there.
03:58
We're not gonna do that for now,
04:00
so we'll go ahead and click. Next.
04:01
I get a summary showing what that switch will look like
04:05
and I can click Finish
04:08
now let's which shows up.
04:10
You'll notice it shows the interface to speed,
04:13
and I can see that I've got a pork group
04:15
just like I do envy switch zero.
04:17
But in this case, the pork group doesn't have anything in it.
04:24
So now what I need to do is attach
04:26
my window seven virtual machine
04:29
to this particular pork group.
04:30
Very simple thing to do.
04:32
One of the ways we can do that is just right. Click go to edit settings
04:42
and select the network adapter
04:44
by default.
04:46
It was set for the VM Network Virtual Machine Pork Group, which we see here.
04:51
That was the only one that existed. So that was a default setting. Now I've got production as an option,
04:57
so I'll select production
05:00
and we can see that the network adapter in the edit Settings dialogue
05:04
shows that that setting has been change has been edited.
05:10
So click okay,
05:12
And now we should see Windows seven disappear from this port group
05:16
and move to the other pork group.
05:21
So you may be asking, Why would you want to do this? So there's several reasons one of the one of the biggest reasons
05:28
right off the top would be
05:30
that I want to segregate certain vm so that they run on their own
05:34
separate
05:35
network interface.
05:38
Even though I've got to gigabit interfaces.
05:41
If I if I got everything on all my V EMS residing on one switch that's using just one interface
05:47
that switch, maybe or that interface make it a little bit overloaded. So in order to spread the traffic out, Aiken
05:54
attach more physical adapters and
05:58
be able to
06:00
move the VM around to distribute them more evenly.
06:06
All right, so now we're going to make sure that that does switch from one
06:12
virtual switch to another did not affect of'em in any way.
06:15
So I will select Window seven right click open console.
06:28
So this is still logged in from my last session. So I want to do a couple things first. I want to verify that my
06:34
that I have an I p address.
06:36
So hold down the Windows key. Hit the letter R for run,
06:41
and I want a type C M d for my command prompt
06:44
and let's run I p. Config.
06:46
So my network is 100 to 1 61 68 I've been given an address of 2 41
06:53
That's through the D. H. C P server
06:56
that runs on my my local router.
06:59
It's not a static I p
07:00
not that that matters for most purposes, but in some environments
07:04
you don't want to use d HCP want everything to be static
07:09
so that all of your firewall rules will continue to work properly. And you don't have any
07:13
security issues with people getting an address on your network that are not authorized.
07:17
Okay, so I've got
07:19
an address. Looks like the gateway in the sub net Master. Also correct.
07:24
So let's try something else. Let's make sure we can get to the Internet.
07:28
Okay, so my default home page comes up
07:30
and tells me that researchers found a piece of Amelia Earhart's lost plane like an interesting story.
07:36
All right, Anyways, I've got Internet connect connectivity,
07:41
and now I've moved my VM from one switch to another on a different physical interface,
07:46
and that concludes lab fun.
Up Next