CH 2 Network Models2
CH 2 Network Models2
Network Models
2.1
Part 1
Introduction to Computer
Networks
2.2
What is a Computer Network?
Definition:
• A computer network is a collection of
1.3
Purpose of Computer Networks
Resource Sharing: Allows multiple devices to share
resources such as files, printers, and internet
connections, reducing costs and increasing efficiency.
Communication: Facilitates communication through
email, instant messaging, and video conferencing,
enhancing collaboration and information sharing.
Data Transfer: Enables the rapid transfer and access of
data across different locations, supporting real-time
operations and decision-making.
1.4
Key Network Elements
Devices: Computers, Servers, Printers, Smartphones:
End devices that use the network to communicate.
Transmission Media: Wired (Ethernet cables) and
Wireless (Wi-Fi): Means through which data travels
within the network.
Network Interfaces: Network Interface Cards (NICs):
Hardware that connects a device to the network.
Networking Hardware: Routers, Switches, Hubs:
Devices that manage data traffic and ensure efficient
data transmission.
5
Key Network Elements
6
Network Types (Size)
1. PAN (Personal Area Network): Covers a very small area,
like Bluetooth connections between devices.
2. LAN (Local Area Network): Covers a small area, such as a
single building or campus, managed by one
organization.
3. WAN (Wide Area Network): Spans large geographical
areas, connecting remote locations using public or
private telecommunications.
4. Internet: Global network connecting millions of
computers, providing access to vast information and
services.
1.7
Personal Area Network
2.8
LAN Local Area Network
Campus Area Network (CAN)
2.10
WAN Wide Area Network
2.11
Internet: Inter-Network
2.12
Computer Network Topologies
1. Bus Topology: All devices share a single communication
line or bus.
2. Star Topology: All devices are connected to a central hub
or switch.
3. Ring Topology: Devices are connected in a circular loop,
data travels in one direction.
4. Mesh Topology: Devices are interconnected, each having a
direct link to every other device.
5. Tree Topology: Hierarchical structure with a root node and
branching nodes.
6. Hybrid Topology: Combination of two or more different
topologies.
13
Bus Topology: All devices share a
single communication line or bus.
14
Star Topology: All devices are
connected to a central hub or
switch.
15
Ring Topology: Devices are connected
in a circular loop, data travels in one
direction.
16
Mesh Topology: Devices are
interconnected, each having a direct
link to every other device
17
Tree Topology: Hierarchical structure
with a root node and branching nodes.
18
Hybrid Topology: Combination of two
or more different topologies.
19
Network Models
2.20
Network Models: Introduction
A Network Model is a structured framework
that defines the functions and standards for
communication between devices in a network.
It organizes these functions into distinct layers,
each responsible for specific tasks, allowing
diverse hardware and software systems to
interact seamlessly.
2.21
Concept of layers
2.22
Example of a Layered System: Tasks involved in sending a letter
2.23
Two Major Layered System in the Internet
2.24
OSI model
1. Framework: The OSI model standardizes
network functions into seven layers.
2. Interoperability: Ensures different devices and
protocols communicate seamlessly.
3. Guidance: Helps in developing and
understanding network protocols.
2.25
Seven layers of the OSI model
2.26
The interaction between layers in the OSI model
2.27
Data exchange using the OSI model
2.28
Transfer of Data from source to
Destination
2.29
The interaction between layers in the OSI model
2.30
Application layer
2.31
Presentation layer
2.32
Session layer
2.34
Transport layer: end to end
Starts dividing message
into chuncks (Segments)
2.35
Network layer
2.36
Network Layer: Source-to-destination delivery
2.37
Hop-to-hop delivery : Data link layer
2.38
Data link layer
The data link layer is responsible for moving frames from one hop
(Switch) to the next, frames (group of bits), using MAC addresses
2.39
Physical layer
2.40
Summary of layers
2.41
TCP/IP Model
2.42
From OSI to TCP/IP model
2.43
Concept of Layering: Web Access
URL: www.ietf.org
2.44
TCP/IP Reference Model
3. Network Layer IP
2.45
2-5 ADDRESSING
• Physical Adresses
• Logical Adresses
• Port Addresses
• Specific Addresses
2.46
Relationship of layers and addresses in TCP/IP
2.47
Physical addresses
2.51
Port number
2.53
Physical vs. Logical Addresses
Physical Address: Also known as a MAC
(Media Access Control) address, this is a
hardware address assigned to network
interfaces for communication on the
physical network. It is unique to each
network interface and is used at the data
link layer (Layer 2) of the OSI model.
Example: 00:1A:2B:3C:4D:5E
Logical Address: This is an IP (Internet
Protocol) address assigned to devices on a
network to uniquely identify them within
an internetwork. It is used at the network 2.
54
Port Address vs. Specific Addrees
1. Port Address: Ports are used to differentiate
between different services or processes
running on the same device. In TCP/IP,
ports are used at the transport layer (Layer
4) to direct incoming data to the correct
application. Example: 80 for HTTP, 443 for
HTTPS.
2. Specific Address: This could refer to any
additional address used for specific
purposes, which may vary depending on
the context. For example, in the context of
web browsing, this could be the URL of a 2.
website, or the email address 55