RSS

Category Archives: CISCO

Enscapsulation

The term “encapsulation” is used to describe a process of adding headers and trailers around some data. For example, when you send an email using your favorite email program (like Outlook or Thunderbird) that email is sent from the Application layer to the Transport layer. The Transport layer encapsulates the data and adds its own header (with its own information, such as which port will be used) and passes the data to the Internet layer, which again encapsulates the received data and adds its own header, usually with information about the source and destination IP addresses. The Internet layer than passes the data to the Network Access layer. This layer is the only layer that adds both a header and a trailer. The data is then sent through a physical network link.

Each layer adds its own information:

encapsulation

The term “decapsulation” refers to the process of removing headers and trailers as data passes from lower to upper layers. This process happens on a computer that is receiving data.

Frame, packet, segment

 
Frame – the term “frame” refers to the encapsulated data defined by the Network Access layer. A frame can have a header and a trailer that encapsulate a data section.
Packet – the term “packet” is used to describe the encapsulated data defined by the Internet layer. A packet can have a header with the source and destination IP addresses.
Segment – the term “segment” describes encapsulated data defined by the Transport layer. A segment can have a header with informations such as source and destionation port numbers, sequence and acknowledgment numbers, etc.
 
Leave a comment

Posted by on September 10, 2017 in CISCO

 

Tags: , , , , , ,

OSI Model

OSI Model is a 7 layer model created to define a standard for networking. Even though it was meant to be a protocol, nowadays ISO/OSI is just a model. Whereas TCP/IP is the protocol (or collection of protocols) modern networks follow.


7. Application:  (DataUnit: Data )

Here are your applications. E-mail, browsing the web (HTTP), FTP and many more.


6. Presentation(DataUnit: Data )

This one will make sure that information is readable for the application layer by formatting and structuring the data. Most computers use the ASCII table for characters. If another computer would use another character like EBCDIC than the presentation layer needs to “reformat” the data so both computers agree on the same characters.

Data representation and Encryption is done in this layer


5. Session(DataUnit: Data )

The session layer takes care of establishing, managing and termination of sessions between two hosts. When you are browsing a website on the internet you are probably not the only user of the web-server hosting that website. This web-server needs to keep track of all the different “sessions”.


4. Transport(DataUnit: Segments )

The transport layer takes care of transport. While browsing Internet webpages are sent as segments and transported to your computer. segments great chunks of data received from the upper layer protocols. Establishes and terminates connections between two computers. Used for flow control and data recovery.

  • TCP lives here; it’s a protocol which send data in a reliable way.  (TCP Windowing, Three way handshake )
  • UDP lives here; it’s a protocol which sends data in an unreliable way.

3. Network(DataUnit: Packets )

This layer takes care of connectivity and path selection (routing). This is where IPv4 and IPv6 live. Every network device needs a unique address on the network. defines device addressing, routing, and path determination. Device (logical) addressing is used to identify a host on a network (e.g. by its IP address).


2. Data link(DataUnit: Frames )

This layer makes sure data is formatted the correct way, takes care of error detection and makes sure data is delivered reliably. This is where “Ethernet” lives. MAC Addresses and Ethernet frames are on the Data Link layer. encapsulates a packet in a frame. A frame contains a header and a trailer that enable devices to communicate. A header, most commonly, contains a source and a destination MAC address. A trailer contains the Frame Check Sequence field, which is used to detect transmission errors.
The data link layer has two sublayers:

1. Logical Link Control – used for flow control and error detection
2. Media Access Control – used for hardware addressing and controlling the access method


1. Physical(DataUnit: Bits )

This layer describes stuff like voltage levels, timing, physical data rates, physical connectors and so on. Everything you can “touch” since it’s physical. defines how to move bits from one device to another. It details how cables, connectors and network interface cards are going to work and how to send and receive bits.

 
Leave a comment

Posted by on September 10, 2017 in CISCO

 

Tags: , , , , , , , , , , ,