0% found this document useful (0 votes)
4 views

Overview of computer networks

The document outlines key concepts in network topologies and protocol architectures, including data flow directions (simplex, half duplex, full duplex) and various network topologies (star, bus, ring). It categorizes networks by scale, from Personal Area Networks (PAN) to Wide Area Networks (WAN), and discusses the Internet Protocol Suite and OSI Model layers. Additionally, it highlights the roles of different layers in data communication, including application, transport, network, data link, and physical layers.

Uploaded by

amanuelfbefike
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Overview of computer networks

The document outlines key concepts in network topologies and protocol architectures, including data flow directions (simplex, half duplex, full duplex) and various network topologies (star, bus, ring). It categorizes networks by scale, from Personal Area Networks (PAN) to Wide Area Networks (WAN), and discusses the Internet Protocol Suite and OSI Model layers. Additionally, it highlights the roles of different layers in data communication, including application, transport, network, data link, and physical layers.

Uploaded by

amanuelfbefike
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 42

•Network Topologies and

Protocol Architectures

1
Lecture outline

• Direction of data flow


• Network Topologies
• Network Categories
• Protocol Architectures

2
Simplified Data
Communications Model
The source wishes to send a message m to the destination.

3
1.1 Direction of Data Flow
• Simplex: One direction only

data flow

Server Monitor

• Half Duplex: Both directions, one at a time

E.g., walkie-talkies
4
Direction of Data Flow
• Full Duplex: Both directions simultaneously

data flow

data flow

—E.g., telephone

• Can be emulated on a single communication link


using various methods

5
1.2 Network Topology
• Network Topology signifies the way in which
intelligent devices in the network see their
logical relations to one another.

• Topology: logical arrangement of devices


—Star
—Bus
—Ring
—Mesh

6
1.2.1 Star Topology
• All the cables run from the computers to the central
location, connected by a device called hub or switch.
• Each computer on a star network communicates with a
central device that resends the message either to each
computer or only to the destination computer.
A D

• If a hub is used, the data


will be sent to all. Hub Drop
• If it is a switch the data will send to
only destination computer

B C
Drop
7
Star Topology
• Pros:
—One I/O port per device
—It is easy to modify and add
new computers without disturbing
the rest of the network. Hub

• Cons:
—Single point of failure, if the central device fails, the
whole network fails to operate.
—expensive because all network cables must be pulled 8
to one central point, requires more cable
1.2.2 Bus Topology

• It is often used when network installation is small, simple or


temporary.
• No active electronics to amplify the signal or pass it along the
network.

• When 1 computer sends a signal up the wire all the


computers receive the information but only one with the
address that matches accepts the information, the rest
disregard the message.
9
Bus Topology
• Pros:
—Little cabling. It is therefore less expensive
—Easy to install, easy to extend a bus; two cables can
be joined with a BNC, Barrel connector and allowing
more computers to join the network.

• Cons:
—Difficult to isolate fault
—Break in the bus cable stops all transmission

10
1.2.3 Ring Topology
• In this type each computer is connected to the next
computer with the last one connected to the first.
• Each retransmits what it receives from the previous
computer. The message flows around the ring in one
direction.

• Pros:
— Easy to identify fault

• Disadvantages:
— Delay in large ring
— Break in the ring stops all transmission
1.3 Network Categories
Types of networks
Below is a list of the most common types of
computer networks in order of scale.

—Personal Area Network (PAN)


—Local Area Network (LAN)
—Metropolitan Area Network (MAN)
—Wide Area Network (WAN)

12
1.3.1 Personal Area Network
(PAN)
• A personal area network (PAN) is a computer network
used for communication among computer devices close
to one person.
• Some examples of devices that may be used in a PAN
are printers, fax machines, telephones, PDA’s or
scanners.
• The reach of a PAN is approximately 6-9 meters.
• PAN may be wired with computer buses such as USB
and a wireless personal area network (WPAN) can also
be made possible with Bluetooth.

13
1.3.2 Local Area Networks
• Network in a single office, building, or campus

14
1.3.3 Metropolitan Area
Networks
• Network extended over an entire city
• A network that connects two or more Local Area
Networks together but does not extend beyond the
boundaries of the immediate town

15
1.3.4 Wide Area Networks
• Network providing long-distance communication over a
country, a continent, or the whole world. (i.e. one city to
another and one country to another country)

16
Internetworks
• Two or more networks connected become an
internetwork, or internet

Network1 Network2

Gateway

Network3
• Example: The Internet

Devices communicating with TCP/IP protocol suite


17
1.4 Protocols and
Architectures

18
Layered Tasks
 Computer networks are complex systems
 Tasks involve varieties of hardware and
software components, and protocols

 Networking task is divided into several


subtasks, or layers

19
Real World Example
 Communication between managers of two
companies

Communicate

20
What Actually Happens
 Communication takes place thru many layers
Logical communication

Secretary:
Secretary: reads and reports
types a letter the message

Delivery boy: Delivery boy:


drops the letter takes the letter

Postal truck

Post office:
Processes and routes the letter

21
Internet Layer Model
 The Internet Protocol Stack
User
Application Layer Software

Transport Layer
Network Layer
Data Link Layer
Physical Layer Hardware

Transmission
Medium
24
Application Layer
Responsible for providing services to the user
 The only layer to interact with user

Data Data
Logical communication

Application SMTP HTTP FTP SMTP HTTP FTP


Layer
Data H5 Data H5

to Transport from Transport

25
Transport Layer
Responsible for delivery of a message
from one process to another

 Duties/services
 Port addressing
 Segmentation and reassembly
 Connection control
 Flow control (end-to-end)
 Error control (end-to-end)

26
Transport Layer
Process Process … Process Process …

PORT # PORT #

Data Data

Transport Data1 H4 Data2 H4 Data3 H4 Data1 H4 Data2 H4 Data3 H4


Layer (segments)

to Network from Network

27
Network Layer
Responsible for the delivery of packets
from the original source to the destination

 Duties/services
 Logical addressing
 Routing

28
Network Layer
from Transport to Transport

Data Data

Network Data H3 Data H3


Layer (packet)

to Data Link from Data Link

29
Network Layer
Data 1.1 5.7
1.1, 1.2, 6.1, 5.7, ... are logical addresses
1.1 1.2
Network 1

R1
6.1
Network 6

6.6 6.3
R3
R2 5.2
Router
3.3
Network 5
5.7
Network 3
3.8

30
Data Link Layer
Responsible for transmitting frames
from one node to the next

 Duties/services
 Framing
 Physical addressing
 Flow control (hop-to-hop)
 Error control (hop-to-hop)
 Access control

31
Data Link Layer
from Network to Network

Data Data

Data Link T2 Data H2 T2 Data H2


Layer (frame)

to Physical from Physical

32
Data Link Layer
A3, 3B, 82, 9F, ... are physical addresses

Data
9F 3B 82 A3

T2 Data 9F A3
H2

33
Data Link Layer
Data 1.1 5.7

1.1 1.2
97 32 Network 1
Data 1.1 5.7 97 25 25
R1
6.1
79 Data 1.1 5.7 79 62 Network 6

6.6 6.3 62
12
R3
R2 5.2
54
88
3.3
Data 1.1 5.7 54 74
Network 5
5.7
Network 3 74
3.8

34
Physical Layer
Responsible for transmitting individual bits
from one node to the next

 Duties/services
 Physical characteristics of interfaces
and media
 Representation of bits
 Data rate (transmission rate)
 Synchronization of bits

35
Physical Layer
from Data Link to Data Link

Data Data

Physical 01001011 01001011


Layer (bits)

Transmission medium

36
The Big Picture

L5 data H5 5 5 L5 data H5

L4 data H4 4 4 L4 data H4

L3 data H3 3 3 L3 data H3

T2 L2 data H2 2 2 T2 L2 data H2

0111011010101001010101001 1 1 0111010101010010101010101

Transmission medium

37
Internet Model

sender router
router receiver

Application Application
Transport Transport
Network Network Network Network
Data Link D.L. D.L. D.L. D.L. Data Link
Physical P.L. P.L. P.L. P.L. Physical

Transmission medium
38
Internet Model

39
Protocol Suites
 A set of protocols must be constructed
 to ensure that the resulting communication
system is complete and efficient
 Each protocol should handle a part of
communication not handled by other
protocols
 How can we guarantee that protocols
work well together?
 Instead of creating each protocol in isolation,
protocols are designed in complete,
cooperative sets called suites or families 40 40
Internet Protocol Suite

Layer Protocols
Application HTTP, FTP, Telnet, SMTP, ...
Transport TCP, UDP, SCTP, ...
Network IP (IPv4), IPv6, ICMP, IGMP, ...
Data Link Ethernet, Wi-Fi, PPP, ...
Physical RS-232, DSL, 10Base-T, ...

41
OSI Model
User  OSI – Open Systems
7.Application Layer Interconnection
6.Presentation Layer  Developed by the International
Standards Organizations (ISO)
5.Session Layer
4.Transport Layer
3.Network Layer  Two additional layers
2.Data Link Layer  Presentation layer
1.Physical Layer  Session layer

Transmission
Medium

42
Session Layer
Responsible for establishing, managing and
terminating connections between applications

 Duties/services
 Interaction management
 Simplex, half-duplex, full-duplex
 Session recovery

43
Presentation Layer
Responsible for handling differences in
data representation to applications

 Duties/services
 Data translation
 Encryption
 Decryption
 Compression

44

You might also like