9
The OSI Reference Model Key concepts: •Layers •Communications between two adjacent layers •Encapsulation •Multiplexing and demultiplexing •Tunneling

The OSI Reference Model Key concepts: Layers Communications between two adjacent layers Encapsulation Multiplexing and demultiplexing Tunneling

Embed Size (px)

Citation preview

Page 1: The OSI Reference Model Key concepts: Layers Communications between two adjacent layers Encapsulation Multiplexing and demultiplexing Tunneling

The OSI Reference Model

Key concepts:

•Layers

•Communications between two adjacent layers

•Encapsulation

•Multiplexing and demultiplexing

•Tunneling

Page 2: The OSI Reference Model Key concepts: Layers Communications between two adjacent layers Encapsulation Multiplexing and demultiplexing Tunneling

Source: http://bzupages.net/f8/osi-model-7-a-110/

T. A. Yang Network Security 2

Page 3: The OSI Reference Model Key concepts: Layers Communications between two adjacent layers Encapsulation Multiplexing and demultiplexing Tunneling

Network Security 3

Source: http://www.petri.co.il/osi_concepts.htm

T. A. Yang

Page 4: The OSI Reference Model Key concepts: Layers Communications between two adjacent layers Encapsulation Multiplexing and demultiplexing Tunneling

• Source: http://www.novell.com/info/primer/prim05.html

T. A. Yang Network Security 4

Page 5: The OSI Reference Model Key concepts: Layers Communications between two adjacent layers Encapsulation Multiplexing and demultiplexing Tunneling

Multiplexing and Demultiplexing

• Multiplexing: Multiple types of data streams are delivered on a shared channel.

• Can occur at any layer

- Example: Application packets of different types (e.g., HTTP, SMTP, etc.) are encapsulated into TCP packets at the transport layer.

- Another example: TCP and UDP packets are multiplexed into IP packets.

T. A. Yang Network Security 5

Page 6: The OSI Reference Model Key concepts: Layers Communications between two adjacent layers Encapsulation Multiplexing and demultiplexing Tunneling

Multiplexing and Demultiplexing

• Demultiplexing: The reverse operation of multiplexing. Different types of data streams delivered on a shared channel are split into the original types of packets.

• Two operations:– Given a packet, check the type of the

payload.– Remove the header and send the payload to

the appropriate protocol one level above.T. A. Yang Network Security 6

Page 7: The OSI Reference Model Key concepts: Layers Communications between two adjacent layers Encapsulation Multiplexing and demultiplexing Tunneling

• Source: http://en.wikipedia.org/wiki/TCP_IP

T. A. Yang Network Security 7

Page 8: The OSI Reference Model Key concepts: Layers Communications between two adjacent layers Encapsulation Multiplexing and demultiplexing Tunneling

Encapsulation vs Tunneling• Encapsulation: A packet is encapsulated into the

payload of a lower layer packet; a new header is added at the lower layer.

T. A. Yang Network Security 8

• Source: http://en.wikipedia.org/wiki/TCP_IP

Page 9: The OSI Reference Model Key concepts: Layers Communications between two adjacent layers Encapsulation Multiplexing and demultiplexing Tunneling

• Tunneling: A packet (the payload protocol) is encapsulated into another protocol at the same or higher layer (the delivery protocol).– Example: A IP packet is encapsulated into a IPsec

packet.

• Tunneling can be used to circumvent a firewall policy (http://en.wikipedia.org/wiki/Tunneling_protocol)

– Example: HTTP can be used to tunnel a protocol that would otherwise be blocked by the firewall.

T. A. Yang Network Security 9

Encapsulation vs Tunneling