•
Application programs that do not need connection-oriented protocol generally use UDP.
1. 5 . Network layer:
Responsible for the routing of data (packets) through the network; handlesthe addressing and delivery of data. This layer provides for congestion control, accountinginformation for the network, routing, addressing, and several other functions. IP (InternetProtocol) is a good example of a network layer protocol. Network layer does not deal with lostmessages.Important features of Network layer protocols:
•
Concerned with the transmission of packets.
•
Choose the best path to send a packet (routing).
•
The routing may be complex in a large network (e.g. Internet).
•
Routing packets through a network may be accomplished by using simple static routes or by using complex dynamic routing algorithms.
1 . 6. Data link layer:
Provides for the reliable delivery of data across a physical network. Thislayer deals with issues such as flow regulation, error detection and control, and frames. This layer has the important task of creating and managing what frames are sent out on the network. Thenetwork data frame, or packet, is made up of checksum, source address, destination address,and the data itself. The largest packet size that can be sent defines the maximum transmissionUnit (MTU).Important features of Data link layer:
•
Handles errors in the physical layer.
•
Groups bits into frames and ensures their correct delivery.
•
Adds some bits at the beginning and end of each frame plus the checksum.
•
Receiver verifies the checksum.
•
If the checksum is not correct, it asks for retransmission. (Send a control message).
•
Consists of two sub layers:Logical Link Control (LLC) defines how data is transferred over the cable and provides data linkservice to the higher layers.Medium Access Control (MAC) defines who can use the network when multiple computers aretrying to access it simultaneously (i.e. Token passing, Ethernet [CSMA/CD]). The data link layer provides reliable transit of data across a physical network link. Differentdata link layer specifications define different network and protocol characteristics, includingphysical addressing, network topology, error notification, sequencing of frames, and flow control.Physical addressing (as opposed to network addressing) defines how devices are addressed atthe data link layer. Network topology consists of the data link layer specifications that often definehow devices are to be physically connected, such as in a bus or a ring topology. Error notification
Leave a Comment