Documente Academic
Documente Profesional
Documente Cultură
An Introduction
NETWORK MODELS
Internet model (TCP/IP) ISO-OSI Reference Model
CEO-A
PA-A R&D Clerk-A MailBox-A Mail-man-A
CEO-B
PA-B
R&D Clerk-B
MailBox-B Mail-man-B Postal department Network
Peers
Each level in organization A is complemented by a corresponding level in organization B. These level which perform the complement function are called peers. Peers may be defined more generally as those parties functioning at the same level appearing to communicate each other
Hierarchy:according to the analysis there are 6 different activities at the sender side and 6 at the receiver side. For completing the task the activities are performed in the order ie in hierarchical manner. Services:Each function or layer uses services of the layers immediately below it.
Stack of layers
The layers which form the model are also called stack of layers or layer stack. This stack of layers is also called a protocol stack, since each layer is clearly defined as what services it will provide. The rules and formats for interaction with it are well defined
Layering Advantages
Complex problems are broken into an ordered sequence of simpler problems. Hence solving of complex problem becomes easier The modularization of layers represents the simpler problem may be modified and implemented without affecting the layer above and below it Layering approach provides a broad common functionality which enables a wide range of implementers to interface to various layers in standard manner
Application
Transport Network Data link Physical
TCP/IP
Protocol Stack
Key Points
1. Protocol architecture is the layered structure of H/W and S/W that supports the exchange of data between systems and supports distributed applications such as e.mail & file transfer.
2. At each layer of protocol architecture one or more protocols are implemented in communicating systems. Each protocol provides a set of rules for the exchange of data between systems.
3. Within a single machine, each layer calls upon the services of the layer just below it
Application Transport
4-3 I/f 5-4 I/f
Application Transport
4-3 I/f
5-4 I/f
Network
3-2 I/f 2-1 I/f
Network
3-2 I/f 2-1 I/f
Network
3-2 I/f 2-1 I/f
Data link
Physical
Data link
Physical
Data link
Physical
SMTP SCTP
FTP
SNMP TCP
DNS
HTTP UDP
IGMP
ICMP
Network Layer
IPv4
ARP RARP
802.x Wired/Wireless
Each interface defines what information and services a layer must provide for the layer above it
A well defined interfaces and layer functions provide modularity to a network
L5 Data L4 Data
H5 H4
L5 Data L4 Data
H5 H4
L3 Data
T2 L2 Data
H3
H2 T2
L3 Data
L2 Data
H3
H2
10101010110100101010
10101010110100101010
Physical Layer
Physical Layer is responsible for transmitting individual bits from one node to the next
Multiplexing
Switching Transmission media
Data Link Layer is responsible for delivery of frames from one node to the next
Link1
R2
LAN
R1 R3
LAN Link2 Link3
23
45
Drop Line
Tap
71
Drop Line Tap
Drop Line
Cable end
Tap
Cable end
T2
Data
23
71
Network Layer
The Network layer is used for the src to destn delivery of a packets possibly across multiple ntks. Ntk layer ensures that each packet gets from its point of origin to its final dstn
Only one Protocols is available IP
R2
LAN
R1 R3
LAN Link2 Link3
R1
R2
Network
Data link
Network
Data link
Network
Data link
Physical
Physical
Physical
Network Layer is responsible for delivery of packets from source to the destination
Transport Layer
The transport layer is responsible for process to process delivery of the entire massage
Transports appln layer messages between the client & server sides of the appln Two Protocols are available UDP
TCP
Transport Layer is responsible for sending messages (segments) from one process to another
Application layer
Application layer enables the user, whether Human or Software, to access the network. It provides user interfaces and support for services such as e-mail, remote file access and transfer, access to the world wide web and so on.
Application
Transport Network Data link Physical
Provides user access to ntk resources Ensures process to process delivery Sends pkts from src to dst Provides hop-to-hop delivery T/fs bits over the medium
Addresses in TCP/IP
Application
Transport Network Data link Physical
Physical addresses
As we will see most local-area networks use a 48bit (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
IP addresses
Port addresses
Note
The physical addresses will change from hop to hop, but the logical addresses usually remain the same.
As we will see a port address is a 16-bit address represented by one decimal number as shown.
A 16-bit port address represented as one single number.
753
Note
The physical addresses change from hop to hop, but the logical and port addresses usually remain the same.
Physical Layer
Services
SIGNALS
To be transmitted, data must be transformed to electromagnetic signals.
Analog and Digital Analog and Digital Data Analog and Digital Signals
Periodic and Aperiodic Signals
Signals can be analog or digital. Analog signals can have an infinite number of values in a range; digital signals can have only a limited number of values.
Simple signal
Analog Signals
Composite signal
Sine Wave
Characteristics
1) Amplitude
Characteristics Cont
Frequency/Period
Characteristics Cont
Phase
Example
A sine wave is offset one-sixth of a cycle with respect to time zero. What is its phase in degrees and radians?
Solution
One complete cycle is 360 degrees. Therefore, 1/6 cycle is (1/6) 360 = 60 degrees = 60 x 2p /360 rad = 1.046 rad
Composite Signals
According to Fourier analysis, any composite signal can be represented as a combination of simple sine waves with different frequencies, phases, and amplitudes.
Frequency Spectrum
The description of a signal using frequency domain and containing all its components is called Frequency spectrum of that signal
Bandwidth
Signal Bandwidth Medium Bandwidth