51
VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection Reference Model

VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Embed Size (px)

Citation preview

Page 1: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

VCE IT Theory Slideshows

By Mark KellyMcKinnon Secondary

CollegeVceit.com

With help from howstuffworks.com

The OSI Model

Open System Interconnection Reference Model

Page 2: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

VCE Software Development

• SD U3O1 KK03 - a brief overview of the concept of the OSI model for network protocols

• SD U3O1 KK04 - purposes and functions of the physical layer (Layer 1) of the OSI and the relationship of the physical layer to the Transmission Control Protocol/Internet Protocol model

Page 3: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

What is it?

• A set of seven layers that define the different stages that data must go through to travel from one device to another over a network.

• It’s a guideline for programmers and hardware developers to use

• Lets their products work predictably with other software and hardware in networks.

Page 4: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Like an assembly line

• Data travels through the layers• At each layer, data is handled to prepare it for

the next layer

Higher levels are more abstract and sophisticated. Lower levels are increasingly specific and ‘primitive’.

Page 5: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Thanks to howstuffworks.com

Page 6: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

7 layers, two sets

• Application Set – Layer 7: Application – Layer 6: Presentation – Layer 5: Session

• Transport Set – Layer 4: Transport – Layer 3: Network – Layer 2: Data– Layer 1: Physical

Page 7: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Mnemonic

• Physical• Data• Network• Transport• Session• Presentation• Application

Page 8: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Mnemonic

• Physical• Data• Network• Transport• Session• Presentation• Application

Page 9: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Mnemonic

• Physical Programmers• Data Do• Network Not• Transport Throw• Session Stale• Presentation Pizza• Application Away

Page 10: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Mnemonic

• Physical Programmers• Data Do• Network Not• Transport Throw• Session Stale• Presentation Pizza• Application Away

Page 11: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection
Page 12: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Layer by layerHighest to lowest

• Application Set • The layers where application software works

Page 13: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Layer 7: Application

– Layer 7: Application - This layer actually interacts with the operating system or application

– E.g. when users transfer files, read messages or perform other network-related activities.

– The interface between end-user applications and communications software.

– Protocols such as Telnet, HTTP, FTP, and SMTP communicate at this layer.

Page 14: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Layer 6: Presentation

• Layer 6: Presentation - Layer 6 takes the data provided by the Application layer and converts it into a standard format that the other layers can understand.

• Handles encryption, formatting, compression, and presentation of data formats (such as JPEG) to applications.

• SSL and TLS communicate at this layer

Page 15: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Layer 5: Session• Establishes, maintains and ends

communication with the receiving device• responsible for the startup, control, and

teardown of sessions for the presentation layer.• handles all transport and data delivery issues to

other systems (a focus on error recovery and controlling data flow).

• TCP and UDP protocols reside at this layer.

Page 16: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Layer by layerHighest to lowest

• Transport• The layers where “behind the scenes”

technical work happens

Page 17: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Layer 4: Transport

• This layer maintains flow control of data and provides for error checking and recovery of data between the devices.

• Flow control means that the Transport layer takes data coming from more than one application and integrates each application's data into a single stream for the physical network.

Page 18: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Layer 3: Network

• The network layer determines the way that the data will be sent to the recipient device.

• Logical protocols, routing and addressing are handled here.

• responsible for routing, addressing, and determining the best possible route.

• ICMP, IP, ARP, and IPSEC reside at this layer.• IP addresses are found at this layer.

Page 19: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Layer 2: Data Link• In the data layer, the appropriate physical

protocol is assigned to the data. • The type of network and the packet

sequencing is defined.• links the data from one host to another• MAC addresses are found at this layer.• Ethernet, FDDI, ATM, and Token Ring reside at

this layer.

Page 20: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Layer 1: Physical• This is the level where actual hardware is

considered.• It defines the physical characteristics of the

network such as connections, voltage levels and timing.

• Provides the physical transportation of data. • Focuses on connectors, currents, pins, light, and

other specifications that define cabling standards. • This layer focuses on binary transmission.

Page 21: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Fregsample…

Page 22: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Putting the OSI to real work

• OSI is only a model• It does not actually do any work• Protocol stacks are actual software tools• They often combine several OSI layers into

one of the stack’s layers.• Like TCP/IP…

Page 23: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Protocol Stack

• A protocol stack is a group of protocols that all work together to allow software or hardware to perform a function.

• (For protocol information, see the Protocol slideshow)

Page 24: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

TCP/IP protocol stack

• TCP/IP is a protocol stack.• It uses four layers that map to the OSI model

Page 25: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

TCP/IP + OSI layer summary

• TCP/IP Layer 1: Network Interface• TCP/IP Layer 2: Internet• TCP/IP Layer 3: Transport• TCP/IP Layer 4: Application

Page 26: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

TCP/IP + OSI layer summary

TCP/IP LAYER OSI LAYERS

Network Interface PhysicalData

Internet Network

Transport Transport

Application SessionPresentationApplication

Page 27: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

TCP/IP + OSI layers

• Layer 1: Network Interface - combines the OSI Physical and OSI Data layers

• Routes data between devices on the same network.

• Manages the exchange of data between the network and other devices.

Page 28: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Huh?

• SD U3O1 KK04 - purposes and functions of the physical layer (Layer 1) of the OSI and the relationship of the physical layer to the Transmission Control Protocol/Internet Protocol model

• The importance of the relationship of the OSI physical layer and the TCP/IP model baffles me.

Page 29: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

TCP/IP + OSI layers

• Layer 2: Internet - corresponds to the OSI Network layer.

• The Internet Protocol (IP) uses the IP address, consisting of a Network Identifier and a Host Identifier, to determine the address of the device it is communicating with.

Page 30: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

TCP/IP + OSI layers

• Layer 3: Transport - Corresponding to the OSI Transport layer, this is the part of the protocol stack where the Transport Control Protocol (TCP) can be found.

• TCP works by asking another device on the network if it is willing to accept information from the local device.

Page 31: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

TCP/IP + OSI layers

• Layer 4: Application - Layer 4 combines the Session, Presentation and Application layers of the OSI model.

• Protocols for specific functions such as e-mail (Simple Mail Transfer Protocol, SMTP) and file transfer (File Transfer Protocol, FTP) reside at this level.

Page 32: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

• So, the TCP/IP protocols don’t have corresponding layers for each function in the OSI Model.

• But developers use the OSI model to ensure that a certain level of network compatibility is maintained.

Page 33: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection
Page 34: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

A simple analogy

• Layer 7: Application

• Mr A of A Corporation wants to send a message to Mr B of B corporation. He picks up the phone and calls for his personal assistant (his PA).

Page 35: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Layer 6: Presentation

• The PA writes down the message in German (which Mr A speaks) into his notebook.

Page 36: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Layer 5: Session

• The PA rips off the page with the message and sends it to the mail room with its destination address attached.

Page 37: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Layer 4: Transport

• The mail room takes the page (along with many other messages from employees), checks that the address is present and sorts messages into departments.

Page 38: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Layer 3: Network

• The mail room manager decides how best to send the message - does it needs to go airmail, by container ship, express post, bicycle courier?

Page 39: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Layer 2: Data

• The mail room manager puts the message into a standard waterproof envelope with its destination and delivery rules written on it (e.g. does the message need to be signed for? Does it need to be delivered to the recipient in person? How urgent is it?). Tim, the bicycle courier is summoned, and told to deliver the envelope.

Page 40: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Layer 1: Physical

• Tim jumps on his bike and pedals madly across town to Corporation B, making constant decisions about steering, changing gear, jumping gutters and swerving to miss oncoming traffic.

• He arrives at the front door of Corporation B and hands over the envelope to the receptionist.

Page 41: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

And now, the process reverses.Layer 1: Physical

• The receptionist at Corporation B gives the envelope to corporation B's mail manager, who opens the envelope to see where it needs to go in their building.

Page 42: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Layer 2: Data

• The mail manager sees that it needs to go to Mr B. He puts the message into a standard Corporation B inter-office memo envelope.

Page 43: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Layer 3: Network

• Mr B's office number is written on the envelope, which is then given to the work experience kid. The kid is told where the office is, that he is to keep left in the corridors, and not interrupt Mr B if he is in a meeting.

Page 44: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Layer 4: Transport

• The kid trots down the corridors, checking office numbers and making sure the envelope is not being damaged by his sweaty hands.

Page 45: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Layer 5: Session

• The kid arrives at Mr B's office, checks the authenticity of the ID badge of Mr B's secretary, gets the secretary to sign a receipt for the message, and hands the envelope over.

Page 46: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Layer 6: Presentation

• The secretary opens the envelope, takes out the page, translates it into French (which Mr B speaks) and puts it in Mr B's in-tray.

Page 47: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

Layer 7: Application

• Mr B removes the translated message from his in-tray, reads it and thinks about its contents.

Page 48: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

And so it ends

• Note how each step of the process is logically separated from the others. Each layer interacts only with the layers directly above and below. It does not need to know how the other layers work: it just do its own job within its own limited walls.

Page 49: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

The end

• The courier does not know or care what's in the envelope: the only thing concerning him is physically getting it from A to B. Once it's delivered, his job is done.

Page 50: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

The end

• Mr A and Mr B neither know nor care what sort of bike Tim was riding or what route he took; they only care that the message arrived safely and quickly.

• Each step in the process had its role in the efficient transfer of the information in the message. Like a factory production line...

Page 51: VCE IT Theory Slideshows By Mark Kelly McKinnon Secondary College Vceit.com With help from howstuffworks.com The OSI Model Open System Interconnection

By Mark KellyMcKinnon Secondary Collegevceit.com

These slideshows may be freely used, modified or distributed by teachers and students anywhere on the planet (but not elsewhere).

They may NOT be sold. They must NOT be redistributed if you modify them.

VCE IT THEORY SLIDESHOWS