Fireship · @fireship

Computer Networking in 100 Seconds

Uploaded August 26, 2020 · Length 2:18

Computer Networking in 100 Seconds

Summary

computer networking explained in 7 layers, from physical to application layer.

  • computer networking
  • osi model
  • network layers
  • tcp/ip
  • network protocols

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:00

    networking it's the way computers

  2. 0:01

    exchange information around the world

  3. 0:03

    and just like the burrito its

  4. 0:05

    architecture is abstracted into seven

  5. 0:07

    layers based on the open systems

  6. 0:08

    interconnection model

  7. 0:09

    at the bottom we have physical hardware

  8. 0:11

    like fiber optic cables that literally

  9. 0:13

    carry light from point a to point b

  10. 0:15

    somehow this light travels all the way

  11. 0:17

    to layer seven where it can be

  12. 0:18

    transmitted directly into your

  13. 0:19

    consciousness in the form of pixels on a

  14. 0:21

    screen or vibrations from a speaker

  15. 0:22

    that's exactly what you're doing right

  16. 0:24

    now as an end user accessing this video

  17. 0:26

    over the hypertext transfer protocol

  18. 0:28

    in addition to http there are many other

  19. 0:30

    protocols at layer 7

  20. 0:31

    like smpt for email or ftp for file

  21. 0:34

    transfers

  22. 0:35

    now let's work our way backwards to

  23. 0:36

    understand how we got here layer 6

  24. 0:38

    is the presentation layer and

  25. 0:40

    essentially it works as a translator to

  26. 0:42

    ensure that a stream of bits from a

  27. 0:43

    computer

  28. 0:44

    like a jpeg image is encoded to a

  29. 0:46

    standard format that can be used at the

  30. 0:48

    application layer

  31. 0:49

    below that we have the session layer

  32. 0:50

    which is responsible for managing the

  33. 0:52

    connection between two computers

  34. 0:54

    it's here we have things like user

  35. 0:55

    authentication and authorization

  36. 0:57

    to control whether or not a user has

  37. 0:58

    access to data on a server

  38. 1:00

    we've all been on a zoom call where some

  39. 1:02

    random person joins and shares their

  40. 1:03

    unsolicited artwork they manage to

  41. 1:05

    authenticate on zoom servers by

  42. 1:07

    exploiting layer 5

  43. 1:08

    and that brings us to the middle of the

  44. 1:09

    stack the transport layer

  45. 1:11

    the transmission control protocol or tcp

  46. 1:14

    is the foundation for

  47. 1:15

    pretty much everything we've looked at

  48. 1:16

    so far its job is to take a stream of

  49. 1:18

    data from one computer

  50. 1:20

    and transfer it to another it determines

  51. 1:21

    how to segment the data into smaller

  52. 1:23

    pieces that can be sent over the network

  53. 1:25

    in the correct order

  54. 1:26

    it receives the data from layer 4 the

  55. 1:28

    network layer in the form of packets

  56. 1:30

    it's here we find the internet protocol

  57. 1:32

    every computer connected to the network

  58. 1:34

    has its own unique ip address

  59. 1:36

    which identifies that computer and

  60. 1:38

    whenever it sends information over the

  61. 1:39

    network

  62. 1:40

    it does so in the form of an ip packet

  63. 1:42

    that contains that address in the header

  64. 1:44

    a packet is just a unit of data along

  65. 1:46

    with some information about who sent it

  66. 1:48

    this happens from a router or gateway

  67. 1:50

    which connects to layer two

  68. 1:51

    the data link and its role is to connect

  69. 1:53

    one physical node in the network to

  70. 1:55

    another via protocols like ethernet or

  71. 1:57

    wi-fi

  72. 1:58

    and that is how over 2.5 quintillion