Professional Documents
Culture Documents
Networks
Dr. Mohamed Saad
Department of Computer Engineering
University of Sharjah
msaad@sharjah.ac.ae
Chapter 1: Introduction
M. Saad
Introduction
• Computers:
– Previously: centralized, large computers, serving many users
(mainframe).
– Now: computers are more powerful and much smaller (Moore’s law:
# of transistors on an IC doubles every 18 months at same cost per
IC, or cost per transistor on an IC reduces by a factor of 2 every 18
months).
Introduction (contd.)
• Communications:
– Handling data, voice and video, from analog to digital.
– High speed communication links (optical fibers), wireless
communications (modulation, detection, estimation)
Computer Networks
Server
Network
• In the above example, servers may store S/W (programs, files, records)
or may be connected to H/W (printers, scanners, CD burners) that can
be used by all clients on the network (client-server model).
Applications (contd.)
Network Hardware
• Broadcast networks:
– Have a single communication channel that is shared by all the machines on the
network.
– Example topologies: bus - ring.
Computer
Cable Computer
(a) (b)
• Point-to-point networks:
– Consists of many point-to-point links that connect individual pairs of machines.
– Not every pair of machines is necessarily connected by a point-to-point link.
– To go from the source to the destination, a “message” may need to visit one or
more intermediate machines.
Router Subnet
Sending host Receiving host
B D
A E
C
Packet Router C makes a
Sending process Receiving process
choice to forward
packets to E and
not to D
Computer
Cable Computer
(a) (b)
LAN Examples
Transceiver
Interface
cable
Ether
Junction
box
Antenna
Head end
Internet
WANs (contd.)
Internetworks
Switching
• Packet switching:
– communication “messages” are divided into smaller units (called packets)
– packets are transmitted individually along (possibly) different routes in the network
(no dedicated/reserved paths)
– when a packet arrives at a switching element, it is stored then forwarded along a
certain route.
– subnets using packet switching are called store-and-forward subnets.
Switching (contd.)
Router Subnet
Sending host Receiving host
B D
A E
C
Packet Router C makes a
Sending process Receiving process
choice to forward
packets to E and
not to D
Network Software
Host 1 Host 2
Layer 5 protocol
Layer 5 Layer 5
Physical medium
Layer
Example
Layer 5 protocol
5 M M
Layer 4 protocol
4 H4 M H4 M
Layer 3
protocol
3 H3 H4 M1 H3 M2 H3 H4 M1 H3 M2
Layer 2
protocol
2 H2 H3 H4 M1 T2 H2 H3 M2 T2 H2 H3 H4 M1 T2 H2 H3 M2 T2
Layer
Example
Layer 5 protocol
5 M M
Layer 4 protocol
4 H4 M H4 M
Layer 3
protocol
3 H3 H4 M1 H3 M2 H3 H4 M1 H3 M2
Layer 2
protocol
2 H2 H3 H4 M1 T2 H2 H3 M2 T2 H2 H3 H4 M1 T2 H2 H3 M2 T2
• Layer 3 decides the outgoing link for each packet and passes the packets to layer 2.
• Layer 2 adds a header and a trailer to each packet and gives the resulting unit to layer
1 for physical transmission.
• At the receiving machine, the message moves upwards from layer to layer with headers
(and trailers) stripped off as it progresses.
• Connection-oriented service:
– service user (1) establishes a connection, (2) uses the connection then (3) releases
the connection (similar to telephone system).
– Negotiation between sender and receiver may be required before connection
establishment.
– Usually messages/packets arrive in order.
• Connectionless service:
– each mesage/packet carries full destination address information and is routed through
the network independent of all others.
– Messages/packets may arrive out of order.
Interface
Presentation protocol
6 Presentation Presentation PPDU
Session protocol
5 Session Session SPDU
Transport protocol
4 Transport Transport TPDU
Communication subnet boundary
Internal subnet protocol
3 Network Network Network Network Packet
• Open Systems Interconnections (OSI) model developed by the International Standards Organization (ISO)
Physical Layer
Network Layer
Transport Layer
Session Layer
Presentation Layer
Application Layer
• Connection-less
• Internet layer defines the packet format, and a protocol called the Internet
Protocol (IP).
• Internet layer is very similar to the network layer in the OSI model.
• Is an end-to-end layer.
• Describes what links such as serial lines and Ethernet must do to meet
the needs of the connectionless Internet layer.
• It is not really a layer at all, in the normal sense of the term, but rather
an interface between hosts and transmission links (allows hosts to inject
packets into the network).
• Early material on the TCP/IP model has little to say about it.
Toll
office
(a) (b)
• ARPA (Advanced Research Projects Agency) was created to solve the issue.
IMP
CCA
MCCLELLAN AMES TIP
BBN
SRI UTAH NCAR GWC LINCOLN CASE HARVARD
AMES IMP LINC
X-PARC ABERDEEN
RADC
ILLINOIS STANFORD NBS
CARN
AMES USC
LINC ETAC
UCSB MITRE FNWC RAND
MIT TINKER
STAN SDC ARPA
ETAC
MITRE RADC
UCSB UCSD SAAC
UCLA RAND TINKER BBN HARVARD NBS BELVOIR
CMU
(d) (e)
• (a) Dec. 1969 (b) July 1970 (c) March 1971 (d) Sept. 1972
• UCLA, UCSB, SRI (Stanford Research Institute) and the University of Utah had a large
number of ARPA contracts.
NSFNET
• By the late 1970s, NSF (the U.S. national Science Foundation) saw the enormous
impact of the ARPANET was having on university research.
• However, to to get on the ARPANET, a university had to have a research contract with
the Dept. of Defense.
• NSF’s initial response was to fund the Computer Science Network (CSNET) in 1981. It
connected Computer Science departments and industrial research labs to the ARPANET.
• In the late 1980s, the NSF went further and decided to design a successor to the
ARPANET: the NSFNET.
• The NSFNET consisted of a backbone and various regional networks, which allowed
users at thousands of universities, research labs, libraries and museums to be connected.
Regional ISP
Backbone
POP
NAP
Client Telephone
Server farm
system
Corporate
LAN
Router
Thanks