In the previous video, we already learn about vlan. 2
Next in this video we are going to learn about trunk. 3
So what is trunk? 4
We will about learn trunk by doing, but before that, we need to create another topology first. 5
Here let’s add one more switch, and then add some pc, 6
let’s say here we will need 4 pc. 7
But here I just add 2 new pc, and bring this 2 pc here. 8
Let’s also change the name of the PC. Here the last is pc 4, so this is pc 5, pc 6, pc 7, 9
and this is pc 8. 10
Okay now here we will configure this new switch exactly same with the old switch. 11
So here we will configure pc 5 and pc 6 to vlan 10, and pc 7 and pc 8 to vlan 20. 12
Before configure the vlan, let’s change the name of the switch first, this is switch 1 13
and this is switch 2. 14
Now let’s configure the vlan in switch 2. 15
Here we can see fa0/1 and fa0/2, so this two interface will be in the vlan 10. 16
And here we have fa0/3 and fa0/4, this two interface will be in the vlan 20. 17
Okay let’s start. 18
Enable, configure terminal, and then create the vlan. 19
Vlan 10, the name is accounting, next let’s create for vlan 20. 20
Vlan 20, and then the name is marketing. 21
Let’s see the vlan, show vlan brief. 22
Okay here we can see that we have vlan 10 and vlan 20, 23
but all of interface is still in vlan 1. 24
Next, let’s assign interface fa0/1 and fa0/2 to vlan 10. 25
Interface range fa0/1-2 . In the previous video, I show you how to assign interface 26
to vlan one by one. 27
So we go to interface fa0/1, assign the interface to vlan 10, then go to interface fa0/2 and 28
assign the interface again to vlan 10. 29
But now, here I show you how to assign multiple interface to a vlan at once, 30
here we can use range. 31
So interface range fa0/1-2, then switchport mode access, 32
and finally switchport access vlan 10. 33
This is means that we assign interface fa0/1 and fa0/2 to vlan 10. 34
Now let’s verify it. 35
Here we can see that now interface fa0/1 and fa0/2 is already in the vlan 10. 36
Next let’s assign the interface for vlan 20. 37
Interface range fa0/3-4, switchport mode access, and then switchport access vlan 20. 38
Let’s verify it. 39
Okay here we can see that interface fa0/3 and fa0/4 is already in the vlan 20. 40
Next let’s configure the ip address of all pc. In this case, we will configure the ip 41
address of all vlan with same block subnet. 42
But always remember that in the production, each vlan must be use different block subnet. 43
Here I use same block subnet for all vlan just for learning. 44
Okay here pc 5 the ip address is 192.168.1.5, 45
pc 6 the ip address is 192.168.1.6, pc 7 the ip address is 192.168.1.7 and last pc 8 the ip address 46
is 192.168.1.8. 47
Okay now we have done. 48
For the testing, let’s send packet between pc in the same vlan. 49
Okay here success. 50
So between pc in the vlan 10 is ok. 51
Next let’s test for vlan 20. 52
Okay here also success. 53
Okay I think enough for this video, in the next video, we are going to learn about trunk. 54
Thankyou for watching and see you on the next video.