YouTube2Text

Introduction to IP - CompTIA Network+ N10-009 - 1.4 — Transcript

by Professor Messer · 2,378 words · 348 segments · language en · Watch on YouTube

Full transcript

  1. 0:02in this course there will be a lot of
  2. 0:03conversations about tcpip moving packets
  3. 0:07across the network and very often we
  4. 0:09lose track of exactly what that means so
  5. 0:12I thought it would be good if we started
  6. 0:14with an overview of Internet Protocol
  7. 0:17and how it operates the goal of course
  8. 0:19is to get data from one side of the
  9. 0:21network to another and there are a
  10. 0:23number of different processes involved
  11. 0:25in being able to transfer large amounts
  12. 0:27of data from one computer to another
  13. 0:30other in the analogy that we use today
  14. 0:32we're going to describe this transfer of
  15. 0:34data from one device to another as using
  16. 0:37a moving truck to get data from one
  17. 0:39house to another we can also think of
  18. 0:42the roads that we're using as the
  19. 0:44network that we've created this might be
  20. 0:46a wired ethernet Network a wireless
  21. 0:48network a wide area Network Technology
  22. 0:51or many different types of network
  23. 0:53connections but in this explanation
  24. 0:55those network connections are referred
  25. 0:57to as the road that our moving truck
  26. 0:59will drive on in this example this truck
  27. 1:02is the Internet Protocol it's the one
  28. 1:05that is doing the heavy lifting and
  29. 1:07moving that data across the network just
  30. 1:10as we might pack up items or objects in
  31. 1:12a room into a box and put that box onto
  32. 1:15the moving truck we do effectively the
  33. 1:18same thing with our application data we
  34. 1:21package that information into a virtual
  35. 1:24moving box and we put that moving box
  36. 1:26onto the truck which in this case would
  37. 1:28be IP so now we have a highway which
  38. 1:31would be our Network we have a moving
  39. 1:33truck which would be the Internet
  40. 1:35Protocol we have boxes within that
  41. 1:37moving truck we commonly refer to those
  42. 1:39boxes as the TCP or UDP protocol and
  43. 1:43then inside of those boxes is
  44. 1:45application data that we need to
  45. 1:47transfer from one device to another this
  46. 1:50process of encapsulating data within
  47. 1:52other protocols which are then
  48. 1:54encapsulated within even larger
  49. 1:56protocols is a fundamental process when
  50. 1:59we describe the transfer of data across
  51. 2:01the network if we were to visualize the
  52. 2:04ethernet frame that we use on our
  53. 2:05networks it would look a lot like the
  54. 2:07one that we have on our screen now we
  55. 2:09have a client that is communicating to a
  56. 2:11server and information is being sent
  57. 2:13between those two devices you'll notice
  58. 2:15there is an Ethernet payload in the
  59. 2:17middle of this Frame at the beginning of
  60. 2:19the frame is an Ethernet header and at
  61. 2:21the end of the frame is an Ethernet
  62. 2:23trailer if we were to provide a little
  63. 2:25more detail about what's inside of that
  64. 2:27ethernet payload you would see there was
  65. 2:30be some IP information and within the IP
  66. 2:32header the rest of the packet has the IP
  67. 2:35payload deconstructing this further you
  68. 2:37can see that the IP payload consists of
  69. 2:40a TCP or UDP header and inside of that
  70. 2:43part of the packet is the TCP or UDP
  71. 2:47payload so if we were to look at a
  72. 2:49protocol decode of a single frame on our
  73. 2:51ethernet Network we would see an
  74. 2:53Ethernet header inside that ethernet
  75. 2:55header would be an IP header inside the
  76. 2:57IP header might be a TCP header which
  77. 3:00would hold HTTP or website data and then
  78. 3:03finally at the end of the frame we would
  79. 3:05have the ethernet
  80. 3:06trailer you'll notice that inside of
  81. 3:09that IP header we had either TCP data or
  82. 3:12UDP data so it might be useful to break
  83. 3:15out those two protocols and describe
  84. 3:17what the differences might be both of
  85. 3:19these Protocols are very similar in
  86. 3:21their function they're obviously moving
  87. 3:23data from one device to another but the
  88. 3:25internals of how those protocols work
  89. 3:27are a bit different between the two and
  90. 3:30an application will use the one that
  91. 3:31makes sense for its particular function
  92. 3:34if you recall our video on the OSI model
  93. 3:36you'll remember that TCP and UDP operate
  94. 3:40at OSI layer 4 or the transport layer
  95. 3:43it's in this layer that we're able to
  96. 3:45send many different applications across
  97. 3:47the network simultaneously between
  98. 3:49exactly the same devices we refer to
  99. 3:52this as multiplexing and it describes
  100. 3:54the efficient process of transferring
  101. 3:56multiple applications simultaneously
  102. 3:59between multiple
  103. 4:00devices let's first look at TCP or the
  104. 4:04transmission control protocol we refer
  105. 4:06to TCP as a connection oriented protocol
  106. 4:09that's because there is a formal process
  107. 4:11to set up the communication between two
  108. 4:13devices and when that communication is
  109. 4:15done there's a formal process to tear
  110. 4:18down that particular Session One feature
  111. 4:20that makes TCP different than UDP is the
  112. 4:23ability for station to acknowledge that
  113. 4:25it is received data we refer to this as
  114. 4:28a reliable delivery free method that's
  115. 4:30because sending data to another device
  116. 4:33will always result in an acknowledgement
  117. 4:35that that device has successfully
  118. 4:37received that data this means the
  119. 4:39sending station will always know if
  120. 4:41information was properly delivered to
  121. 4:43the destination this also means that the
  122. 4:45sending device can recover from any type
  123. 4:47of Errors if it doesn't receive an
  124. 4:49acknowledgement it can assume that that
  125. 4:51information was not received by the
  126. 4:53destination device and it will resend
  127. 4:55that information to ensure that is able
  128. 4:58to receive all of the data
  129. 5:00these packets are also numbered so the
  130. 5:02receiving device will also be able to
  131. 5:05request anything that may have been lost
  132. 5:07along the way without having to resend
  133. 5:09multiple packets and recreate that data
  134. 5:12having this conversation between these
  135. 5:14two devices about how well traffic is
  136. 5:16able to be transferred allows the
  137. 5:19receiving station to configure flow
  138. 5:21control this describes the process of
  139. 5:23the receiving station telling the
  140. 5:25sending device to either send data
  141. 5:27slower or speed up the transmission
  142. 5:30UDP or the user datagram protocol is a
  143. 5:33much more barebones protocol there's no
  144. 5:36formal process to set up a session
  145. 5:38between two devices and no formal
  146. 5:40process then to tear down that session
  147. 5:43we refer to this as a connectionless
  148. 5:45communication because there's no setup
  149. 5:47or warning that information may be
  150. 5:49inbound to a particular device this
  151. 5:52means that we can send packet after
  152. 5:54packet of UDP data from one device to
  153. 5:56another and no UDP acknowledgement is
  154. 5:59ever sent back to the originating device
  155. 6:02we refer to this type of communication
  156. 6:04as unreliable not because there is a
  157. 6:07higher chance of having problems
  158. 6:09communicating in fact UDP and TCP are
  159. 6:12able to communicate in exactly the same
  160. 6:15way with exactly the same probability of
  161. 6:17getting that information sent across the
  162. 6:19network the difference is that we don't
  163. 6:21receive any acknowledgements when using
  164. 6:24UDP so we can't guarantee that that
  165. 6:27information has truly been delivered and
  166. 6:29since there's no acknowledgement and no
  167. 6:31notification that anything has been
  168. 6:33delivered there's no way to perform any
  169. 6:35type of error recovery or be able to
  170. 6:37retransmit portions of the data which
  171. 6:40may have not been received and because
  172. 6:42there's no ongoing communication back
  173. 6:44and forth between these two devices
  174. 6:46using UDP there's no way to configure
  175. 6:49any type of flow control the receiving
  176. 6:51station can't reach out and tell the
  177. 6:53sending station to speed up or slow down
  178. 6:55because nothing is ever sent back to the
  179. 6:58originating station
  180. 7:00now that we've loaded our boxes of data
  181. 7:02into our IP truck we need to tell the
  182. 7:05truck driver where to take this
  183. 7:06information and in the moving truck we
  184. 7:08do this by giving the truck driver the
  185. 7:11destination address for the truck in the
  186. 7:13world of Ip we give it a destination IP
  187. 7:17address but of course in a house we have
  188. 7:19many different rooms that we might
  189. 7:21deliver these boxes to some boxes might
  190. 7:24be for the bedroom others might be for
  191. 7:26the kitchen or bathroom and when we
  192. 7:28bring the box into into the house we can
  193. 7:30take that box directly to the
  194. 7:32appropriate room IP Works in a similar
  195. 7:34way where each box of data is provided a
  196. 7:38room name and in the world of Ip it's
  197. 7:40provided via a TCP or UDP port number
  198. 7:44instead of having bedroom living room
  199. 7:46kitchen or bath there will be a number
  200. 7:49associated with that data such as Port
  201. 7:5180 Port 443 Port 123 or Port 25 when
  202. 7:57those TCP or UDP boxes arrive at the
  203. 7:59house we simply look at the TCP or UDP
  204. 8:02port number and deliver that box to the
  205. 8:05appropriate application running on that
  206. 8:07server if you were to look at a protocol
  207. 8:09decode of ipv4 traffic being sent over
  208. 8:12the network you would see a set of ipv4
  209. 8:15sockets for the server and for the
  210. 8:18client this socket is a combination of
  211. 8:20data that consists of an IP address a
  212. 8:23protocol which would be TCP or UDP and
  213. 8:27then there would be an application port
  214. 8:29number for the server side there would
  215. 8:31be a server application port number and
  216. 8:33on the client side there is a client
  217. 8:35port number once both sides of the
  218. 8:37conversation know what the IP address is
  219. 8:40they know the protocol and they know the
  220. 8:41port numbers of both the server and the
  221. 8:43client we're able to send information
  222. 8:46properly between both devices to the
  223. 8:48appropriate application if you were to
  224. 8:51look at well-known applications that are
  225. 8:53using TCP or UDP you'll notice that many
  226. 8:57of those port numbers are from0 through
  227. 9:011023 we refer to these as non-ephemeral
  228. 9:04ports which means they are permanent
  229. 9:06port numbers if we need to communicate
  230. 9:08to a web server we're almost always
  231. 9:10going to use port 80 and Port 443 those
  232. 9:14are very common and permanent port
  233. 9:16numbers that you would find on almost
  234. 9:18any web server on the client side we
  235. 9:21tend to use port numbers on a temporary
  236. 9:23basis and we refer to those as ephemeral
  237. 9:26ports those are ports that are commonly
  238. 9:28associated with with
  239. 9:301,24 through
  240. 9:3365,535 although it's very common to find
  241. 9:36applications using non-ephemeral ports
  242. 9:38and the clients using ephemeral ports
  243. 9:40the reality is any device can use any
  244. 9:43port number that it would like to and
  245. 9:45although we commonly associate servers
  246. 9:47with non-ephemeral ports and clients
  247. 9:49with ephemeral ports the reality is you
  248. 9:52could find application servers using
  249. 9:54port numbers within the ephemeral Port
  250. 9:56range so you can see this is not a hard
  251. 9:59fast rule but instead broadly describes
  252. 10:02the way that we use these port numbers
  253. 10:04on our
  254. 10:05Network anytime you see a TCP or UDP
  255. 10:08Port it can be a number between 0 and
  256. 10:1265,535 that is a lot of room to be able
  257. 10:15to use different port numbers for
  258. 10:18different applications most servers as
  259. 10:20we mentioned will use non-ephemeral or
  260. 10:22non- temporary port numbers but that's
  261. 10:24not always the case and you could see
  262. 10:27applications using port numbers that are
  263. 10:29in the ephemeral Port range remember
  264. 10:31that changing port numbers is simply a
  265. 10:33way to designate what room inside of the
  266. 10:36house will be receiving that particular
  267. 10:38data it's used for communication and
  268. 10:41this is not a security mechanism you'll
  269. 10:43still need a firewall to decide whether
  270. 10:46traffic is truly allowed or disallowed
  271. 10:48through the network and simply changing
  272. 10:50a port number doesn't increase or
  273. 10:52decrease any type of network security if
  274. 10:55you're connecting to a web server your
  275. 10:58browser automatically knows that it
  276. 10:59should be looking for Port 80 or Port
  277. 11:02443 and it will use those ports by
  278. 11:04default if you change the port numbers
  279. 11:07of the server your browser will no
  280. 11:09longer know how to connect to that web
  281. 11:11server that's because we expect web
  282. 11:13servers to always use port 80 or always
  283. 11:16use port 443 these are well-known port
  284. 11:19numbers and if you change those port
  285. 11:21numbers you'll have to make sure that
  286. 11:22all of the clients use the new port
  287. 11:25number instead of what normally would be
  288. 11:27well known also keep in in mind that TCP
  289. 11:30port numbers are different than UDP port
  290. 11:33numbers although both of them can be
  291. 11:35between 0 and
  292. 11:3865,535 TCP Port 80 is a different port
  293. 11:42number than UDP Port 80 and you could
  294. 11:44theoretically use two different
  295. 11:46applications with both of those
  296. 11:48protocols at the same time here's how
  297. 11:51this might be practically configured on
  298. 11:53our Network in this example we have a
  299. 11:55server its IP address is 10.0.0 two and
  300. 11:58we have a client at
  301. 12:0110.0.0 these two devices are
  302. 12:03communicating across the network using
  303. 12:05three different applications the server
  304. 12:07has a web server at TCP Port 80 a
  305. 12:10Voiceover IP server at UDP Port 54 and
  306. 12:14it's also providing email Services over
  307. 12:16TCP Port 143 this means the client can
  308. 12:20communicate to the server with all three
  309. 12:22of those applications simultaneously
  310. 12:24because they all have different TCP and
  311. 12:26UDP port numbers if we were to then look
  312. 12:29at the IP data that was being sent on a
  313. 12:32single communication you can see that
  314. 12:34this IP address of 10.00.01 our client
  315. 12:38is sending information to this 10.0.0
  316. 12:41two address you'll also notice that the
  317. 12:44client is using a temporary port number
  318. 12:46for this session in this case the
  319. 12:48randomized temporary port number is Port
  320. 12:513000 and this device is communicating to
  321. 12:53the web server so it's using the
  322. 12:55well-known port number of Port 80 and
  323. 12:57you can also see there is HTTP data
  324. 13:00contained within this packet as well
  325. 13:02this data is received by the server and
  326. 13:04when the server needs to send
  327. 13:06information back to the client it simply
  328. 13:08reverses the TCP Source port and
  329. 13:10destination port and the IP source and
  330. 13:13destination to be able to send that
  331. 13:15information back to where the original
  332. 13:17request was sent the same process occurs
  333. 13:20if you're using Voiceover IP data in
  334. 13:23this case the client is using a source
  335. 13:25Port of 7100 and the UDP destination
  336. 13:28Port would be 54 which would be the
  337. 13:31Voiceover IP service on that server and
  338. 13:33for email data The Source Port that's
  339. 13:35being used is a random number of
  340. 13:384407 and the destination Port is the
  341. 13:41well-known port for email Port 143 so
  342. 13:45every device on the network that is
  343. 13:46communicating via IP is using this
  344. 13:49fundamental process to transfer data
  345. 13:51this allows us to scale up into a
  346. 13:53worldwide internet and be able to send
  347. 13:56data between two devices anywhere in the
  348. 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.