Lecture 2 Computer Networks
Lecture 2 Computer Networks
Prepared By
Dr. Ibrahim Attiya
© 2023 NMU
Ch.1: Outline
❑ Data Communications
❑ Networks
❑ Network Topology
❑ Network Types
❑ Protocol Layering
❑ TCP/IP Protocol Suite
❑ The OSI Model
❑ Internet History
Switching
➢ In fact, an internet is a switched network in
which a switch connects at least two links
together.
➢ A switch needs to forward data from a link to
another link when required.
➢ The two most common types of switched
networks are:
▪ Circuit-switched networks.
▪ Packet-switched networks.
Circuit-Switched Network
➢ In a circuit-switched network, a dedicated
connection, called a circuit, is always available
between the two end systems; the switch can
only make it active or inactive.
Circuit-Switched Network
➢ In the previous figure, the four telephones at
each side are connected to a switch.
➢ The switch connects a telephone set at one side
to a telephone set at the other side.
➢ The thick line connecting two switches is a
high-capacity communication line that can
handle four voice communications at the same
time; the capacity can be shared between all
pairs of telephone sets.
Circuit-Switched Network
➢ Each link in the following figure has four circuits,
for each link used by the end-to-end connection,
the connection gets one fourth of the link’s total
transmission capacity for the duration of the
connection.
➢ If each link between adjacent
switches has a transmission
rate of 1 Mbps, then each
end-to-end circuit-switch
connection gets 250 kbps of
dedicated transmission rate.
Packet-Switched Network
➢ In a computer network, the communication
between the two ends is done in blocks of data
called packets.
➢ Instead of the continuous communication we
see between two telephone sets when they are
being used, we see the exchange of individual
data packets between the two computers.
➢ This allows us to make the switches function for
both storing and forwarding because a packet is
an independent entity that can be stored and
sent later.
Packet-Switched Network