Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.
-
Upload
sophie-gardner -
Category
Documents
-
view
216 -
download
0
Transcript of Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.
![Page 1: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/1.jpg)
Computer Networks
Syed Md. Ashraful Karim
Lecturer, CSE
BU
![Page 2: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/2.jpg)
Are you able to describe this diagram?
![Page 3: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/3.jpg)
Physical & Logical Topologies
• Physical topologies – Define the actual layout of the wire (media)
• Logical topologies – Define how the media is accessed by the hosts
![Page 4: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/4.jpg)
Physical Topologies
Bus
Ring
Star
ExtendedStar
Hierarchical
Mesh
![Page 5: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/5.jpg)
Physical Topology: Bus
• Single backbone
• All hosts directly connected to backbone
• Each end of the bus must be properly terminated
![Page 6: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/6.jpg)
Physical Topology: Ring
• No backbone
• A host is directly connected to each of its neighbors
![Page 7: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/7.jpg)
Physical Topology: Star
• All devices connected to a central point
• Center of star is usually a hub or a switch
![Page 8: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/8.jpg)
Physical Topology: Extended Star
• Connects individual star topologies together.
• At the center of the star is a hub or a switch.
• Extends the length and size of the network.
![Page 9: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/9.jpg)
Physical Topology: Hierarchical
• Like the extended star except a computer controls traffic (not a hub or a switch).
![Page 10: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/10.jpg)
Physical Topology: Mesh
• Each host has its own connection to every other host.
• Used in situations where communication must not be interrupted.
![Page 11: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/11.jpg)
Logical Topologies
Broadcast
Token Passing
![Page 12: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/12.jpg)
Logical Topology: Broadcast
• Each host on the LAN sends its data (or broadcasts its data) to every other host.
• First-come, first-serve.
![Page 13: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/13.jpg)
Logical Topology: Token Passing
• Access to media is controlled by an electronic token.
• Possession of the token gives the host the right to pass data to its destination.
![Page 14: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/14.jpg)
Technologies
Ethernet
FDDI
Token Ring
![Page 15: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/15.jpg)
Technology: Token Ring
Token Ring
Token Passing
![Page 16: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/16.jpg)
Technology: FDDI
FDDI
Token Passing
![Page 17: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/17.jpg)
Technology: Ethernet
Ethernet
Broadcast
![Page 18: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/18.jpg)
Hosts
Computer Server
Printer
NICNIC
![Page 19: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/19.jpg)
LAN Media Symbols
TokenRing
FDDIRing
EthernetLine
SerialLine
![Page 20: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/20.jpg)
OSI Review: Layer 1
• Responsibility:– Transmission of an unstructured bit stream over
a physical link between end systems.
• Concerned:– Bits.– Electrical specifications.– Physical data rate.– Distances.– Physical connector.
![Page 21: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/21.jpg)
LAN Device: Transceiver
• Connect different media technologies.
• Layer 1 device.
UTP
BNC
AUI
![Page 22: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/22.jpg)
LAN Device: Repeater
• Regenerates and repeats the signal.
• Layer 1 device.
![Page 23: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/23.jpg)
LAN Device: Hub
• A multi-port repeater.
• Layer 1 device.
![Page 24: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/24.jpg)
OSI Review: Layer 2
• Responsibility:– Provides for the reliable transfer of data cross a
physical link.
• Concerned:– Frames.– Physical address (MAC): Flat.– Line discipline.– Error and flow control.– “Segment”.
![Page 25: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/25.jpg)
LAN Device: NIC
• Network interface of hosts.
• Build-in physical address.
• Layer 2 device.
![Page 26: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/26.jpg)
LAN Device: Bridge
• Keeps traffic local by filtering traffic based on physical addresses.
• Layer 2 device.
![Page 27: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/27.jpg)
LAN Device: Switch
• A multi-port bridge.
• Layer 2 device.
![Page 28: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/28.jpg)
OSI Review: Layer 3
• Responsibility:– Connection and path selection between two end
system across networks.
• Concerned:– Packets.– Logical address: Hierarchical.
• Networks and Hosts addressing.
– Route , Routing table, Routing protocol.– “Network”.
![Page 29: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/29.jpg)
LAN Device: Router
• Makes decisions based on network addresses (logical addresses).
• Layer 3 device.
![Page 30: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/30.jpg)
LAN Device: Router Functions• Path determination:
– The process of evaluating a packet’s destination IP address so that the router can decide which port to send out the packet.
• Packet switching:
– The router re-encapsulates the packet in the protocol needed for the specified port and then switches the packet out that port.
![Page 31: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/31.jpg)
LAN Device: Cloud
• Another network
• Include layer 1 – 7 devices
![Page 32: Computer Networks Syed Md. Ashraful Karim Lecturer, CSE BU.](https://reader036.fdocuments.in/reader036/viewer/2022062409/5697c00a1a28abf838cc7da8/html5/thumbnails/32.jpg)
Devices function at Layers