Physical Layer: Coaxial Cable Hybrid Cable Wireless Card Network Card
Physical Layer: Coaxial Cable Hybrid Cable Wireless Card Network Card
Physical Layer: Coaxial Cable Hybrid Cable Wireless Card Network Card
This layer is the lowest layer in the OSI model. It helps in the transmission of data
between two machines that are communicating through a physical medium, which
can be optical fibres,copper wire or wireless etc. The following are the main
functions of the physical layer:
2. Encoding and Signalling: How are the bits encoded in the medium is also
decided by this layer. For example, on the coppar wire medium, we can use
differnet voltage levels for a certain time interval to represent '0' and '1'. We
may use +5mV for 1nsec to represent '1' and -5mV for 1nsec to represent '0'.
All the issues of modulation is dealt with in this layer. eg, we may use
Binary phase shift keying for the representation of '1' and '0' rather than
using different volatage levels if we have to transfer in RF waves.
Binary Phase Shift Keying
This layer provides reliable transmission of a packet by using the services of the
physical layer which transmits bits over the medium in an unreliable fashion. This
layer is concerned with :
1. Framing : Breaking input data into frames (typically a few hundred bytes)
and caring about the frame boundaries and the size of each frame.
2. Acknowledgment : Sent by the receiving end to inform the source that the
frame was received without any error.
3. Sequence Numbering : To acknowledge which frame was received.
4. Error Detection : The frames may be damaged, lost or duplicated leading to
errors.The error control is on link to link basis.
5. Retransmission : The packet is retransmitted if the source fails to receive
acknowledgment.
6. Flow Control : Necessary for a fast transmitter to keep pace with a slow
receiver.
Data Link Layer
Network Layer
Static : Routes are based on static tables that are "wired into" the network
and are rarely changed.
Dynamic : All packets of one application can follow different routes
depending upon the topology of the network, the shortest path and the
current network load.
Semi-Dynamic : A route is chosen at the start of each conversation and then
all the packets of the application follow the same route.
Routing
Inter-Networking
Network Layer does not guarantee that the packet will reach its intended
destination. There are no reliability guarantees.
Transport Layer
Fragmentation Reassembly
Types of service : The transport layer also decides the type of service that
should be provided to the session layer. The service may be perfectly
reliable, or may be reliable within certain tolerances or may not be reliable
at all. The message may or may not be received in the order in which it was
sent. The decision regarding the type of service to be provided is taken at the
time when the connection is established.
Error Control : If reliable service is provided then error detection and error
recovery operations are also performed. It provides error control mechanism
on end to end basis.
Flow Control : A fast host cannot keep pace with a slow one. Hence, this is
a mechanism to regulate the flow of information.
Connection Establishment / Release : The transport layer also establishes
and releases the connection across the network. This requires some sort of
naming mechanism so that a process on one machine can indicate with
whom it wants to