Network Models
Network Models
LAYERED TASK
NETWORK MODELS
We use the concept of layers in our daily life. As an example, let us consider two friends who communicate through postal mail. The process of sending a letter to a friend would be complex if there were no services available from the post office.
2.1
Figure 2.1
2.2
2.4
Data communications requires complex procedures Sender identifies data path/receiver Systems negotiate preparedness Applications negotiate preparedness Translation of file formats For all tasks to occur, a high level of cooperation is required Provide framework to implement multiple specific protocols per layer
2.5
Advantages of Layering
Easier application development Network can change without all programs being modified Breaks complex tasks into subtasks Each layer handles a specific subset of tasks between different layers on the same node or stack (INTERFACES) vertical communications between similar layers on different nodes or stacks (PEER-TO-PEER PROCESSES) horizontal communications
Communication occurs
2.6
2.7
Figure :
2.8
2.9
H/W Specifications
Physical representation of Interfaces & media - Fibre / CAT etc Representation of bits Data rate Transmission Rate
2.11
The data link layer is responsible for moving frames from one hop (node) to the next.
2.12
Framing Physical addressing Acknowledgement Sequence Numbering Flow control Error control Retransmission Access control
2.13
2.14
The network layer is responsible for the delivery of individual packets from the source host to the destination host.
2.15
2.16
2.17
The transport layer is responsible for the delivery of a message from one process to another.
2.18
Service point addressing Segmentation & reassembly Connection control Flow control Error control
2.19
2.20
2.21
2.22
2.23
2.24
2.25
2.26
Network virtual terminal File transfer, access management (FTAM) Mail services Directory services
2.27
2.28
The OSI has seven layers while TCP/IP has five layers. The OSI supports both connectionless and connectionoriented communication in the network layer but only connection-oriented in the transport layer which is visible to the user. TCP/IP supports only connectionless services on the network layer but gives options in the transport layer for both connectionless and connectionoriented services. The later option is a very important and useful factor.
Network layer OSI TCP/IP C.O. & C.L C.O.
Transport layer
2.29
The OSI reference model was devised before the protocols were invented while The TCP/IP the reverse was true: the protocol came first, and the model was really just a description of the existing protocols. Three concepts are central to the OSI model: 1.Services 2. Interfaces 3. Protocols The service define what the layer does, not how entities above it access it or how the layer works. The Interface tells the process above it how to access it. The Protocols used in the layer are the layers own business. It can use any protocols it wants to , as long as it gets the job done. It can also change them at will without affecting software in higher layers. While The TCP/IP model did not originally clearly distinguish between services, interfaces and protocols. The protocols in the OSI model are better hidden than in the TCP/IP model and can be replaced relatively easily as the technology changes.
2.30
2.31
2.32
2-5 ADDRESSING
Four levels of addresses are used in an internet employing the TCP/IP protocols: physical, logical, port, and specific.
2.34
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). 2. The computer with physical address 10 is the sender, and the computer with physical address 87 is the receiver. 3. In most data link protocols, the destination address 2.35 (87) comes before the source address (10).
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.
2.36
2.37
Read k in place of a
2.38