Virtual Switches

Video Activity

Virtual Switches This lesson covers virtual switches. Virtual switches allow us to have the same environment in a virtual environment that we would if we were using a physical switch and allow computers to communicate with more ease than if they were using an actual physical switch. These switches also allow us to set up virtual local area networks...

Join over 3 million cybersecurity professionals advancing their career
Sign up with
or

Already have an account? Sign In »

Time
31 hours 29 minutes
Difficulty
Beginner
CEU/CPE
30
Video Description

Virtual Switches This lesson covers virtual switches. Virtual switches allow us to have the same environment in a virtual environment that we would if we were using a physical switch and allow computers to communicate with more ease than if they were using an actual physical switch. These switches also allow us to set up virtual local area networks (VLANS) while using a single Network Interface Card (NIC).

Video Transcription
00:04
So our first device that we want to talk about are going to be Our virtual switch is now our virtual switches air going to allow us to have the same functionality on a virtual environment as we would using a physical switch. Now, why do we need a virtual switch? Why don't we just connect our server to a physical switch and use it that way? Well, our virtual switch may allow are different,
00:24
uh,
00:25
virtual computers inside of our single physical computer to communicate with each other as if they were communicating through a switch rather than having to go out to a physical switch and communicate back or having to be all be on the same sub net or all beyond the same virtual land. Now we can set up these virtual switch is just
00:44
so they have. So they have the same connective iti as if they were a physical switch.
00:49
They can communicate with each other over layer to they can communicate within the same broadcast domain. And we can also use these virtual switches to set up V lance now RV lanes that we've talked about before our virtual lands allow us to segment up our network. So if we're using a single, very heavy duty physical server in order to
01:07
set up multiple virtual servers within it,
01:10
then we may need to set up a virtual land within that virtual server. Are within that physical server for those virtual servers because we don't necessarily want all of those virtualized devices to be on the same network.
01:23
And this also allows us to utilize a single network interface card as a trunk port rather than having to have multiple network interface cards with our multiple virtual lands and then utilizing those network interface cards. So let's take a look at how this works together.
01:38
So in our virtualized environment, we have our single virtual. We have our single physical server here.
01:44
Now our physical server has its own I P addresses, and it's on, and it's on a particular sub nets on a particular vote virtual land. But we aren't really going to compete. We're going to really think too much about this physical server right now. What we're focused on are these virtualized servers within our single physical server.
02:02
These may be certain these maybe servers that provide data they may have
02:07
folders on them are shared folders on them or they may be providing Different service is like D H cp or they may be provided providing D N s. It really doesn't matter. But what we have in the middle here is going to be our virtual switch.
02:23
Now we have our different computers and our servers color coded, so we can get a better idea how this is all working together.
02:30
Now we have our red devices. Here are two servers and our physical client computer that are all on the 1 92.1 68 dot to dot X. That's gonna be our red devices.
02:49
And then we have our blue devices here.
02:52
They're all on our 1 92.1 68.1 dot exe
02:59
network
03:00
or be land. Rather
03:01
Now,
03:02
if we just had our single network interface card, it would be a little bit difficult for these devices to be separated out into different V lands because that single network interface card is going to send out those packets to a single port on our on our physical switch.
03:17
So we need something inside of our server, our physical server. We need a virtual lives component
03:23
in order to identify which the land those packets air coming from. Now we do have our different devices segmented into different sub nets. So it would be we would be able to use a single network interface card either way. But we're going to go ahead and identify those on V. Lanza's well in order to better
03:43
segment our network.
03:46
Now we have a virtual switch here, which is going to connect to all of our different devices
03:51
virtually via its standard access ports. So we would set this up and have our virtualized switch here,
03:58
and then we would configure it to talk out over our network interface card using a trunk port. Now we've talked about trunk ports earlier trunk ports, essentially what they do before they send out packets. Over that connection, they tag, which the land that these particular packets air from
04:16
So before it's sent a packet, say, if
04:20
our server here 1 92.1 68 dot to 68.0.3 we need to communicate with our red client over here 1 92.1 68 dot to 68.0.7
04:30
are switched before it's sent that packet out over the trunk port would tag that packet and say, OK, this packet is on the red V land,
04:39
so it would tag that packet and then it would send it out over the Trump Port. It allows communication between two different switches, which manage the lands, because over a single port, rather than having to have a different set up or not, be able to communicate between these two switches.
04:57
Now we have our physical switch
05:00
outside of our single physical server. This is our physical switch, and then we have our virtual switch, and our physical switch is actually going to receive that information over the cable that's plugged into it from the server and then identify those packets unidentified, which the land that they're on.
05:16
So we'll get those the packet over our trunk port, and then it'll say, OK, this is for the Red Be land. So I'm gonna send this out on the Red V land, and it's directed toward 1 92.1 68 dot to 68.0.7,
05:29
and it'll send it on down
05:31
the same exact scenario in reverse. If we have one of our clients, say 1 92 don't want 68 that 1.7
05:38
trying to communicate, communicate down and over to our servers over the trunk. Port will also take those packets and they'll tag them, and then we'll go ahead and pass them on.
05:48
So, for example, if we have one of these servers will say 1 92 that 1 68 that 1.3
05:58
performs D h cp. This particular port on this switch
06:03
is identified as being the Blue V Land.
06:06
So this port on the switch knows that it's already the blue Vineland because this computer won't have an I p address yet. So we can't
06:15
segment RV lands based on I p address. Because this computer isn't have an I P address yet. So we have to segment RV lands based on pork.
06:23
So this computer connects into our network, and we want it to be on the blue V land. So we plug it into our blue veal and pork
06:30
sends out a D H cp request, which is a broadcast request
06:35
over our switch.
06:38
There are network interface card over our trunk port. Into our virtual switch
06:44
are virtual switch. We have set up that our computer that is virtually connected here, and our computer that is virtually connected here are both on the Blue villain. So go ahead and past that. It'll pass that D H Cp Discover message
06:57
onto one only through that 1 68 out 1.3 in 1 92.1 68.1 dot four
07:03
1 92.1 68 1.4 does not perform the HCP
07:09
1 90 through that 1 68 that 1.3 does so then it'll communicate back with our our non i p address computer here. Give it to offer it a D H cp or it'll offer it a Give it a d h e p offer offered an I P address. Our computer will accept it, and then it will assign it
07:28
1 92.1
07:30
68.1 dot seven. That's the function of our virtual switches. That's how our virtual switches compare to our physical switches and how we can use our virtual switches to allow us to do things such a setup billions and use a single network interface card on our server as a trunk port
Up Next
CompTIA Network+

This CompTIA Network+ certification training provides you with the knowledge to begin a career in network administration. This online course teaches the skills needed to create, configure, manage, and troubleshoot wireless and wired networks.

Instructed By