Introduction to IP - CompTIA Network+ N10-009 - 1.4 — Transcript
Full transcript
- 0:02in this course there will be a lot of
- 0:03conversations about tcpip moving packets
- 0:07across the network and very often we
- 0:09lose track of exactly what that means so
- 0:12I thought it would be good if we started
- 0:14with an overview of Internet Protocol
- 0:17and how it operates the goal of course
- 0:19is to get data from one side of the
- 0:21network to another and there are a
- 0:23number of different processes involved
- 0:25in being able to transfer large amounts
- 0:27of data from one computer to another
- 0:30other in the analogy that we use today
- 0:32we're going to describe this transfer of
- 0:34data from one device to another as using
- 0:37a moving truck to get data from one
- 0:39house to another we can also think of
- 0:42the roads that we're using as the
- 0:44network that we've created this might be
- 0:46a wired ethernet Network a wireless
- 0:48network a wide area Network Technology
- 0:51or many different types of network
- 0:53connections but in this explanation
- 0:55those network connections are referred
- 0:57to as the road that our moving truck
- 0:59will drive on in this example this truck
- 1:02is the Internet Protocol it's the one
- 1:05that is doing the heavy lifting and
- 1:07moving that data across the network just
- 1:10as we might pack up items or objects in
- 1:12a room into a box and put that box onto
- 1:15the moving truck we do effectively the
- 1:18same thing with our application data we
- 1:21package that information into a virtual
- 1:24moving box and we put that moving box
- 1:26onto the truck which in this case would
- 1:28be IP so now we have a highway which
- 1:31would be our Network we have a moving
- 1:33truck which would be the Internet
- 1:35Protocol we have boxes within that
- 1:37moving truck we commonly refer to those
- 1:39boxes as the TCP or UDP protocol and
- 1:43then inside of those boxes is
- 1:45application data that we need to
- 1:47transfer from one device to another this
- 1:50process of encapsulating data within
- 1:52other protocols which are then
- 1:54encapsulated within even larger
- 1:56protocols is a fundamental process when
- 1:59we describe the transfer of data across
- 2:01the network if we were to visualize the
- 2:04ethernet frame that we use on our
- 2:05networks it would look a lot like the
- 2:07one that we have on our screen now we
- 2:09have a client that is communicating to a
- 2:11server and information is being sent
- 2:13between those two devices you'll notice
- 2:15there is an Ethernet payload in the
- 2:17middle of this Frame at the beginning of
- 2:19the frame is an Ethernet header and at
- 2:21the end of the frame is an Ethernet
- 2:23trailer if we were to provide a little
- 2:25more detail about what's inside of that
- 2:27ethernet payload you would see there was
- 2:30be some IP information and within the IP
- 2:32header the rest of the packet has the IP
- 2:35payload deconstructing this further you
- 2:37can see that the IP payload consists of
- 2:40a TCP or UDP header and inside of that
- 2:43part of the packet is the TCP or UDP
- 2:47payload so if we were to look at a
- 2:49protocol decode of a single frame on our
- 2:51ethernet Network we would see an
- 2:53Ethernet header inside that ethernet
- 2:55header would be an IP header inside the
- 2:57IP header might be a TCP header which
- 3:00would hold HTTP or website data and then
- 3:03finally at the end of the frame we would
- 3:05have the ethernet
- 3:06trailer you'll notice that inside of
- 3:09that IP header we had either TCP data or
- 3:12UDP data so it might be useful to break
- 3:15out those two protocols and describe
- 3:17what the differences might be both of
- 3:19these Protocols are very similar in
- 3:21their function they're obviously moving
- 3:23data from one device to another but the
- 3:25internals of how those protocols work
- 3:27are a bit different between the two and
- 3:30an application will use the one that
- 3:31makes sense for its particular function
- 3:34if you recall our video on the OSI model
- 3:36you'll remember that TCP and UDP operate
- 3:40at OSI layer 4 or the transport layer
- 3:43it's in this layer that we're able to
- 3:45send many different applications across
- 3:47the network simultaneously between
- 3:49exactly the same devices we refer to
- 3:52this as multiplexing and it describes
- 3:54the efficient process of transferring
- 3:56multiple applications simultaneously
- 3:59between multiple
- 4:00devices let's first look at TCP or the
- 4:04transmission control protocol we refer
- 4:06to TCP as a connection oriented protocol
- 4:09that's because there is a formal process
- 4:11to set up the communication between two
- 4:13devices and when that communication is
- 4:15done there's a formal process to tear
- 4:18down that particular Session One feature
- 4:20that makes TCP different than UDP is the
- 4:23ability for station to acknowledge that
- 4:25it is received data we refer to this as
- 4:28a reliable delivery free method that's
- 4:30because sending data to another device
- 4:33will always result in an acknowledgement
- 4:35that that device has successfully
- 4:37received that data this means the
- 4:39sending station will always know if
- 4:41information was properly delivered to
- 4:43the destination this also means that the
- 4:45sending device can recover from any type
- 4:47of Errors if it doesn't receive an
- 4:49acknowledgement it can assume that that
- 4:51information was not received by the
- 4:53destination device and it will resend
- 4:55that information to ensure that is able
- 4:58to receive all of the data
- 5:00these packets are also numbered so the
- 5:02receiving device will also be able to
- 5:05request anything that may have been lost
- 5:07along the way without having to resend
- 5:09multiple packets and recreate that data
- 5:12having this conversation between these
- 5:14two devices about how well traffic is
- 5:16able to be transferred allows the
- 5:19receiving station to configure flow
- 5:21control this describes the process of
- 5:23the receiving station telling the
- 5:25sending device to either send data
- 5:27slower or speed up the transmission
- 5:30UDP or the user datagram protocol is a
- 5:33much more barebones protocol there's no
- 5:36formal process to set up a session
- 5:38between two devices and no formal
- 5:40process then to tear down that session
- 5:43we refer to this as a connectionless
- 5:45communication because there's no setup
- 5:47or warning that information may be
- 5:49inbound to a particular device this
- 5:52means that we can send packet after
- 5:54packet of UDP data from one device to
- 5:56another and no UDP acknowledgement is
- 5:59ever sent back to the originating device
- 6:02we refer to this type of communication
- 6:04as unreliable not because there is a
- 6:07higher chance of having problems
- 6:09communicating in fact UDP and TCP are
- 6:12able to communicate in exactly the same
- 6:15way with exactly the same probability of
- 6:17getting that information sent across the
- 6:19network the difference is that we don't
- 6:21receive any acknowledgements when using
- 6:24UDP so we can't guarantee that that
- 6:27information has truly been delivered and
- 6:29since there's no acknowledgement and no
- 6:31notification that anything has been
- 6:33delivered there's no way to perform any
- 6:35type of error recovery or be able to
- 6:37retransmit portions of the data which
- 6:40may have not been received and because
- 6:42there's no ongoing communication back
- 6:44and forth between these two devices
- 6:46using UDP there's no way to configure
- 6:49any type of flow control the receiving
- 6:51station can't reach out and tell the
- 6:53sending station to speed up or slow down
- 6:55because nothing is ever sent back to the
- 6:58originating station
- 7:00now that we've loaded our boxes of data
- 7:02into our IP truck we need to tell the
- 7:05truck driver where to take this
- 7:06information and in the moving truck we
- 7:08do this by giving the truck driver the
- 7:11destination address for the truck in the
- 7:13world of Ip we give it a destination IP
- 7:17address but of course in a house we have
- 7:19many different rooms that we might
- 7:21deliver these boxes to some boxes might
- 7:24be for the bedroom others might be for
- 7:26the kitchen or bathroom and when we
- 7:28bring the box into into the house we can
- 7:30take that box directly to the
- 7:32appropriate room IP Works in a similar
- 7:34way where each box of data is provided a
- 7:38room name and in the world of Ip it's
- 7:40provided via a TCP or UDP port number
- 7:44instead of having bedroom living room
- 7:46kitchen or bath there will be a number
- 7:49associated with that data such as Port
- 7:5180 Port 443 Port 123 or Port 25 when
- 7:57those TCP or UDP boxes arrive at the
- 7:59house we simply look at the TCP or UDP
- 8:02port number and deliver that box to the
- 8:05appropriate application running on that
- 8:07server if you were to look at a protocol
- 8:09decode of ipv4 traffic being sent over
- 8:12the network you would see a set of ipv4
- 8:15sockets for the server and for the
- 8:18client this socket is a combination of
- 8:20data that consists of an IP address a
- 8:23protocol which would be TCP or UDP and
- 8:27then there would be an application port
- 8:29number for the server side there would
- 8:31be a server application port number and
- 8:33on the client side there is a client
- 8:35port number once both sides of the
- 8:37conversation know what the IP address is
- 8:40they know the protocol and they know the
- 8:41port numbers of both the server and the
- 8:43client we're able to send information
- 8:46properly between both devices to the
- 8:48appropriate application if you were to
- 8:51look at well-known applications that are
- 8:53using TCP or UDP you'll notice that many
- 8:57of those port numbers are from0 through
- 9:011023 we refer to these as non-ephemeral
- 9:04ports which means they are permanent
- 9:06port numbers if we need to communicate
- 9:08to a web server we're almost always
- 9:10going to use port 80 and Port 443 those
- 9:14are very common and permanent port
- 9:16numbers that you would find on almost
- 9:18any web server on the client side we
- 9:21tend to use port numbers on a temporary
- 9:23basis and we refer to those as ephemeral
- 9:26ports those are ports that are commonly
- 9:28associated with with
- 9:301,24 through
- 9:3365,535 although it's very common to find
- 9:36applications using non-ephemeral ports
- 9:38and the clients using ephemeral ports
- 9:40the reality is any device can use any
- 9:43port number that it would like to and
- 9:45although we commonly associate servers
- 9:47with non-ephemeral ports and clients
- 9:49with ephemeral ports the reality is you
- 9:52could find application servers using
- 9:54port numbers within the ephemeral Port
- 9:56range so you can see this is not a hard
- 9:59fast rule but instead broadly describes
- 10:02the way that we use these port numbers
- 10:04on our
- 10:05Network anytime you see a TCP or UDP
- 10:08Port it can be a number between 0 and
- 10:1265,535 that is a lot of room to be able
- 10:15to use different port numbers for
- 10:18different applications most servers as
- 10:20we mentioned will use non-ephemeral or
- 10:22non- temporary port numbers but that's
- 10:24not always the case and you could see
- 10:27applications using port numbers that are
- 10:29in the ephemeral Port range remember
- 10:31that changing port numbers is simply a
- 10:33way to designate what room inside of the
- 10:36house will be receiving that particular
- 10:38data it's used for communication and
- 10:41this is not a security mechanism you'll
- 10:43still need a firewall to decide whether
- 10:46traffic is truly allowed or disallowed
- 10:48through the network and simply changing
- 10:50a port number doesn't increase or
- 10:52decrease any type of network security if
- 10:55you're connecting to a web server your
- 10:58browser automatically knows that it
- 10:59should be looking for Port 80 or Port
- 11:02443 and it will use those ports by
- 11:04default if you change the port numbers
- 11:07of the server your browser will no
- 11:09longer know how to connect to that web
- 11:11server that's because we expect web
- 11:13servers to always use port 80 or always
- 11:16use port 443 these are well-known port
- 11:19numbers and if you change those port
- 11:21numbers you'll have to make sure that
- 11:22all of the clients use the new port
- 11:25number instead of what normally would be
- 11:27well known also keep in in mind that TCP
- 11:30port numbers are different than UDP port
- 11:33numbers although both of them can be
- 11:35between 0 and
- 11:3865,535 TCP Port 80 is a different port
- 11:42number than UDP Port 80 and you could
- 11:44theoretically use two different
- 11:46applications with both of those
- 11:48protocols at the same time here's how
- 11:51this might be practically configured on
- 11:53our Network in this example we have a
- 11:55server its IP address is 10.0.0 two and
- 11:58we have a client at
- 12:0110.0.0 these two devices are
- 12:03communicating across the network using
- 12:05three different applications the server
- 12:07has a web server at TCP Port 80 a
- 12:10Voiceover IP server at UDP Port 54 and
- 12:14it's also providing email Services over
- 12:16TCP Port 143 this means the client can
- 12:20communicate to the server with all three
- 12:22of those applications simultaneously
- 12:24because they all have different TCP and
- 12:26UDP port numbers if we were to then look
- 12:29at the IP data that was being sent on a
- 12:32single communication you can see that
- 12:34this IP address of 10.00.01 our client
- 12:38is sending information to this 10.0.0
- 12:41two address you'll also notice that the
- 12:44client is using a temporary port number
- 12:46for this session in this case the
- 12:48randomized temporary port number is Port
- 12:513000 and this device is communicating to
- 12:53the web server so it's using the
- 12:55well-known port number of Port 80 and
- 12:57you can also see there is HTTP data
- 13:00contained within this packet as well
- 13:02this data is received by the server and
- 13:04when the server needs to send
- 13:06information back to the client it simply
- 13:08reverses the TCP Source port and
- 13:10destination port and the IP source and
- 13:13destination to be able to send that
- 13:15information back to where the original
- 13:17request was sent the same process occurs
- 13:20if you're using Voiceover IP data in
- 13:23this case the client is using a source
- 13:25Port of 7100 and the UDP destination
- 13:28Port would be 54 which would be the
- 13:31Voiceover IP service on that server and
- 13:33for email data The Source Port that's
- 13:35being used is a random number of
- 13:384407 and the destination Port is the
- 13:41well-known port for email Port 143 so
- 13:45every device on the network that is
- 13:46communicating via IP is using this
- 13:49fundamental process to transfer data
- 13:51this allows us to scale up into a
- 13:53worldwide internet and be able to send
- 13:56data between two devices anywhere in the
- 13:58world world
About this transcript
This page contains the full transcript of Introduction to IP - CompTIA Network+ N10-009 - 1.4 by Professor Messer, generated from the public captions YouTube serves with the video. The transcript has 2,378 words across 348 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.