Computer Networks:
- Types of network (LAN MAN WAN)
- Network Topologies
- Transmission Techniques (simplex, 1/2 duplex, duplex)
- Physical Media(Guided /unguided)
- Hub, Repeater,
- Functions of DLL
- Sub-Layer (LLC & MAC Address)
- Error Detection(Parity check & Checksum)
- Correction Technique(Hamming Code)
- Concept of Switch.
- Switching Technique (CS,MS,PS)
Network Layer
- Function of Network Layer
- Addressing
- IP Addressing(Class A,B,C,D,E)
- IPv4 Packet Format
- Basic of Routing Protocol ARP,RARP.
- Sub-netting
- Concept of IPv6
- IPv4 Vs IPv6
- Router
Transport Layer:
- Function of Transport Layer
- Transport Layer Protocols TCP,UDP
- Multiplexing and Demultiplexing
- Congestion Control
- Flow Control
Session and Presentation Layer:
Application Layer:
- function of Application Layer
- Application Layer Protocol HTTP
- TFTP, SMTP, POP, URL
- FTP
- TELNET.
- concept of Gateway.
- DNS
- MIME
- WWW
- E-mail, IMAP
Data Link Layer
Function of Data Link Layer
The data link layer has number of specific functions to carry out. this functions include providing a well define services interface to a network layer determining how the bit of the physical layer are grouped into frames dealing with transmission error regulating the flow of the frames so that the slow receiver do not lose data by fast sender and general link management
![Data Link Layer Function](http://bitstudies.com/wp-content/uploads/2023/09/Untitled-Diagram-58.jpg)
Service provided to the network layer:
The capability of the information connect layer is to offer types of assistance to Network layer,
the principle service is transferring data from network layer one source machines to network layer on the destination machine.
The job of data link layer is to transmit the bit to the destination machine so there can be handed over to the network layer.
Role of the data link layer:
In the network layer receive the data from the upper layer.
The data link layer Adds a header which is called the frame header.
The data Where The Fame header was edit at the data link layer are passed to the physical layer at that time, the data are coated into bit strings 0’s and 1’s at the receiver site the opposite operation is perform. in other word the bit streams of 0’s and 1’s receive from the physical layer are converted into frames, and Frame headers are taken out and the data is passed through the network layer.
Framing
The usual approach is to is for data link layer to break the bit stream up into discrete frames and compute checksum for each frames. when a frame arrives at a destination the checksum is recomputed. if a newly computed checksum is different from the one contained in the frame, the data link layer knows that and error has occurred and take step to deal with it.
Breaking the bit stream up into frame is more difficult than it at first affairs.
We will look at 3 commonly used method:
- Character count
- Starting and ending character with character stuffing
- Starting and ending with stuffing
Character count:
The first framing method use the field is the header to specify the number of characters in the frame.
When the data link layer at the destination sees the character count, it knows how many characters follows, and hence which the end of the frame.
Trouble with this algorithm is that the count can be grabled (uncleared) by a transmission error.
![Data Link Layer Function](http://bitstudies.com/wp-content/uploads/2023/09/Untitled-Diagram-59.jpg)
first bit represent the number of bit follows. 4 means it has total 4 bit, After the end of 4 bit the next bit is again the header representing next bit.
Starting and Ending Character with Character Stuffing:
![Data Link Layer Function](http://bitstudies.com/wp-content/uploads/2023/09/Untitled-Diagram-60-1.jpg)
Starting and ending with stuffing
The third techniques allows the Frame to contain any number of bits and allows the character count with a arbitrary number of Bits per character.
It works like this each frame begins and end with specific bit Pattern 01111110, called the flag bit whenever the senders data link layer encounter five consecutive onc in the data it automatically stuff the zero(0) bit into the outgoing bit stream.
this bit stuffing is analogous to character stuffing in which the DLE is stuff into the outgoing characteristics before DLE in the data.
In the receiver side the consecutive 5 1 beat followed by zero bit it automatically this stuff the zero bit.it automatically destuffs (delete) the 0 bit.
![Untitled Diagram 61](http://bitstudies.com/wp-content/uploads/2023/09/Untitled-Diagram-61.jpg)
Flow control:
Another important design issue that occurs in data link layer is that what to do with the sender data that systematically wants to transmit it frames faster than the receiver can accept them. the situation can easily occurs when the sender is running on the faster computer and receiver is running on the slower machine.
The usual solution is to introduce flow control throttle (force) the sender into sending no faster than the receiver can handle that traffic.
Error detection:
In Data Link Layer the data error Detection is take placed the error detection is based on parity bit It can
- Even Parity
- Odd Parity
Error correction:
In data Link Layer the error correction is take place using:
- Hamming Code
- CRC
Data transfer system:
Unicast:
data is transferred to a specific terminal by specify a single address in the network.
Multicast:
Data is transferred to all the terminal in the network group, the same data is sent by more terminals in the network.
Broadcast:
data is transferred to all the terminals in the net worth data is sent to any number of terminals in the network vice president address which means the entire network.
Computer Networks:
- Types of network (LAN MAN WAN)
- Network Topologies
- Transmission Techniques (simplex, 1/2 duplex, duplex)
- Physical Media(Guided /unguided)
- Hub, Repeater,
- Functions of DLL
- Sub-Layer (LLC & MAC Address)
- Error Detection(Parity check & Checksum)
- Correction Technique(Hamming Code)
- Concept of Switch.
- Switching Technique (CS,MS,PS)
Network Layer
- Function of Network Layer
- Addressing
- IP Addressing(Class A,B,C,D,E)
- IPv4 Packet Format
- Basic of Routing Protocol ARP,RARP.
- Sub-netting
- Concept of IPv6
- IPv4 Vs IPv6
- Router
Transport Layer:
- Function of Transport Layer
- Transport Layer Protocols TCP,UDP
- Multiplexing and Demultiplexing
- Congestion Control
- Flow Control
Session and Presentation Layer:
Application Layer:
- function of Application Layer
- Application Layer Protocol HTTP
- TFTP, SMTP, POP, URL
- FTP
- TELNET.
- concept of Gateway.
- DNS
- MIME
- WWW
- E-mail, IMAP