CSC2202 Data Communications and Computer Networks Program BSSE-5 Sec. A Week 2
CSC2202 Data Communications and Computer Networks Program BSSE-5 Sec. A Week 2
Week 2
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
Outline
1 NETWORK
2 OSI Model
3 TCPIP PROTOCOL
4 ADDRESSING
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 2 / 30
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
Network
Network: “is a combination of hardware and software that sends data from one
location to another.”
• The hardware consists of the physical equipment that carries signals from one point
of network to another.
• The software consists of instruction sets that make possible the services that we
expect from a network.
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 3 / 30
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
Layered Tasks
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 4 / 30
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 5 / 30
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
Conclusion:-
• Each layer at the sending site uses the services of the layer immediately below it.
• The sender at the higher layer uses the services of the middle layer.
• The middle layer uses the services of the lower layer.
• The lower layer uses the services of the carrier.
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 6 / 30
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
• The layered model that dominated data communications and networking literature
before 1990 was the Open Systems Interconnection (OSI) model.
• Everyone believed that the OSI model would become the ultimate standard for data
communications, but this did not happen.
• The TCP/IP protocol suit became the dominant commercial architecture because it
was used and tested extensively in the Internet; the OSI model was never fully
implemented.
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 7 / 30
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
OSI Model
OSI stands for Open System Interconnection.
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 8 / 30
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
OSI Model
OSI stands for Open System Interconnection.
• It was established in 1947 and first introduced in late 1970s by International
Standards Organization (ISO).
• ISO is a multinational body dedicated to worldwide agreement on international
standards.
• An open system is a set of protocols that allows any two different systems to
communicate regardless of their underlying architecture.
• “The OSI model is an ISO standard that covers all aspects of network
communications.”
• It is not a protocol.
• It is a layered framework for the design of network systems that allows
communication between all types of computer systems.
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 9 / 30
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 10 / 30
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 11 / 30
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 12 / 30
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
Assignment
Assignment 1: for The OSI model, give detail answer for each of the following
Questions
• What does each layer do?
• What Protocols at each layer?
• What Hardware used at each layer?
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 13 / 30
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
TCP/IP
• TCP/IP was developed by the Department of Defense (DOD) to connect various
devices to a common network (Internet).
• The main purpose behind developing the protocol was to build a robust and
automatically recovering phone line failure while on the battlefield.
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 15 / 30
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
TCP/IP
• On comparing TCP/IP with OSI, the host-to-network layer is equivalent to the
combination of the physical and data link layers.
• The internet layer is equivalent to the network layer.
• The application layer is equivalent to the session, presentation, and application layers.
• The transport layer in TCP/IP is equivalent to the transport layer and some part of
the duties of the session layer of OSI model.
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 18 / 30
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
TRANSPORT LAYER
• It supports three protocols: TCP, UDP, and SCTP.
• UDP and TCP are responsible for delivery of a message from a process (running
program) to another process.
ADDRESSING
ADDRESSING
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 21 / 30
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
ADDRESSING - CONTD
ADDRESSING
• Four levels of addresses are
used in an internet: physical
(link) addresses, logical (IP)
addresses, port addresses, and
specific addresses (see Figure
2.17).
• Each address is related to a
specific layer in the TCP/IP
architecture, as shown in
Figure 2.18.
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 22 / 30
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
ADDRESSING - CONTD
Physical Addresses
• The physical address, also known as the link address, hardware address, or mac
address, is the address of a node.
• It is included in the frame used by the data link layer.
• The size and format of these addresses vary depending on the network.
For example,
– Ethernet uses a 6-byte (48-bit) physical address that is imprinted on the network
interface card (NIC).
– LocalTalk (Apple) has a 1-byte dynamic address.
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 23 / 30
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
ADDRESSING - CONTD
Physical Addresses - contd
• The most local-area networks use a 48-bit (6-byte) physical address written as 12
hexadecimal digits; every byte (2 hexadecimal digits) is separated by a colon.
• 07:01:02:01 :2C:4B [A 6-byte (12 hexadecimal digits) physical address].
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 24 / 30
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
ADDRESSING - CONTD
Logical Addresses
• Logical addresses are necessary for universal communications.
• Physical addresses are not sufficient or suitable in an internetwork environment where
different networks can have different address formats.
• A logical address in the Internet is currently a 32-bit address that can uniquely define
a host connected to the Internet.
• Two publicly addressed hosts on the Internet can not have the same IP address.
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 25 / 30
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
ADDRESSING - CONTD
Port Addresses
• Computers can run multiple processes at the same time.
For example,
computer A can communicate with computer C by using TELNET. At the same time,
computer A communicates with computer B by using the File Transfer Protocol (FTP).
• In the TCP/IP architecture, the label assigned to a process is called a port address.
• A port address in TCP/IP is 16 bits in length.
• A port address is a 16-bit address represented by one decimal number i.e. 753
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 26 / 30
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
ADDRESSING - CONTD
Port Addresses
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 27 / 30
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
ADDRESSING - CONTD
Specific Addresses
• They are user-friendly addresses.
For example,
e-mail address (for example, [email protected]) and the Universal Resource Locator
(URL) (for example, www.mhhe.com).
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 28 / 30
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
Resources
From the Referred Book
Book
Behrouz A. Forouzan. 2007. Data Communications and Networking (McGraw-Hill
Forouzan Networking). McGraw-Hill Higher Education.
ISBN: 978-0-07-296775-3
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 29 / 30
NETWORK OSI Model TCPIP PROTOCOL ADDRESSING
Dr.Mahmoud Aljawarneh (Szabist University, HYD) Course: CSC2202 , Class: BSSE 5A Week 2 30 / 30