In the previous video we already learn about the concept of block subnet. 2
Next in this video, we are going to learn about networking devices. 3
In the computer network, we will need some device to build a computer network it self. 4
The main devices that we need to build a computer network is switch and router. 5
Actually there are many other devices that we will need in computer network, like firewall, 6
access point, wirelss controller, and others. 7
But in this course, we will learn about this two first, which is switch and router. 8
Switch is used to connecting many computer that is in the same block subnet. 9
And router is used to connecting many computer that is in the different block subnet. 10
If you remember in the previous video, I show you that if 2 pc in the different block subnet, 11
that 2 pc can not communicate each others. 12
So here if here we have 2 pc, the ip address of pc 1 is 10.10.10.10/27, and the ip address 13
of pc 2 is 10.10.10.60. 14
Here we can see that pc 1 is in the first block subnet. 15
And pc 2 is in the second block subnet. 16
In this case, pc 1 can not communicate with pc 2. 17
But if the ip address of pc 2 also in the first block subnet, let’s say 20, this two pc 18
will able to communicate each others. 19
Okay, now let’s learn more about switch. 20
Remember that switch is used to connecting many pc that is in the same block subnet. 21
In the previous case, we only have 2 pc, but how if we also have pc 3 and pc 4, 22
how if we have 100 pc? 23
This is why we need a switch. 24
So here we can put a switch, and then all of computer can connect to the switch. 25
How many computer can connect to the switch? 26
This is based on the port in the switch, some switch have 24 port, and some other switch 27
have 48 port. 28
All of this pc that connected to the same switch, must be in the same block subnet, 29
so all of pc can communicate each others. 30
Let’s say we use ip address 10.10.10.x, the x will be replaced for each computer. 31
Let’s say for pc 1 the ip address is 10.10.10.2, pc 2 10.10.10.3, pc 3 10.10.10.4, pc 4 10.10.10.5, 32
and let’s say here we use ip address 10.10.10.50. 33
In this case, pc 1 until pc 4 will able to communicate each others. 34
But pc 5 can not communicate with pc 1 until pc 4. 35
Why? 36
Because pc 1 until pc 4 is in the same block subnet, which is first block subnet. 37
But pc 5 is in the different block subnet, which is second block subnet. 38
Okay, so that is the function of switch, which is connecting many computer that in the same 39
block subnet. 40
Now let’s learn about router, router is used to connecting many pc in the different 41
block subnet. 42
Now let’s change this first, let’s say we will use 10, and here let’s say we will 43
use 20 and 25. 44
Okay so all of this pc is in the first block subnet. 45
Let’s say this is room number 1, now let’s draw for room number 2. 46
Here we also have a switch and have some pc that connected to the switch. 47
For all pc in the room number 2, we will use second block subnet. 48
Here we use 10.10.10.35, remember that 35 is in the second block subnet. 49
And here we use 40, 41, 42,43, and let’s say 50. 50
Here all pc in the room number 1 will be able to communicate each others, and all pc in 51
the room number 2 will also able to communicate each others. 52
But the question is, how to communicate with different room? 53
Let’ say we want to communicate between pc in the room 1 and room 2. 54
To do this, we will need a router. 55
Okay so here I draw a router. 56
And we need to connecting switch in the room number 1 to the router, also switch in the 57
room number 2 to the router. 58
Okay, now all pc in the room number 1 will able to communicate with all pc in the room 59
number 2. 60
The summary is that switch is used to connecting many pc in the same block subnet, 61
while router is used to connecting many pc in the different block subnet. 62
I think enough for this video, I hope you now understand the function of switch and 63
router. 64
In the next video we are going to practice about switch and router in cisco packet tracer. 65
Thankyou for watching and see you on the next video!