Fireship · @fireship
Computer Networking in 100 Seconds
Uploaded August 26, 2020 · Length 2:18
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.
- 0:00
networking it's the way computers
- 0:01
exchange information around the world
- 0:03
and just like the burrito its
- 0:05
architecture is abstracted into seven
- 0:07
layers based on the open systems
- 0:08
interconnection model
- 0:09
at the bottom we have physical hardware
- 0:11
like fiber optic cables that literally
- 0:13
carry light from point a to point b
- 0:15
somehow this light travels all the way
- 0:17
to layer seven where it can be
- 0:18
transmitted directly into your
- 0:19
consciousness in the form of pixels on a
- 0:21
screen or vibrations from a speaker
- 0:22
that's exactly what you're doing right
- 0:24
now as an end user accessing this video
- 0:26
over the hypertext transfer protocol
- 0:28
in addition to http there are many other
- 0:30
protocols at layer 7
- 0:31
like smpt for email or ftp for file
- 0:34
transfers
- 0:35
now let's work our way backwards to
- 0:36
understand how we got here layer 6
- 0:38
is the presentation layer and
- 0:40
essentially it works as a translator to
- 0:42
ensure that a stream of bits from a
- 0:43
computer
- 0:44
like a jpeg image is encoded to a
- 0:46
standard format that can be used at the
- 0:48
application layer
- 0:49
below that we have the session layer
- 0:50
which is responsible for managing the
- 0:52
connection between two computers
- 0:54
it's here we have things like user
- 0:55
authentication and authorization
- 0:57
to control whether or not a user has
- 0:58
access to data on a server
- 1:00
we've all been on a zoom call where some
- 1:02
random person joins and shares their
- 1:03
unsolicited artwork they manage to
- 1:05
authenticate on zoom servers by
- 1:07
exploiting layer 5
- 1:08
and that brings us to the middle of the
- 1:09
stack the transport layer
- 1:11
the transmission control protocol or tcp
- 1:14
is the foundation for
- 1:15
pretty much everything we've looked at
- 1:16
so far its job is to take a stream of
- 1:18
data from one computer
- 1:20
and transfer it to another it determines
- 1:21
how to segment the data into smaller
- 1:23
pieces that can be sent over the network
- 1:25
in the correct order
- 1:26
it receives the data from layer 4 the
- 1:28
network layer in the form of packets
- 1:30
it's here we find the internet protocol
- 1:32
every computer connected to the network
- 1:34
has its own unique ip address
- 1:36
which identifies that computer and
- 1:38
whenever it sends information over the
- 1:39
network
- 1:40
it does so in the form of an ip packet
- 1:42
that contains that address in the header
- 1:44
a packet is just a unit of data along
- 1:46
with some information about who sent it
- 1:48
this happens from a router or gateway
- 1:50
which connects to layer two
- 1:51
the data link and its role is to connect
- 1:53
one physical node in the network to
- 1:55
another via protocols like ethernet or
- 1:57
wi-fi
- 1:58
and that is how over 2.5 quintillion


