• edinbruh@feddit.it
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    3 hours ago

    ISO/OSI is a neatly separated model mostly used on theory.

    In practice, actual network stacks are often modeled after a simpler model that is called TCP/IP. Which despite the name is not actually TCP specific.

    Here’s the general description and correspondence to ISO/OSI:

    1. Host to network / network access layer: it’s mostly the nic and nic driver. It’s sometimes numbered as 0 because some don’t consider it part of the TCP/IP stack, but simply the nic driver. Corresponds to:
      1. Physical
      2. Datalink
    2. Network layer: Corresponds to: 3. Network
    3. Transport layer: Corresponds to: 4. Transport
    4. Application layer: everything that’s part of the application and not the network stack. Corresponds to: 5. Session 6. Presentation 7. Application

    Or, you can just not care about how the actual software stack is separated, and continue to use the most complete model, knowing that everyone will understand what you when you say “layer 2/3/4” anyway.

    Plus, some could say that the TCP/IP model is equally unfit because the Linux network subsystem doesn’t care about layers.

    Edit: I hope the formatting of that table isn’t broken on your client, because it is on mine