1
00:00:06,480 --> 00:00:08,010
- [Instructor] A virtual LAN

2
00:00:08,010 --> 00:00:13,010
or VLAN is implemented primarily
to segment the network,

3
00:00:13,920 --> 00:00:18,180
but it can also be used
to reduce data collisions,

4
00:00:18,180 --> 00:00:23,180
organize the network, and
potentially boost performance,

5
00:00:23,310 --> 00:00:26,310
and possibly increase security.

6
00:00:26,310 --> 00:00:30,300
A device such as a switch
as we're showing here,

7
00:00:30,300 --> 00:00:31,980
a VLAN switch,

8
00:00:31,980 --> 00:00:36,390
will often control that
virtual local area network.

9
00:00:36,390 --> 00:00:39,810
A VLAN compartmentalizes the network,

10
00:00:39,810 --> 00:00:42,033
and it can isolate traffic.

11
00:00:42,960 --> 00:00:46,170
VLANs can be set up in a physical manner.

12
00:00:46,170 --> 00:00:50,700
An example of this would
be the port based VLAN

13
00:00:50,700 --> 00:00:54,300
where switch ports are
grouped and configured

14
00:00:54,300 --> 00:00:57,660
to act as individual VLANs.

15
00:00:57,660 --> 00:01:01,770
To do this, you would
need a managed switch.

16
00:01:01,770 --> 00:01:06,770
One that you can log into
and configure for VLAN use.

17
00:01:07,410 --> 00:01:09,150
And that's what we have here.

18
00:01:09,150 --> 00:01:14,150
We have a switch that has
connections to other switches.

19
00:01:14,880 --> 00:01:18,000
You know, you could call this
guy here a master switch,

20
00:01:18,000 --> 00:01:21,480
and he's got connections
for all these other switches

21
00:01:21,480 --> 00:01:25,170
which each go to different
areas of the building.

22
00:01:25,170 --> 00:01:28,500
Like the staff area, the
library, classroom three,

23
00:01:28,500 --> 00:01:30,483
classroom two, classroom one.

24
00:01:31,770 --> 00:01:34,170
So you can divide this
up in a physical way,

25
00:01:34,170 --> 00:01:36,153
a port based VLAN.

26
00:01:37,050 --> 00:01:40,500
There are also logical types of VLANs

27
00:01:40,500 --> 00:01:44,143
such as protocol based VLANs.

28
00:01:44,143 --> 00:01:45,630
A VLAN can be set up

29
00:01:45,630 --> 00:01:48,930
in such a way where each VLAN is

30
00:01:48,930 --> 00:01:51,363
on a different IP network.

31
00:01:52,290 --> 00:01:53,640
Like the example we're showing here

32
00:01:53,640 --> 00:01:58,640
we have classroom one on 192.168.1.0,

33
00:01:58,860 --> 00:02:02,370
classroom two is on 192.168.2,

34
00:02:02,370 --> 00:02:03,990
classroom three on .3,

35
00:02:03,990 --> 00:02:05,520
library on .4,

36
00:02:05,520 --> 00:02:08,733
and staff on 192.168.100.

37
00:02:11,040 --> 00:02:15,420
So as you can see here we
have five VLANs each connected

38
00:02:15,420 --> 00:02:16,860
to their own switches,

39
00:02:16,860 --> 00:02:19,923
and those are connected
to the master switch.

40
00:02:21,270 --> 00:02:25,950
So this could be a great way
to compartmentalize computers,

41
00:02:25,950 --> 00:02:29,463
printers, and other multifunction devices.

42
00:02:30,600 --> 00:02:31,433
In addition

43
00:02:31,433 --> 00:02:36,060
to doing port based physical
VLAN configuration here,

44
00:02:36,060 --> 00:02:39,360
we're also using IP networks.

45
00:02:39,360 --> 00:02:40,440
Or you could take it

46
00:02:40,440 --> 00:02:45,303
to the next level and
incorporate IP subnetting.

47
00:02:46,267 --> 00:02:51,267
IP subnetting is when you
divide the network into two

48
00:02:51,330 --> 00:02:54,180
or more sub networks

49
00:02:54,180 --> 00:02:58,290
by changing the subnet mask that is used.

50
00:02:58,290 --> 00:03:00,840
For example, you might be using something

51
00:03:00,840 --> 00:03:05,840
like 255.255.0.0.

52
00:03:06,750 --> 00:03:11,547
You could change that
to say 255.255.240.0.

53
00:03:15,390 --> 00:03:18,360
We're changing that third octet to 240,

54
00:03:18,360 --> 00:03:21,420
effectively taking our one IP network

55
00:03:21,420 --> 00:03:24,723
and dividing it into 16 sub networks.

56
00:03:26,370 --> 00:03:31,340
Some administrators prefer
IP subnetting over VLANs,

57
00:03:32,850 --> 00:03:34,920
and some use them together.

58
00:03:34,920 --> 00:03:35,940
For example, a group

59
00:03:35,940 --> 00:03:38,760
of physical port based
VLANs like we have here,

60
00:03:38,760 --> 00:03:43,080
each of which is on a
different IP sub network.

61
00:03:43,080 --> 00:03:46,650
Here we have them on separate IP networks.

62
00:03:46,650 --> 00:03:49,620
So it all depends on your environments.

63
00:03:49,620 --> 00:03:52,890
Let's show a switch that
has VLAN capability.

64
00:03:52,890 --> 00:03:54,810
And again, you need to make sure

65
00:03:54,810 --> 00:03:57,840
that you're working with a managed switch.

66
00:03:57,840 --> 00:04:00,330
So this is a Cisco SG200.

67
00:04:00,330 --> 00:04:03,360
And if we go to VLAN
management here and look

68
00:04:03,360 --> 00:04:05,970
at default VLAN settings,

69
00:04:05,970 --> 00:04:08,520
there's only one network right now.

70
00:04:08,520 --> 00:04:10,890
All the ports are part of one network.

71
00:04:10,890 --> 00:04:13,860
It's just one VLAN known as number one.

72
00:04:13,860 --> 00:04:16,690
But we could create
additional VLANs from here

73
00:04:18,330 --> 00:04:21,420
and add on additional VLANs.

74
00:04:21,420 --> 00:04:23,820
We could call them two and three and four

75
00:04:23,820 --> 00:04:25,293
or give them a range.

76
00:04:26,640 --> 00:04:31,500
And then we could change
the interface settings

77
00:04:31,500 --> 00:04:35,190
and specify which ports will go

78
00:04:35,190 --> 00:04:39,000
to which VLANs.

79
00:04:39,000 --> 00:04:41,130
And we could edit those ports

80
00:04:41,130 --> 00:04:43,750
and specify where
they're actually going to

81
00:04:44,887 --> 00:04:46,020
and do it by the port.

82
00:04:46,020 --> 00:04:49,650
So you don't really need to
know how to create VLANs,

83
00:04:49,650 --> 00:04:52,650
but the idea is you can
separate it by the port,

84
00:04:52,650 --> 00:04:54,990
the physical ports on the switch.

85
00:04:54,990 --> 00:04:58,890
And so this is known as a
port based VLAN for the A plus

86
00:04:58,890 --> 00:05:01,410
you don't really need to
know how to create these,

87
00:05:01,410 --> 00:05:04,530
but you should know what
it is, how they function.

88
00:05:04,530 --> 00:05:07,470
And that SG200 switch,

89
00:05:07,470 --> 00:05:11,370
there's emulators, an emulator
on Cisco's site for that

90
00:05:11,370 --> 00:05:12,770
if you wanna work with that.

91
00:05:13,710 --> 00:05:14,543
Okay. So a little bit

92
00:05:14,543 --> 00:05:18,783
about virtual local area
networks also known as VLANs.
