200-125 CCNA v3.0 | Day 4: Inter-Networking Devices | Free Cisco CCNA, NetworKing

Cisco certified network associate day 4.
Welcome back everybody, I’m Imran Rafai, your trainer for this entire series. Today we’re
going to learn about inter networking devices. Now when I say inter networking devices, we
would be looking at all the devices that is required for your CCNA syllabus. Of course
we have many more devices within Cisco, but for your examination perspective, we need
to discuss only these 3 devices that we’re going to discuss today. We will end today’s
video with the data transmission. We will see how data is transmitted through these
devices, right. And of course the videos are going to be very very interesting from now
onwards because we would be dealing with real time scenarios and we will be getting on to
doing hands-on Cisco devices, right. So, get excited guys, we are going to have fantastic
days ahead. Right, without wasting much time, let’s get straight into today’s video. The
first device I want to discuss today is the hub. Let me take a pen, right. Now, hub is
a device that all of you would have seen in your networking environment. Now, most of
the people call it a switch, I just don’t understand why people call it a switch. It
does look like a switch, it has many ports, that’s where the similarities end. A hub is
a non-intelligent device. Now I say non-intelligent because it does not have any intelligent features
in it. It doesn’t have a hardware CAM table or MAC table like a switch has. What basically
a hub does is it takes input from one of those ports and it copies that information and sends
out into all the ports. So it just acts like a repeater. It has only one collision domain.
A collision domain means if two devices connected to these of these ports and they are talking
to each other, if a third device tries to communicate, all the information, even the
communication happening between 1 and 2 is corrupt and all the devices will have to re-transmit.
Now, there is no way a hub can segregate these 2 communications. So, it has only 1 collision
domain. It also has only one broadcast domain. Now what is a broadcast domain. Broadcast
domain means when a broadcast message is received from one port, it will broadcast in all the
ports. Now broadcast literally means sending to all the devices, right. Now the problem
is if it’s like this, broadcast will not be much but if let’s say for instance broadcast
is non-stop somewhere, think about these billions and billions of devices that’s on the internet.
Now, if a broadcast happening on my computer is sent to all the computers in this world
and that happens to all the computers in this world whenever they do any broadcast, it comes
to me, think about what is going to happen to the network. It is going to be congested,
inefficient network. So as the network becomes big, the broadcast traffic will need to be
stopped. A hub cannot do that, a hub will take a broadcast traffic and it will just
copy it in all the ports. So, 3 things that you need to remember about a hub – it is
not an intelligent device, it has got only 1 collision domain and it has only 1 broadcast
domain. Next we will deal with a switch. Now before
we deal with a switch, in between a switch and a hub there is one more device called
a bridge. So, a bridge is slightly more intelligent than a hub but not as intelligent as a switch.
But if you’re just starting in your CCNA, there’s 99.99% chance that you will not even
see a bridge in your entire life. So don’t worry about bridge and I don’t see bridge
in your latest CCNA curriculum, so you should not really worry about this bridge. Now, switch
is an intelligent device, now I call it intelligent because it has something called ASIC which
is application specific integration circuitry. Now what it really means is it has the feature
of storing the MAC address information. Now each of these ports are connected to a device.
Now a switch within maybe 10 seconds of going up, it will learn all the MAC addresses connected
to it. Now how does that help? Now, if a device is trying to communicate with another device
on a specific MAC address, the switch can send that information only to that particular
destination without having to send out broadcasts in all the different, 24 ports of the switch.
Now that effectively breaks the collision domain. So unlike a hub in this case, every
port can have a communication with another port without colliding with the traffic going
from other ports. So literally a switch if it’s a 24-port switch, it has 24 collision
domains. That’s what a switch is. Now, typically assuming that VLAN is not configured, a switch
has 1 broadcast domain. That means any broadcast coming in from one interface, that broadcast
traffic will be sent to all the 23 ports. But that’s assuming VLAN is not configured.
Now, you might ask me what is a VLAN. But you don’t need to worry about VLAN for now,
we will be dealing with VLAN when we deal with switch in later part of this series.
But for now just assume that switch has only 1 broadcast domain. So what do you need to
remember about a switch is that it is intelligent, it has got something called the CAM table
and it has as many collision domains as the number of ports and it has 1 broadcast domain.
Right. Next we would be dealing with a router. Now,
router is an intelligent device. Now, router has many collision domains, again the number
of ports it has, it has so many collision domains, and it has many broadcast domains.
Now what does that mean? Let’s assume that a router receives a broadcast traffic from
one of it’s ports, what it does? It just drops it, it does not forward that to the other
ports. A router is the border device, now in one of our early video, when we spoke about
subnetting, we told that when a client gets a destination IP address, it compares with
itself. Now if the destination IP address is in a different network, it sends that packet
or information to the gateway, right? That’s what we learnt. Now your router is the gateway
in most of the cases. So, each interface of the router will be connected to a different
network. Compare this with a switch, each interface of the switch should be connected
to the same network. But in case of a router, each of these ports in the router will be
connected to different networks. Now what does that mean? We will see when we go in
the next slides, when we discuss the data flow, right. So a router is an intelligent
device, it has many collision domain and it has many broadcast domains. Right, let’s look
at data transmission. Lets assume this guy, OK let me just get a highlighter. Let’s assume IP address, let’s assume this computer wants to communicate with this computer,,
right. Now if you know the OSI model, we know there are 2 address concepts, we have the
IP address, layer 3 addresses and then we have the layer 2 addresses called as the MAC
address. Now data transmission in the local subnet or rather data transmission on Ethernet
happens only using MAC addresses, right. So, when IP address wants to communicate
with this computer with, the critical information they need is the MAC address.
But, this guy has only these 3 information. So it has the source IP address, which is
itself, it knows it has to go to, so it knows the destination IP address. It
knows itself, so it knows it’s MAC address, but it does not know the MAC address of the
destination device. What does it do? It uses a protocol called ARP, now what is an ARP.
ARP is address resolution protocol. What it does is, it sends the IP address with the
ARP request to the switch. Now switch, its a broadcast, ARP is a broadcast traffic. So
the switch takes that broadcast request and sends it out to all the ports. So switch gets
it here, it sends down that information to all the ports. Now ARP is like calling out
your friend’s name in a crowd, right. Let’s assume you’re in a party and you’re just calling
out your friends name, now everybody hears that but only your friend responds to that,
right. So similarly, when this information is received by everybody, everybody except
for this computer, computer, everybody else just drops that packet. But this guy,
what it does is it says “Ah this is an ARP for me. Whoever sent this to me needs my MAC
address”. So it puts it’s MAC address in that and sends a reply. Now the switch gets
it’s MAC addresses reply and it knows that this ARP came from, so it sends
that reply back to He gets that information, he says “Fantastic!”. He
now has all the information he needs to send the packet. So he’s got the destination IP
address, source IP addresses, source MAC addresses, destination MAC addresses. Now it creates
a packet with this information and gives it to the switch. Now, switch look at the layer
2 information because switch works at layer 2. Switch can only look at layer 2 information,
so it looks at the layer 2 information and says “OK it has to go the destination MAC
address of 2222. Now like I said, a switch has intelligence. Now, what is the intelligence
mean? Intelligent meant that in the 20 seconds after the switch has come up, the switch would’ve
learnt all the MAC addresses, so it would’ve learnt which port which MAC address is in.
So now the switch knows that the MAC address 2.2.2 is connected to this port so the switch
forwards that packet only in this port and this computer receives that packet. So the
minute it receives that packet, it strips the layer 2 information and looks at layer
3 information and it realizes that the packet was designed to him and he accepts that packet
and the transmission is complete. Now this is a local transmission. Let’s look at what
happens if it has to go out of the network. If the destination IP address is not in the
same network. All right, in this case, will look at a scenario where the IP
addresses wants to communicate with Now in both these cases, we’re assuming 1
thing which I forgot to tell the in last slide, that the subnet mask is /24. So it’s a
right. So, now this guy wants to communicate with In this slide we will not be
looking at ARP. ARP works exactly how it worked the previous time. So when this computer looks
at the destination IP addresses, it realizes that is not part of network
so it’s not in this network. So if the destination IP addresses is not in the same network, it
has to forward that packet to the gateway, right? So if it’s a windows computer, when
we configure the IP addresses, we also configure the default gateway, right? So it knows that
the default gateway is Now, if it knows the MAC addresses, it creates the
packet but if it doesn’t know the MAC addresses, the same ARP request is sent again and it’s
sent to everybody. This router will respond with it’s MAC address which is AAAA and
the nit will create the packet. So we will not go through that because I’m assuming
that since we did it in the last slide, I’m assuming that you know the working of an ARP,
right. So let’s assume all that is done so it knows the MAC addresses, destination MAC
addresses. So it sends that packet to the switch. Now switch knows where AAA is so it
sends out that packet to the router. Now the router gets that information, now router as
you know works on layer 3, right. So the minute it gets that packet, it strips down layer
2, it looks at layer 3. Now it sees that layer 3 destination IP addresses is But
it looks at both it’s interfaces and sees that OK is not connected to himself,
then it looks at the routing table. Now we have not done routing so far so we don’t know
how routing works, but just to understand how routing works. Routing is where devices
communicate with each other, now in this case, this router, since he’s connected to the
network, he would’ve told him that if you get any packet for, please forward
it to me. Using that information, this router would’ve updated it’s routing table, right?
Don’t worry too much if you don’t understand the routing concepts because we will be dealing
in-depth in routing and routing protocols and all those things in the next video or
in the next subsequent videos. But for now just know that this router knows that
route is through this router. So, it needs to send that packet to this router. So what
it does, it updates the source information, the source MAC addresses is himself and the
destination MAC addresses is this router. Now that packet comes to this router and this
router takes that again, strips the layer 2 information, looks at the layer 3 information.
Destination IP addresses is and this router looks at itself and it sees that
network is directly connected to it. So what it does, it updates the layer 2 information
that is the source MAC addresses is DDD and the destination MAC addresses is 444. Remember,
it has 2 MAC address, the source MAC addresses is the port through which it is sending the
data, it is not the receiving. So in this case normally that’s how you get confused.
Each of these ports have it’s own MAC addresses, the source MAC addresses would be of the port
through which it goes out, right. So in this case, this information is updated and this
packet reaches the file server, the file server strips out the layer 2 information, looks
at layer 3 information, it sees “Ah, that is addressed to me” and it receives the
data, it goes to layer 4,5,6,7, reconstructs the data and it gets back the original message.
Now this is how data transmission happens over a network. So, these are the 3 critical
devices that you need as a CCNA and I hope you understood whatever we discussed today.
Now you know the drill, if you do have any questions regarding today’s video, please
feel free to write to me at [email protected] or you could also leave comments below this
video section on YouTube and I will try to answer it as soon as possible. Thank you so
much, keep watching and happy learning, bye-bye.

100 Replies to “200-125 CCNA v3.0 | Day 4: Inter-Networking Devices | Free Cisco CCNA, NetworKing

  1. I'm gonna ask you like I ask others. I'm aware that this is a male dominant field, but INSTEAD of "guys" you should use Ladies and Gentlemen INSTEAD. I'm a Woman…Not a Guy..It's very disturbing, however NOT discouraging to read in ALL of my Cisco material a reference to "he"…."his"..????? Yes "guys" are dominant However …..We Are Here!!!..and actually BETTER!!…Every woman in this field is far more PASSIONATE (since men like to play the women emotional card,guess what comes with it PASSION and DEDICATION)

  2. great job Imran..keep giving us good videos it was fruitfull…thanks a lot you explanation is so detailed and easy to understand,your all video is fantastic and i enjoyed a lot..it was helpful to me and hope so for other viewers also.

  3. Dear Imran
    Your default gateway in your example for router is not correct. Its assigned a Broadcast IP address

  4. hey imran, your videos are perhaps the most convincing videos ever! thankyou for making me understand complex stuff with ease! youre amazing keep the good work up!

  5. http://aqlearningcenter.blogspot.com/2017/11/cisco-switch-useful-commands-list.html

    check this link for informative CLI commands and their troubleshooting tricks

  6. One question, on minute 11:48 you stated that the subnet mask is /24. Having said that for the left network (10.1.1.*/24), the network ID will be and broadcast ID will be which is the same IP as the Gateway (the router Same goes to the other network (30.1.1.*/24). Is that on purpose? I thought that the gateway should have an IP address within the HostMin and HostMax IP ranges.

  7. It wasn't until the very end while supernetting that the octet binary structure and place values made total sense. It made sense before with subnetting, but not 100%. It also clicked how to derive numbers from binary and the utilization of place value Vs what each bit represents. Thank you so much, I'll be watching all of these and study for my ccna.

  8. I’m confused at how you said that the switch will only send broadcast to the port it’s attempting to communicate with but then you said it will send broadcast to all of the ports.

  9. what will be there in ARP request, how will be the receiver computer nows thats the ARP request is for that computer, when many computer are exist in the network….??

  10. 1)my faculty said routers  are layer 3 devices in  which  they communicate through ip address, but u mentioned communication done through mac address……..??
    2) I have never seen gateways ie how they looks like…..Does routers acts likes a gateways ,are does gateways are physically exist

  11. If .10 got the ip address of .11 from the routing table of the router (layer3), isn’t it automatically assumed that .10 got the mac address .11 from the router as well; since the router contains mac addresses of the computers when assigning IPs…??

  12. kuch nahi samjha is video. Kahi se kuch connection nahi lag raha hai. After the 1st 5 awesome video of this series , this video was huge disappointment , total bouncer. Hoping further videos of this series will easy to catch.

  13. If in the HUB only two devices can communicate with each other & joining of even one more corrupts everything ,then y the fuck they provide so many slots for multiple device connections ???

  14. and what is this CAM table u mentioned at 5:57 ? when did u mention it earlier ? why this lecture of urs is so dis organised ?

  15. I like how the number of views plummets with each new video. It's like they lost interest and dropped off. We started out with 2,000,000 with the first video.

  16. I have a confusion . How's it showing 2 Mac addresses. I mean u told that each port has it's own MAC address then what is the another one???

  17. Nubie is asking here:
    1. When switch is turned on, isn't it automatically collecting MAC addr of devices connected to it? So why does switch still has to send down ARP to all devices in order to get its MAC addr? I think when is trying to find's MAC addr through switch, the switch should automatically recognize the device's destination MAC addr and immediately replied back to
    2. Could someone please explain the task / function / purpose of & Since I only see 2 routers with 2 IP numbers for each router but you didn't mention &

    Thanks and sorry for such stupid question

  18. You are really king of networking 👍🏻👍🏻👏👏. Awesome explanation👏👏👏👏

  19. the volume in this video is distorded. I think high decibel setting in video editting soft. can you maybe fix this. it would be better for understanding.

  20. Is these video tutorial good enough to prepare for job interviews or do I have to go through other materials too.. please let me know

  21. After watching this video, does this mean that whenever you talked about devices sharing information over a LAN or over the internet in the past videos, that they always used ARP requests and MAC addresses to communicate? In the previous videos before I learned about ARP and MAC addresses, I was thinking that only IP addresses were used to communicate with a computer that could be on the other side of the world, or in a local network. I'm confused on when MAC addresses and ARP requests are needed.

  22. IP address which you provided to the router is incorrect as this IP address is Broadcast IP address if you use /24 mask. But its a common mistake and we should ignore it, however all the CCNA series is awesome and interesting. Thank You 🙂

  23. This video and this series are still valid. If anything changes, we will update this series accordingly. All the best.

    #FreeCCNA #CiscoCCNA #ImranRafai

  24. Instead of the switch in the network,is it possible to use a router that could send the data within the same network??

  25. I have been studying cert 111 in Information, Digital Media and Technology and will be going onto cert 1v and diploma, I feel like the more I am studying the less I am able to keep in my head, I do Cisco and Windows and I keep forgetting what happens in each layer, its so frustrating cause it feels like im the only one having trouble getting it to sink in. Any tips to get all this to stick?

  26. Anyone who didn't realize that routers ip end with .255 are wrong must watch day 3 (am) video.
    Thanks for this great video … I am just finished Fast track CCNA training. This video helped me so much to understand ARP and basic routing.

    I'm 39yo … and I'm preparing my self to get CCNA Certificate. Is it too late? I don't think so …

    Thanks again Mr. Imran.

  27. Sir I have 2 questions in this vedio.
    1. If IP address is so it's subnet mask should be /8 for class A.but you told it's subnet mask is /24
    2.and if source computer will send information packet to switch so will it send to all computers connected to that?? . Bcz you said switch has only 1 broadcast domain.

  28. What would happen to the packet from the computer if the link between the routers are and

  29. Very usefull Iram, I remembered 5 years ago when i was figthing to learn IP adress( Coming from Geology). I am happy today after all theses courses. I can speak with my head on my shoulder today. thank you again.

  30. Router's ip is set to 30.1 1.255, is it not broadcast ip? No restriction on using broadcast IP on routers interfaces?broadcasts happen only in the same network?

  31. When the switch got mac table, why the arp has to go to the destination machine to revert with mac id?

  32. Sir I want to join ccna course n learn networking I have completed BE in computer science, which institute I shud join pls suggest me

  33. Dear Imran, as per my understanding IP address is used for end-to-end data delivery and MAC address is used for immediate next hop data delivery. In this tutorial you said that host sends ARP request through switch and upon receiving MAC of host it add the destination MAC address in its frame. But in reality the frame sent by has the destination MAC address of switch port to which host is connected and switch in turns modify the frame send by with the source MAC address of its port connected to and destination MAC address as that of So practically host does not need MAC address of but only needs its IP address. Please do correct me if I am wrong.

  34. Does thr ARP request happens everytime a packet is sent or just the first time in order to maintain the MAC table?

  35. Thank you sir a lot, i've been banging my head on the book for some time now and still couldn't undertand some of the things explained, you have a very good way of communicating.

  36. How did the first router come to know that is directly connected with the second router?

  37. Hi sir, I have a doubt here, router will be knowing the up address (receiving port ip address) how it will be knowing ip address

  38. Dear sir,
    I think, it's a class A ip address and it subnet mask would be instead of at the point 11:50sec
    Please kindly clear.

  39. In a 10 seconds of up time, switch learns all MAC addresses of devices connected to its ports. Why not also learn respective IP addresses? I do understand that IPs could change later in devices. But for beginning it would be a better networking speed. What is your opinion?

  40. Since routers work in OSI L3, why SM and DM keep updated/changing all the way till reaching final host destination?

Leave a Reply

Your email address will not be published. Required fields are marked *