In the previous video, we already build two topology like this. 2
So here we have room number 1 which using the first block subnet, and we also have room 3
number 2 which using second block subnet. 4
Now in this video, we are going to learn how to connecting this two rooms. 5
To connecting different block subnet like this, we will need a router. 6
Okay let’s just start. 7
Let’s import a router to our topology, go to network devices, and here we have router. 8
In this case, I will use router 2811. 9
Next let’s connecting this two switch to the router. 10
Actually, each interface in the router or switch must be have a name. 11
In the real device, we will see the name of the interface in the top of interface. 12
Let’s say fa0/1, fa0/2 and others. 13
In the cisco packet tracer, by default the name of the interface is not shown like this. 14
To show the name of the interface, we can go to cisco packet tracer and then preference. 15
Remember that if you use windows, the preference menu is under edit. 16
Next here we can mark “Always show port labels in logical workspace”. 17
Okay now we can see here that each interface have a name. 18
So the router interface that connected to switch 1 is fa0/0, and interface that connected 19
to the switch 2 is fa0/1. 20
Okay next we need to configure so all pc in the room number 1 can communicate with all 21
pc in the room number 2. 22
To do that we need to configure ip address on the router. 23
We will use first block subnet in fa0/0, why? 24
Because fa0/0 is connected to the room number 1 and room number 1 is using first block subnet. 25
And then we will configure fa0/1 with second block subnet. 26
In this case, I will use the last ip address of first block subnet for fa0/0, which is 27
30, remember that 31 Is broadcast address, so we can not use 31. 28
Okay let’s open the router, go to config menu, and here we can see fa0/0. 29
Here we need to change the interface status to on. 30
If you see here, the color of interface is red, but after we change the status to on, 31
the color now is green. 32
Next let’s configure the ip address, here we will use the last address from first block 33
subnet, which is 10.10.10.30, and then the subnetmask is 255.255.255.224. 34
Okay we have done for fa0/0, now let’s move to fa0/1. 35
Here we will use the ip address from second block subnet, in this case we will also use 36
the last address. 37
Which is 62, remember that we can not use 63, because this is broadcast address. 38
Okay here let’s change the status of interface to on. 39
And then configure the ip address, 10.10.10.62 and the subnetmask is 255.255.255.224. 40
Okay now we have done configuring the ip address of the router. 41
Next we need to configure default gateway on all pc. The gateway will be the ip address 42
of router. 43
For all pc in the room number 1, the gateway will be the ip address of fa0/0, which is 44
10.10.10.30, and the gateway for all pc in the room number 2 will be the ip address of 45
fa0/1, which is 10.10.10.62. 46
Let’s configure gateway for all pc in the room number 1 first. 47
The gateway is 10.10.10.30 48
Okay we have done configuring gateway on all pc in the room number 1, now let’s configure 49
the gateway on all pc in the room number 2, the gateway is 10.10.10.62. 50
Okay we have done. 51
Finally let’s test connection between room number 1 to room number 2, let’s test from 52
pc 4 to pc 5. 53
The first test usually failed like this. 54
Let’s try again, okay here we can see that ping from pc 4 to pc 5 is successful, 55
this is mean that connection between room number 1 and number 2 is ok! 56
To make sure, let’s try again from pc 2 to pc 6. 57
Okay the first test is failed, let’s try again. 58
Here we can see that success. 59
Okay let’s just test again from room number 1 to room number 2. 60
Okay here we can see that this is also success. 61
So now we are successfully connecting room number 1 with room number 2 using a router. 62
I hope you understand about how switch and router work. 63
The summary is, switch is used to connecting many pc that in the same block subnet, 64
and router is used to connecting many pc that in the different block subnet. 65
Okay I think enough for this video 66
Thankyou for watching and see you on the next video!