SlideShare a Scribd company logo
Computer Network
Subrata Paul
Roll : 13015411
DEPT. of CSE
University of Rajshahi
x
Context:
 What is switch ?
 Working of switch.
 Characteristics of switch.
 Some manufacturer of networking switch
 What is Hub.
 Characteristics of Hub.
 Working of Hub.
 Comparison of switch and hub
What is switch ?
A network switch is a computer networking device that is
used to connect multiple computer together within on local
area network(LAN). In other words, it is capable to
determine specific source and destination.
Technically, network switch operate at layer two (Data link
layer) of the OSI model. The network switch commonly refers
to routes data at the data link layer of the OSI model.
Working of Switch
Switch is an interconnecting device with 16 or 24 ports
in common. All other devices are connected to these ports .
Whenever any machine sends packet to any other machine,
source machine send packet to switch, switch then forwards
it to destination machine. Each packet which comes to
switch contains source and destination physical address in
it, on basis of which switch forwards packet to other
machine. Switch always sent packet based on destination
MAC address. Its process is as follows: (process also
known as Switching)
Working of Switch (continue..)
 When switch receives a packet from any device, it checks for its
destination MAC address.
 Then switch compares destination MAC address with its MAC
Address Table for corresponding MAC address.
o If MAC Address is found, packet is sent out to port against which
MAC Address was matched.
 If entry is not found, Unknown unicasts (when the switch doesn't have a
port mapping for a destination mac address in the frame) are treated like
broadcasts by Layer Two devices, and are flooded out of all ports except
the port on which the frame originated.
Working of Switch (continue..)
Now question comes, how does switch knows on which port
destination machine is connected?
For this switch uses one table in its cache memory called MAC
Address table or Forwarding Table in which switch stores that at
which port which machine is connected by storing its physical
address (MAC Address). So table contains two columns (Physical
Address and Port Number) and rows equal to number of ports in
switch. When switch is turned ON, by default there is no entry in
MAC address table, as communication starts, based on devices
involved entries are created in table
Characteristics of switch
 Uses MAC address for data transfer.
 Filter data before forwarding it to its destination of on the
network.
 Connect LAN segments.
 Multiple collision domain but single broadcast domain.
 Layer 2 (data link) device.
 Data transfer to specific port.
 Transmission mode are full duplex.
 No collision occur in in full duplex.
 Data transmission form are frame.
Different type of switch
Some manufacturer name of switch
 D-Link
 Billion Electronic
 ECI Telecom
 Cisco Systems
 Juniper network
 Oracle corporation
What is hub ?
Hub is the most basic networking device that
connects multiple computers or other network
devices together. a network hub has no routing
tables or intelligence on where to send information
and broadcasts all network data across each
connection.
Characteristics of Hub
 Hub propagate signals through the network.
 It cannot determine the best path.
 It cannot filter network traffic.
 Layer 1(physical layer) device.
 Centralize device.
 Connect multiple Ethernet device together.
Working of Hub
When a packet arrive at one port from a source it is copied to
the other ports so that all segments of LAN can see all packet
and hub forward the segments to all connected devices then
accept this segment only expected destination other device
discard this segment.
Working of Hub(continue…)
Working of Hub(continue…)
This simulation illustrates the basic operation of a hub.
Computer 1 sends a ping message to Computer 3. when the ping
reaches the hub, it doesn’t see the actual data
In the message. It only sees bit signals, cleans them up and
Sends them out all connected ports.
When Computer 2 and 4 receive the bits signals they reassemble
them into frame, check the destination address
And discard the frame because it is not addressed to them.
Computer 3 receives the frame successfully and sends a
Reply.
.
Working of Hub(continue…)
Once the reply sends the hub, the hub again forwards the bit
Signals out all connected ports, Computer 2 & 4 discard the
Fram.e Computer 1 successfully receive the ping reply
Comparison of switch and
hub
Suppose, we have four computer, four computer are
connected to a hub, now two computer of them
communicate with each other, hub simply pass the
message through all network traffic to each of four
Computer, where a computer receive this message.
On the other hand, switches are capable of determining
the destination of each individual traffic element and
selectively forwarding data to the one computer that
actually need it.

More Related Content

PPTX
Network protocol
PPT
Virtualization in cloud computing ppt
PPTX
Mobile Computing (Part-1)
PPTX
PPTX
Internet Protocols
PPTX
MANET in Mobile Computing
PPT
Basics of Networks ,Advantages and Disadvantages
PPTX
Computer network
Network protocol
Virtualization in cloud computing ppt
Mobile Computing (Part-1)
Internet Protocols
MANET in Mobile Computing
Basics of Networks ,Advantages and Disadvantages
Computer network

What's hot (20)

PPTX
Computer Networks - PPT
PDF
Assignment 1,computer networks-317
PPT
Input output in linux
PPTX
IP addressing seminar ppt
PPT
Knapsack problem using fixed tuple
PPT
Computer network
PPTX
Peer to peer
PPTX
Introduction to computer network
PPTX
Computer system bus
PPTX
PPTX
Computer communication
PPT
Mobile Communication Broadcast System Jochen Schiller
PPT
Basic concepts of computer Networking
PPTX
Underlying principles of parallel and distributed computing
PPT
(Ftp) file transfer protocol
PPT
Communications is distributed systems
PPTX
Router configuration
PPTX
Network topology.ppt
PPT
PPTX
VANET in Mobile Computing
Computer Networks - PPT
Assignment 1,computer networks-317
Input output in linux
IP addressing seminar ppt
Knapsack problem using fixed tuple
Computer network
Peer to peer
Introduction to computer network
Computer system bus
Computer communication
Mobile Communication Broadcast System Jochen Schiller
Basic concepts of computer Networking
Underlying principles of parallel and distributed computing
(Ftp) file transfer protocol
Communications is distributed systems
Router configuration
Network topology.ppt
VANET in Mobile Computing
Ad

Similar to Computer network (20)

PPTX
Network hardware essentials Lec#3
PPTX
Layer 2 switching
PDF
Hubs and switches connect computers to create a LAN.HubA Hub co.pdf
PPTX
Networkswitch
PPTX
Network switch
PPTX
Network switch and switching Jenil patel semcom college
DOCX
Hub vs-switch
DOCX
Different of network devices
PPT
Lecture 07
PPTX
Network devices
PPT
Lecture 07
PPTX
Switches on Networking
PDF
What are switches in a network 2.pdf
PPT
Networking Devices
DOCX
Network switches, functions & role in networks
PPT
Practical_4_cse307_ppt.ppt
PDF
4. Hubs vs. Switches vs. Router_Networks v1.11 – Aaron Balchunas
PPTX
networking devices -161021181705452555
PPTX
Networking devices
PDF
1834902595 md. jiarul islam(1st note cn)
Network hardware essentials Lec#3
Layer 2 switching
Hubs and switches connect computers to create a LAN.HubA Hub co.pdf
Networkswitch
Network switch
Network switch and switching Jenil patel semcom college
Hub vs-switch
Different of network devices
Lecture 07
Network devices
Lecture 07
Switches on Networking
What are switches in a network 2.pdf
Networking Devices
Network switches, functions & role in networks
Practical_4_cse307_ppt.ppt
4. Hubs vs. Switches vs. Router_Networks v1.11 – Aaron Balchunas
networking devices -161021181705452555
Networking devices
1834902595 md. jiarul islam(1st note cn)
Ad

More from Subrata Kumer Paul (20)

PPT
Chapter 9. Classification Advanced Methods.ppt
PPT
Chapter 13. Trends and Research Frontiers in Data Mining.ppt
PPT
Chapter 8. Classification Basic Concepts.ppt
PPT
Chapter 2. Know Your Data.ppt
PPT
Chapter 12. Outlier Detection.ppt
PPT
Chapter 7. Advanced Frequent Pattern Mining.ppt
PPT
Chapter 11. Cluster Analysis Advanced Methods.ppt
PPT
Chapter 10. Cluster Analysis Basic Concepts and Methods.ppt
PPT
Chapter 6. Mining Frequent Patterns, Associations and Correlations Basic Conc...
PPT
Chapter 5. Data Cube Technology.ppt
PPT
Chapter 3. Data Preprocessing.ppt
PPT
Chapter 4. Data Warehousing and On-Line Analytical Processing.ppt
PPT
Chapter 1. Introduction.ppt
PPTX
Data Mining Lecture_8(a).pptx
PPTX
Data Mining Lecture_13.pptx
PPTX
Data Mining Lecture_9.pptx
PPTX
Data Mining Lecture_7.pptx
PPTX
Data Mining Lecture_10(b).pptx
PPTX
Data Mining Lecture_8(b).pptx
PPTX
Data Mining Lecture_6.pptx
Chapter 9. Classification Advanced Methods.ppt
Chapter 13. Trends and Research Frontiers in Data Mining.ppt
Chapter 8. Classification Basic Concepts.ppt
Chapter 2. Know Your Data.ppt
Chapter 12. Outlier Detection.ppt
Chapter 7. Advanced Frequent Pattern Mining.ppt
Chapter 11. Cluster Analysis Advanced Methods.ppt
Chapter 10. Cluster Analysis Basic Concepts and Methods.ppt
Chapter 6. Mining Frequent Patterns, Associations and Correlations Basic Conc...
Chapter 5. Data Cube Technology.ppt
Chapter 3. Data Preprocessing.ppt
Chapter 4. Data Warehousing and On-Line Analytical Processing.ppt
Chapter 1. Introduction.ppt
Data Mining Lecture_8(a).pptx
Data Mining Lecture_13.pptx
Data Mining Lecture_9.pptx
Data Mining Lecture_7.pptx
Data Mining Lecture_10(b).pptx
Data Mining Lecture_8(b).pptx
Data Mining Lecture_6.pptx

Recently uploaded (20)

PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Construction Project Organization Group 2.pptx
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Structs to JSON How Go Powers REST APIs.pdf
PDF
composite construction of structures.pdf
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PPTX
Lesson 3_Tessellation.pptx finite Mathematics
PPTX
Unit 5 BSP.pptxytrrftyyydfyujfttyczcgvcd
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
Digital Logic Computer Design lecture notes
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPT
Drone Technology Electronics components_1
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Construction Project Organization Group 2.pptx
Operating System & Kernel Study Guide-1 - converted.pdf
Structs to JSON How Go Powers REST APIs.pdf
composite construction of structures.pdf
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
UNIT-1 - COAL BASED THERMAL POWER PLANTS
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Arduino robotics embedded978-1-4302-3184-4.pdf
Lesson 3_Tessellation.pptx finite Mathematics
Unit 5 BSP.pptxytrrftyyydfyujfttyczcgvcd
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Foundation to blockchain - A guide to Blockchain Tech
Digital Logic Computer Design lecture notes
Model Code of Practice - Construction Work - 21102022 .pdf
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
CYBER-CRIMES AND SECURITY A guide to understanding
Drone Technology Electronics components_1

Computer network

  • 1. Computer Network Subrata Paul Roll : 13015411 DEPT. of CSE University of Rajshahi
  • 2. x
  • 3. Context:  What is switch ?  Working of switch.  Characteristics of switch.  Some manufacturer of networking switch  What is Hub.  Characteristics of Hub.  Working of Hub.  Comparison of switch and hub
  • 4. What is switch ? A network switch is a computer networking device that is used to connect multiple computer together within on local area network(LAN). In other words, it is capable to determine specific source and destination. Technically, network switch operate at layer two (Data link layer) of the OSI model. The network switch commonly refers to routes data at the data link layer of the OSI model.
  • 5. Working of Switch Switch is an interconnecting device with 16 or 24 ports in common. All other devices are connected to these ports . Whenever any machine sends packet to any other machine, source machine send packet to switch, switch then forwards it to destination machine. Each packet which comes to switch contains source and destination physical address in it, on basis of which switch forwards packet to other machine. Switch always sent packet based on destination MAC address. Its process is as follows: (process also known as Switching)
  • 6. Working of Switch (continue..)  When switch receives a packet from any device, it checks for its destination MAC address.  Then switch compares destination MAC address with its MAC Address Table for corresponding MAC address. o If MAC Address is found, packet is sent out to port against which MAC Address was matched.  If entry is not found, Unknown unicasts (when the switch doesn't have a port mapping for a destination mac address in the frame) are treated like broadcasts by Layer Two devices, and are flooded out of all ports except the port on which the frame originated.
  • 7. Working of Switch (continue..) Now question comes, how does switch knows on which port destination machine is connected? For this switch uses one table in its cache memory called MAC Address table or Forwarding Table in which switch stores that at which port which machine is connected by storing its physical address (MAC Address). So table contains two columns (Physical Address and Port Number) and rows equal to number of ports in switch. When switch is turned ON, by default there is no entry in MAC address table, as communication starts, based on devices involved entries are created in table
  • 8. Characteristics of switch  Uses MAC address for data transfer.  Filter data before forwarding it to its destination of on the network.  Connect LAN segments.  Multiple collision domain but single broadcast domain.  Layer 2 (data link) device.  Data transfer to specific port.  Transmission mode are full duplex.  No collision occur in in full duplex.  Data transmission form are frame.
  • 10. Some manufacturer name of switch  D-Link  Billion Electronic  ECI Telecom  Cisco Systems  Juniper network  Oracle corporation
  • 11. What is hub ? Hub is the most basic networking device that connects multiple computers or other network devices together. a network hub has no routing tables or intelligence on where to send information and broadcasts all network data across each connection.
  • 12. Characteristics of Hub  Hub propagate signals through the network.  It cannot determine the best path.  It cannot filter network traffic.  Layer 1(physical layer) device.  Centralize device.  Connect multiple Ethernet device together.
  • 13. Working of Hub When a packet arrive at one port from a source it is copied to the other ports so that all segments of LAN can see all packet and hub forward the segments to all connected devices then accept this segment only expected destination other device discard this segment.
  • 15. Working of Hub(continue…) This simulation illustrates the basic operation of a hub. Computer 1 sends a ping message to Computer 3. when the ping reaches the hub, it doesn’t see the actual data In the message. It only sees bit signals, cleans them up and Sends them out all connected ports. When Computer 2 and 4 receive the bits signals they reassemble them into frame, check the destination address And discard the frame because it is not addressed to them. Computer 3 receives the frame successfully and sends a Reply. .
  • 16. Working of Hub(continue…) Once the reply sends the hub, the hub again forwards the bit Signals out all connected ports, Computer 2 & 4 discard the Fram.e Computer 1 successfully receive the ping reply
  • 17. Comparison of switch and hub Suppose, we have four computer, four computer are connected to a hub, now two computer of them communicate with each other, hub simply pass the message through all network traffic to each of four Computer, where a computer receive this message. On the other hand, switches are capable of determining the destination of each individual traffic element and selectively forwarding data to the one computer that actually need it.