prof. hosny ibrahim. text book (tx1): data and computer communications by: william stalling, 11 th...
TRANSCRIPT
![Page 1: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/1.jpg)
Prof. Hosny Ibrahim
![Page 2: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/2.jpg)
Text book (TX1): Data and Computer Communications By: William Stalling , 11th Edition 2011
Text book (TX2): Data Communications and networking By: Behrouz A. Forouzan , 4th Edition 2007
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim 2
![Page 3: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/3.jpg)
Course Scores 30 points semester work ( 20 mid term , 10 quizzes and
class work) 70 points Final exam
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim 3
![Page 4: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/4.jpg)
1-Overview of data communications, components of comm. networking Model OSI, TCP/IP , LAN, WAN
2- Physical Layer: Data transmission, analog, digital data, Spectrum, BW, Channel capacity ……
3-Channel Impairments, Noise.. transmission Media, guided, Wireless
4-LOS transmission, Signal Encoding; DD-AS, DD-DS, AD-AS, AD-DS, … DD
communication Techniques, Asyn, Sync Trans.,.
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim 4
![Page 5: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/5.jpg)
5-Data Link layer: Errors types, Error Detection Data link Control, HDLC protocol Flow control, stop and wait, sliding window, go back n6- Multiplexing, FDM, TDM, ADSL lines, xDSL Circuit and packet switching , ..X25, Frame Relay… , ATM.7- Wired LANs , Ethernet I.EEE802.11
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim 5
![Page 6: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/6.jpg)
1.6
DATA COMMUNICATIONSDATA COMMUNICATIONS
The term The term telecommunicationtelecommunication means communication at a means communication at a distance. The word distance. The word datadata refers to information presented in refers to information presented in whatever form is agreed upon by the parties creating and whatever form is agreed upon by the parties creating and using the data. using the data. Data communicationsData communications are the exchange of are the exchange of data between two devices via some form of transmission data between two devices via some form of transmission medium such as a wire cable. medium such as a wire cable.
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 7: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/7.jpg)
Source generates data to be transmitted
Transmitter Converts data into transmittable signals
Transmission System Carries data
Receiver Converts received signal into data
Destination Takes incoming data
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim 7
![Page 8: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/8.jpg)
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim 8
![Page 9: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/9.jpg)
1.9
Five components of data communication ( Network )
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 10: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/10.jpg)
1.10
Data flow (simplex, half-duplex, and full-duplex)
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 11: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/11.jpg)
1.11
NETWORKSNETWORKS
A A networknetwork is a set of devices (often referred to as is a set of devices (often referred to as nodesnodes) ) connected by communication connected by communication linkslinks. A node can be a . A node can be a computer, printer, or any other device capable of sending computer, printer, or any other device capable of sending and/or receiving data generated by other nodes on the and/or receiving data generated by other nodes on the network.network.
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 12: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/12.jpg)
1.12
Types of connections: point-to-point and multipoint
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 13: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/13.jpg)
1.13
Categories of topology
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 14: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/14.jpg)
1.14
A fully connected mesh topology (five devices)
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 15: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/15.jpg)
1.15
A star topology connecting four stations
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 16: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/16.jpg)
1.16
A bus topology connecting three stations
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 17: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/17.jpg)
1.17
A ring topology connecting six stations
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 18: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/18.jpg)
1.18
A hybrid topology: a star backbone with three bus networks
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 19: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/19.jpg)
1.19
An isolated LAN connecting 12 computers to a hub in a closet
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 20: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/20.jpg)
1.20
WANs: a switched WAN and a point-to-point WAN
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 21: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/21.jpg)
1.21
A heterogeneous network made of four WANs and two LANs
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 22: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/22.jpg)
1.22
THE INTERNETTHE INTERNET
The The InternetInternet has revolutionized many aspects of our daily has revolutionized many aspects of our daily lives. It has affected the way we do business as well as the lives. It has affected the way we do business as well as the way we spend our leisure time. The Internet is a way we spend our leisure time. The Internet is a communication system that has brought a wealth of communication system that has brought a wealth of information to our fingertips and organized it for our use. information to our fingertips and organized it for our use.
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 23: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/23.jpg)
1.23
Hierarchical organization of the Internet
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 24: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/24.jpg)
1.24
PROTOCOLS AND STANDARDSPROTOCOLS AND STANDARDS
In this section, we define two widely used terms: In this section, we define two widely used terms: protocolsprotocols and and standardsstandards. First, we define protocol, which is . First, we define protocol, which is synonymous with rule. Then we discuss standards, which synonymous with rule. Then we discuss standards, which are agreed-upon rules.are agreed-upon rules.
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 25: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/25.jpg)
2.25
LAYERED TASKSLAYERED TASKS
We use the concept of We use the concept of layerslayers in our daily life. As an in our daily life. As an example, let us consider two friends who example, let us consider two friends who communicate through postal mail. The process of communicate through postal mail. The process of sending a letter to a friend would be complex if there sending a letter to a friend would be complex if there were no services available from the post office. were no services available from the post office.
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 26: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/26.jpg)
2.26
Tasks involved in sending a letter
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 27: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/27.jpg)
2.27
THE OSI MODELTHE OSI MODEL
Established in 1947, the International Standards Established in 1947, the International Standards Organization (Organization (ISOISO) is a multinational body dedicated ) is a multinational body dedicated to worldwide agreement on international standards. to worldwide agreement on international standards. An ISO standard that covers all aspects of network An ISO standard that covers all aspects of network communications is the Open Systems communications is the Open Systems Interconnection (Interconnection (OSIOSI) model. It was first introduced in ) model. It was first introduced in the late 1970s. the late 1970s.
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 28: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/28.jpg)
2.28
ISO is the organization.OSI is the model.
Note
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 29: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/29.jpg)
2.29
Seven layers of the OSI model
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 30: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/30.jpg)
2.30
The interaction between layers in the OSI model
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 31: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/31.jpg)
2.31
An exchange using the OSI model
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 32: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/32.jpg)
2.32
LAYERS IN THE OSI MODELLAYERS IN THE OSI MODEL
1-Physical Layer2-Data Link Layer3-Network Layer4-Transport Layer5-Session Layer6-Presentation Layer7-Application Layer
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 33: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/33.jpg)
2.33
1- Physical layer
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 34: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/34.jpg)
2.34
The physical layer is responsible for movements ofindividual bits from one hop (node) to the next.
Note
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 35: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/35.jpg)
2.35
2-Data link layer
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 36: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/36.jpg)
2.36
The data link layer is responsible for moving frames from one hop (node) to the next.
Note
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 37: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/37.jpg)
2.37
Hop-to-hop delivery
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 38: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/38.jpg)
2.38
3-Network layer
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 39: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/39.jpg)
2.39
The network layer is responsible for the delivery of individual packets from
the source host to the destination host.
Note
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 40: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/40.jpg)
2.40
Source-to-destination delivery
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 41: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/41.jpg)
2.41
4-ransport layer
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 42: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/42.jpg)
2.42
The transport layer is responsible for the delivery of a message from one process to another.
Note
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 43: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/43.jpg)
2.43
Reliable process-to-process delivery of a message
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 44: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/44.jpg)
2.44
5-Session layer
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 45: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/45.jpg)
2.45
The session layer is responsible for dialog control and synchronization.
Note
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 46: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/46.jpg)
2.46
6-Presentation layer
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 47: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/47.jpg)
2.47
The presentation layer is responsible for translation, compression, and encryption.
Note
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 48: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/48.jpg)
2.48
7-Application layer
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 49: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/49.jpg)
2.49
The application layer is responsible for providing services to the user.
Note
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 50: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/50.jpg)
2.50
Summary of layers
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 51: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/51.jpg)
2.51
TCP/IP PROTOCOL SUITETCP/IP PROTOCOL SUITE
The layers in the The layers in the TCP/IP protocol suiteTCP/IP protocol suite do not exactly do not exactly match those in the OSI model. The original TCP/IP match those in the OSI model. The original TCP/IP protocol suite was defined as having four layers: protocol suite was defined as having four layers: host-to-network, internet, transport, and application. host-to-network, internet, transport, and application. However, when TCP/IP is compared to OSI, we can However, when TCP/IP is compared to OSI, we can say that the TCP/IP protocol suite is made of five say that the TCP/IP protocol suite is made of five layers: physical, data link, network, transport, and layers: physical, data link, network, transport, and application.application.
Physical and Data Link LayersNetwork LayerTransport LayerApplication Layer
Topics discussed in this section:Topics discussed in this section:
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 52: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/52.jpg)
2.52
TCP/IP and OSI model
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 53: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/53.jpg)
2.53
ADDRESSINGADDRESSING
Four levels of addresses are used in an internet Four levels of addresses are used in an internet employing the TCP/IP protocols: employing the TCP/IP protocols: physicalphysical, , logicallogical, , portport, , and and specificspecific..
Physical AddressesLogical AddressesPort AddressesSpecific Addresses
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 54: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/54.jpg)
2.54
Addresses in TCP/IP
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 55: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/55.jpg)
2.55
Relationship of layers and addresses in TCP/IP
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 56: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/56.jpg)
2.56
In Figure 1 a node with physical address 10 sends a frame to a node with physical address 87. The two nodes are connected by a link (bus topology LAN). As the figure shows, the computer with physical address 10 is the sender, and the computer with physical address 87 is the receiver.
Example 2.1
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 57: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/57.jpg)
2.57
Physical addresses
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 58: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/58.jpg)
2.58
As we will see , 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, as shown below:
Example 2.2
07:01:02:01:2C:4B
A 6-byte (12 hexadecimal digits) physical address.
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 59: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/59.jpg)
2.59
Figure 2 shows a part of an internet with two routers connecting three LANs. Each device (computer or router) has a pair of addresses (logical and physical) for each connection. In this case, each computer is connected to only one link and therefore has only one pair of addresses. Each router, however, is connected to three networks (only two are shown in the figure). So each router has three pairs of addresses, one for each connection.
Example 3
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 60: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/60.jpg)
2.60
IP addresses
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 61: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/61.jpg)
2.61
Figure 3 shows two computers communicating via the Internet. The sending computer is running three processes at this time with port addresses a, b, and c. The receiving computer is running two processes at this time with port addresses j and k. Process a in the sending computer needs to communicate with process j in the receiving computer. Note that although physical addresses change from hop to hop, logical and port addresses remain the same from the source to destination.
Example 4
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 62: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/62.jpg)
2.62
Port addresses
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 63: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/63.jpg)
2.63
The physical addresses will change from hop to hop,but the logical addresses usually remain the same.
Note
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 64: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/64.jpg)
2.64
Example 5
A port address is a 16-bit address represented by one decimal number as shown.
753
A 16-bit port address represented as one single number.
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 65: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/65.jpg)
2.65
The physical addresses change from hop to hop,but the logical and port addresses usually remain the
same.
Note
04/18/23 Data Communication IT 221 By: Prof. Hosny M. Ibrahim
![Page 66: Prof. Hosny Ibrahim. Text book (TX1): Data and Computer Communications By: William Stalling, 11 th Edition 2011 Text book (TX2): Data Communications](https://reader036.vdocuments.mx/reader036/viewer/2022062515/56649f425503460f94c62712/html5/thumbnails/66.jpg)
Thank You
Data Communication IT 221 By: Prof. Hosny M. Ibrahim 6604/18/23