Followers

Thursday, March 12, 2020

OSI layer


                                      Open System Interconnection (OSI) 

The OSI Model is a logical & conceptual model that defines network communication used by systems open to interconnection and communication with other systems.


Layer-1 (Physical Layer) – 

Its consist of hardware which is require Ethernet & Serial technology.
RJ45, BNC, 10B2, 10BT, HUB, CAT4/5/6 this are use in Ethernet technology.
RS323, RS422, V.35 this are use in Serial technology.


Layer-2(DATA Link)- 

Its use to understand communication between two devices.
In Ethernet technology 802.2, 802.3, ARPA,CSMA/CD this protocol is use.
Serial technology PPP, HDLC, Frame-Relay, ATM, X.25 this protocol is use.


Layer-3 (Network Layer)- 

Network layer is for updating routing protocol.
Router exchange information router to router to reach the destination.
Protocol is use- RIP, EIGRP,ISIS, OSPF, BGP, IGRP.


Layer-4 (Transport Layer)- 

The role of transport layer is transmit & receive the data.
The data flow from Application to Presentation, presentation to session & session to transport layer.
Transport layer transmit the data with the help of TCP & UDP.
Sliding window is perform in Transport layer.


Layer-5 (Session layer)- 

Session layer is use to establish, maintain and disconnect between two devices.
This layer allows a process to add checkpoints which are considered as synchronization points into the data.
These synchronization point help to identify the error so that the data is re-synchronized properly, and ends of the messages are not cut prematurely and data loss is avoided.
The session layer allows two systems to start communication with each other in half-duplex or full-duplex.


Layer-6 (Presentation layer)- 

Presentation layer is known as Translation layer.
This layer is for Compression, decompression, encryption, decryption of the data if only tool is allow.


Layer-7(Application layer)-

Application layer is use by User to perform the task like Telnet, HTTP, WWW, FTP etc.
If the user want to file transfer it can use FTP
If user want remote access its use Telnet.

MTU,MAC,IPv4 & IPv6


                                                      MAC Address

Ethernet technology is use MAC address for communication & Layer 2 address
MAC address is 6bytes – 48bits – Hexa decimal
MAC address should be unique address.
In MAC address 1st 3bytes is provided by IEEE & remaining 3bytes is serial number.
MAC address is also called as Burn-in-address(BIA) which burn MAC in Network card.


                                                          IP address

IP address store in IP upper layer protocol stack.
IPV4 address is just of set of number, which assign to every devices to identify node in the network & its Layer 3 address.
IPV4 address 4bytes- 32bit decimal number & it’s divided into 4 octate.
IPv4 has 3types-
Unicast-
Multicast
Broadcast
IPv4 support VLSM, Fragmentation is done by sending and forwarding routes. SNMP is a protocol used for system management.


                                                      IPv6 address

Its 128bit Hexadecimal address.
This globally unique IPv6 address can communicate between two or more.
IPv6 has 2 types-
Multicast
Anycast
IPv6 does not support for VLSM, Fragmentation is done by the sender & SNMP does not support IPv6.


                                       Maximum Transfer Unit (MTU)

MTU allow 1500bytes of frame in Switch.
In Switch, Every port has MTU which has by default frame size is 1500bytes.

Switch cannot allow more than 1500byte size, but we can change MTU size upto 1600/1700byte.
If switch is Gigabit Ethernet, then MTU frame size will be 9000byte.
In N\W, the frame size is 1564/1592 byte.
1564byte is called baby Jumbo  &   1592byte is called Jumbo
This 1564byte and 1592byte is accept by switch, when the MTU size is 1600/1700byte.
 
If Frame size is larger than MTU is known as GAINT.
IF Frame size is lesser than 64byte is known as RUNT.
This both GAINT & RUNT is corrupted frame, switch cannot accept this frame & discard the frame.

CLASS OF ADDRESS

                                                 

                                                         Class of address

Class determine 1st octate only, There are 5 class of address- Class-A,B,C,D,E.

Class-A its use for Public & Private IP address Distribution purpose.
Range is 1 to 126,
Subnet mask is 255.0.0.0,
Prefix is /8,  
Host per Subnet is 2^24.


Class-B its use for Public & Private IP address Distribution purpose.
Range is 128 to 191,
Subnet mask is 255.255.0.0,
Prefix is /16,  
Host per Subnet is 2^16.


Class-C its use for Public & Private IP address Distribution purpose.
Range is 192 to 223,
Subnet mask is 255.255.255.0,
Prefix is /8,  
Host per Subnet is 2^8.


Class-D its use Multicast purpose.
Range is 224 to 239,
Subnet mask –There is no subnet mask,
Prefix is /1 to /32,  


Class-E its use Research purpose.
Range is 240 to 255,
Subnet mask –There is no subnet mask,
Prefix is /1 to /32,  


Note- 127 range IP Address i.e 127.0.0.0 – 127.255.255.255 is Universal loopback address.


Private IP address range
10.0.0.0 – 10.255.255.255
172.16.0.0 – 172.31.255.255
192.168.0.0 – 192.168.255.255


TYPES OF GUARD, SNMP VERSION & SECURITY ZONE

TYPES OF GUARD BPDU Guard-   Its use to implement on an access port configure with PortFast.  If BPDU Guard receiv...