Documente Academic
Documente Profesional
Documente Cultură
Week 3
Standards
Required to allow for interoperability between equipment. Standards in data communication have two categories : De facto( meaning by fact), De jure( meaning by low ). Advantages:
Ensures a large market for equipment and software Allows products from different vendors to communicate
Disadvantages:
Standards Organizations
ISO( International Organization for Standardization ). ANSI( American National Standards Institute ). IEEE( Institute of Electrical and Electronics Engineers). ITU-T( International Telecommunication Union Telecommunication Standards).
What is a Protocol?
A Protocol is a set of rule that governs data communication. For two entities to communicate successfully, they must speak the same language. What is communicated, how it is communicated, and when it is communicated must conform. These conventions are referred to as a protocol.
Syntax
Data formats Signal levels
Semantics
Control information for coordination( meaning of each section ). Error handling
Timing
When data should be send. How fast they can be sent
Open Systems Interconnection. Developed by the International Organization for Standardization (ISO).
Model for understanding and developing computer-to-computer communication. Developed in the 1980s. Divides network architecture into seven layers.
OSI cont.
A layer model Each layer performs a subset of the required communication functions Each layer relies on the next lower layer to perform more primitive functions Each layer provides services to the next higher layer Changes in one layer should not require changes in other layers
OSI layer
OSI layer
At each layer, protocols are used to communicate Control information is added to user data at each layer For example, the transport layer may fragment user data Each fragment has a transport header added
Destination SAP Sequence number Error detection code
Layer 1
Application Presentation Session Application Presentation Session
Layer-1 Device
Layer-1 Device
Layer 2
Application Presentation Session Application Presentation Session
Layer-2 Device
Layer-2 Device
Layer 3
Application Presentation Session Transport Network Data Link Physical Application Presentation Session Transport Network Data Link Physical
Layer-3 Device
Layer-3 Device
Physical Layer
Transmitting individual bits from one to the next. Physical characteristics of interface and media. Representation of bits: a stream of bit(0s,1s), Data rate. Synchronize of bits
10110110101
01100010011
10110000001
Hop-to-Hop delivery
Network Layer
Layer 3.
The network layer is responsible:
The delivery of individual packets from the original source to the final destination . Logical addressing: if the packet passes the network boundary we need another addressing system to help (source to destination) connection. Routing : route or switch the packet to final destination. Source-to-destination delivery (End-to-End).
Source-to-Destination delivery
Transport Layer
Layer 4. The transport layer is responsible for: the delivery of a message from one process to another ( Process-to-Process delivery ). Port addressing : get the message to the correct process on the computer via port address.
provides virtual end-to-end links between peer processes. Segmentation and reassembly : a message is divided into transmittable segments each segment containing a sequence no. Connection Control: connection oriented or connectionless. Flow control : Error control:
Session Layer
Layer 5. Is the network dialog controller , design to establish, maintain, and synchronize the interaction between communicating systems.
Presentation Layer
Layer 6. Design to the handle the syntax and semantic of the information exchanged between 2 systems. And design for data translation, encryption, decryption, and compression.
Application Layer
Layer 7. The application layer is responsible for providing services to the user. Mail services: File transfer and access: Remote log-in: Accessing the World Wide Web.
SMTP Telnet
HTTP
SMTP
Telnet
HTTP
Summary
Application
Presentation
data stream
data stream data stream
data data data
data
Session
Transport
Segments
Network
Data link
Frame H
Network header
data
packets
Network H
data
From trailer
Frames
Bits
The TCP/IP protocol suite is a hierarchical protocol , made of five layers: physical, data link, network, transport, and application.
2-5 ADDRESSING
Four levels of addresses are used in an internet employing the TCP/IP protocols: physical, logical, port, and specific.
SCTP: Stream Control Transmission Protocol TCP: Transmission Control Protocol UDP: User Datagram Protocol
Example 2.1
In Figure 2.19 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.2
As we will see in Chapter 13, 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:
07:01:02:01:2C:4B
A 6-byte (12 hexadecimal digits) physical address.
Example 2.3
Figure 2.20 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 2.4
Figure 2.21 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.
Note
The physical addresses will change from hop to hop, but the logical addresses usually remain the same.
Example 2.5
As we will see in Chapter 23, 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.
The physical addresses change from hop to hop, but the logical and port addresses usually remain the same.
Network Devices
Modem: a device that modulates a digital signal onto analog signal for transmission over telephone lines.
RJ 11
Repeater
Hub
Forwards individual bits. Used in LAN to connect devices. non-intelligent.
1. Passive As the name somewhat denotes, this class of hub simply accepts a signal from one port and retransmits it without any form of amplification to all other nodes.
2. Active Addressing the need for larger networks, the active hub provides amplification and retiming to a signal prior to retransmission.
Switch
Forwards frames based on destination address. Transparent: learns without configuration.
Bridge
Bridge: a device connecting two network segments
Router
Copies packets from one network to another. A connecting device between LANs and WANs
DEVICES : 1. Hub, a distributor that has a lot of ports which connected to computers.
Transport Layer
Network Layer Data link layer Physical Layer
Transport gateway
Router and gateway Bridge and Switch Repeater, Hub and Modem.