YouTube2Text

OSI Model: A Practical Perspective - Networking Fundamentals - Lesson 2a — Transcript

by Practical Networking · 2,416 words · 414 segments · language en · Watch on YouTube

Full transcript

  1. 0:00hello welcome to another lesson from the
  2. 0:02first module of my new course on
  3. 0:04networking fundamentals
  4. 0:06in this lesson we'll be taking a
  5. 0:07practical look at the osi model
  6. 0:10if you haven't seen the videos for
  7. 0:11lesson one i'd highly recommend you
  8. 0:12start there
  9. 0:13this lesson is simply a direct
  10. 0:15continuation of what occurred in lesson
  11. 0:16one
  12. 0:18that said let's get into discussing the
  13. 0:20osi model
  14. 0:22the overall purpose of networking as an
  15. 0:24industry
  16. 0:25is to allow two hosts to share data with
  17. 0:28one another
  18. 0:29before networking if i want to get data
  19. 0:31from this host to this host i'd have to
  20. 0:33plug something into this host
  21. 0:35walk it over to the other host plug it
  22. 0:36into the other host
  23. 0:38networking allows us to automate all
  24. 0:40that by allowing the host to share data
  25. 0:42automatically across the wire
  26. 0:45for these hosts to do this they must
  27. 0:47follow a set of rules
  28. 0:48this is no different than any language
  29. 0:51english has a set of rules that two
  30. 0:53english speakers must follow
  31. 0:54spanish has its own set of rules french
  32. 0:56has its own set of rules
  33. 0:58while networking also has its own set of
  34. 1:00rules
  35. 1:01the rules for networking are divided
  36. 1:03into seven different layers and those
  37. 1:05layers are known as the osi model
  38. 1:08now to give you an analogy the human
  39. 1:10body is made up of various systems
  40. 1:12the skeletal system the respiratory
  41. 1:14system the nervous system
  42. 1:16the cardiovascular system the muscular
  43. 1:18system
  44. 1:19and if each of those systems are
  45. 1:21operating as intended
  46. 1:22then the goal of the human body is
  47. 1:24attained meaning the human lives
  48. 1:27well networking works the same way each
  49. 1:30of the layers of the osi model
  50. 1:32serve a specific function and if all
  51. 1:35seven
  52. 1:35functions are accomplished then the goal
  53. 1:37of networking is attained
  54. 1:39which is to say host can share data
  55. 1:42and the goal of this lesson is not
  56. 1:44simply to memorize the osi model
  57. 1:46the goal this lesson is to take a look
  58. 1:48at the purpose of
  59. 1:49each layer in the osi model and see how
  60. 1:52it contributes to the overall goal of
  61. 1:54networking which is allowing two hosts
  62. 1:56to share data with one another
  63. 1:58that said let's just jump right into it
  64. 2:00starting with the first layer of the osi
  65. 2:02model known as the physical layer
  66. 2:05data on computers exist in the form of
  67. 2:08bits
  68. 2:08that is ones and zeros well the first
  69. 2:11thing that needs to exist for these
  70. 2:12hosts to share a data with another
  71. 2:14is something has to transport those ones
  72. 2:16and zeros from this computer
  73. 2:18to the next that something is the
  74. 2:21physical layer
  75. 2:22the goal of the physical error is
  76. 2:24transporting bits
  77. 2:26and anything that contributes to moving
  78. 2:27ones and zeros from this computer to
  79. 2:29this computer is considered a layer one
  80. 2:32technology
  81. 2:33for example cables all fall under the
  82. 2:36concept of layer 1 technologies
  83. 2:38all of these cables serve the purpose of
  84. 2:41taking bits from one end
  85. 2:42and taking them out to the other end but
  86. 2:45don't get too caught up on the word
  87. 2:46physical
  88. 2:47the osi model was written well before
  89. 2:50the idea of
  90. 2:51wireless internet communication was ever
  91. 2:53thought of
  92. 2:54wi-fi is considered to be a layer one
  93. 2:56technology because wi-fi
  94. 2:58solely exists to carry ones and zeroes
  95. 3:00from one computer to the next
  96. 3:02now not only do these cables or wi-fi
  97. 3:05exist at layer one
  98. 3:06there are some devices that also exist
  99. 3:08at layer one one of those devices is
  100. 3:10known as a repeater
  101. 3:12in the last lesson we identified the
  102. 3:13repeaters simply amplify signals
  103. 3:15from one end out the other end in a way
  104. 3:18a repeater is really nothing more than
  105. 3:19something that allows you to extend
  106. 3:21a wire meaning it contributes to this
  107. 3:23goal
  108. 3:24therefore a repeater is considered to be
  109. 3:26a layer 1 technology
  110. 3:28which means that multi-port repeaters
  111. 3:31like hubs would also be considered
  112. 3:33layer 1 technologies all of these items
  113. 3:36serve the function of transporting bits
  114. 3:38from one computer to the next
  115. 3:40that is the goal of layer 1 which brings
  116. 3:43us
  117. 3:43to layer 2. layer two is going to
  118. 3:46interact with the physical layer it's
  119. 3:48going to actually put
  120. 3:49bits on the wire and retrieve bits from
  121. 3:52the wire
  122. 3:54which means whatever this wire actually
  123. 3:56connects to on this pc
  124. 3:57is considered a layer 2 item meaning the
  125. 4:01nic
  126. 4:01or the network interface card that this
  127. 4:03wire is actually connected to on this
  128. 4:04computer
  129. 4:05is considered layer 2. the wi-fi access
  130. 4:08card is also considered layer 2 because
  131. 4:10it's interacting with those wi-fi radio
  132. 4:12waves
  133. 4:13now nicks and wi-fi access cards don't
  134. 4:16really look like this anymore but there
  135. 4:17was a time when you had to buy
  136. 4:19separate cards and actually install them
  137. 4:20into computers and able to access the
  138. 4:22network or wi-fi
  139. 4:24nowadays wi-fi access cards can fit in
  140. 4:26your smartphone or your watch
  141. 4:29the overall goal of layer 2 is what i'm
  142. 4:32going to call
  143. 4:33hop to hop delivery meaning layer 2
  144. 4:37exists to take ones and 0s from this nic
  145. 4:40and move it to the other nic this
  146. 4:43is what i'm calling a hop now to
  147. 4:46accomplish this goal
  148. 4:47layer 2 is going to use a specific
  149. 4:49addressing scheme
  150. 4:50that addressing scheme is known as a mac
  151. 4:52address
  152. 4:53mac addresses are 48 bits which are
  153. 4:56represented as 12
  154. 4:57hex digits here are three examples of a
  155. 5:00mac address
  156. 5:01now in all cases these are the exact
  157. 5:03same mac address
  158. 5:04the only thing that's different is how
  159. 5:06they're displayed
  160. 5:08windows machines typically use the
  161. 5:10dashes in between the hex digits
  162. 5:12linux machines typically use those
  163. 5:14colons and cisco
  164. 5:16routers and switches typically use the
  165. 5:18four hex digits with a dot in between
  166. 5:20either way it's still just 12 hex digits
  167. 5:23which are converted into 48 bits
  168. 5:26the way it works is every single nick
  169. 5:28has a unique
  170. 5:29mac address meaning this computer's nick
  171. 5:32over here has the mac address a1
  172. 5:34a1 and this computer's nick has the mac
  173. 5:36address e8e8
  174. 5:39now i'm only showing you the first four
  175. 5:41digits of the mac address simply to
  176. 5:42conserve
  177. 5:43screen real estate but in reality this
  178. 5:45is what a mac address looks like
  179. 5:47either way this mac address is what's
  180. 5:49going to allow data to go
  181. 5:51from one nic to the next ie from one hop
  182. 5:55to the next
  183. 5:58so we've identified that nics exist at
  184. 6:01layer two
  185. 6:02but there is another type of device that
  186. 6:04also exists at layer 2 and that is
  187. 6:06switches recall from the last lesson
  188. 6:08that we discussed that switches are
  189. 6:10devices which facilitate communication
  190. 6:11within a network
  191. 6:13meaning if these two hosts are connected
  192. 6:16via this switch
  193. 6:17the switch is what's going to help
  194. 6:18traffic move along to accomplish
  195. 6:21this hop moreover switches allow you to
  196. 6:24connect
  197. 6:25many devices to them if these two hosts
  198. 6:28want to speak to each other
  199. 6:29the switch is going to internally
  200. 6:30connect these wires such that data
  201. 6:33can traverse this hop from this nick to
  202. 6:36this nic
  203. 6:38so switches are considered layer 2
  204. 6:40technologies because they aid in the
  205. 6:42accomplishment of this goal
  206. 6:44now generally with the internet you're
  207. 6:46commuting with things that are far
  208. 6:48away not necessarily things that are in
  209. 6:50the same network
  210. 6:51so it's very common for communication
  211. 6:53between hosts to require multiple hops
  212. 6:55meaning we need to jump across multiple
  213. 6:57routers to get to the target host
  214. 7:00well each of those routers are connected
  215. 7:01to a wire using a nic
  216. 7:03and therefore each of those nicks have
  217. 7:05their own mac addresses
  218. 7:06and layer two will handle taking data
  219. 7:09from the first mac address
  220. 7:10and delivering it to the next mac
  221. 7:11address and then from this nic
  222. 7:14to the next nic and then from this nick
  223. 7:16to the next nick
  224. 7:17and then finally from this neck to the
  225. 7:19next nick as you'll notice
  226. 7:21in all cases layer two is handling the
  227. 7:23hop-to-hop
  228. 7:24delivery of data which begs the question
  229. 7:29if layer 2 is taking care of every hop
  230. 7:32what's taking care of ensuring data goes
  231. 7:34from this end point
  232. 7:36to the next well that's where layer 3
  233. 7:38comes into play
  234. 7:40layer 3's goal is what's called end to
  235. 7:42end delivery
  236. 7:44to accomplish its goal player 3 is going
  237. 7:46to use its own addressing scheme
  238. 7:48known as ip addresses now we unpacked ip
  239. 7:51addresses in the prior lesson
  240. 7:53ip addresses are 32 bits represented as
  241. 7:564 octets
  242. 7:56each that can be the number zero through
  243. 7:58255.
  244. 8:00every host is going to be identified by
  245. 8:02its ip address
  246. 8:03and these ip addresses are what's going
  247. 8:05to allow data to go from here
  248. 8:07all the way to here now as you can see
  249. 8:10from this illustration
  250. 8:12aiding in the goal of delivering data
  251. 8:14from end to end
  252. 8:15is routers so routers are considered to
  253. 8:17exist at layer 3 of the osi model
  254. 8:20hosts are also considered to exist at
  255. 8:22layer 3 of the osi model
  256. 8:24but really anything with an ip address
  257. 8:26can be considered to exist at layer 3
  258. 8:28of the osi model now at this point
  259. 8:32a question typically comes up and that
  260. 8:34question is
  261. 8:35if we have ip addresses at layer 3 why
  262. 8:37do we need mac addresses
  263. 8:39or alternatively if we have mac address
  264. 8:41to layer 2 why do we need ip addresses
  265. 8:44answering that question will help reveal
  266. 8:46how packets flow through the internet
  267. 8:48the reason we have two different
  268. 8:50addressing schemes is that each of those
  269. 8:51addressing schemes
  270. 8:52serve different purposes so let me show
  271. 8:55you
  272. 8:56let's say this host has some data that
  273. 8:58needs to send
  274. 8:59to this host now of course that data is
  275. 9:02just a bunch of ones and zeroes
  276. 9:04layer two and layer three don't know
  277. 9:06what that data contains it's just an
  278. 9:08arbitrary set of ones and zeros that
  279. 9:10need to get to this host over here
  280. 9:13since this computer knows the data needs
  281. 9:15to get to this endpoint over here
  282. 9:18it's going to add some layer 3
  283. 9:19information to that data that layer 3
  284. 9:22information is going to include the
  285. 9:24source
  286. 9:24ip address and the destination ip
  287. 9:26address in order to get
  288. 9:27this data from one end to the other but
  289. 9:30now this computer knows that the first
  290. 9:32step will be getting that data to the
  291. 9:34first router which will prompt the
  292. 9:36computer to add
  293. 9:37layer 2 information to that data and
  294. 9:40that layer 2 information is going to
  295. 9:41have a source mac address of the
  296. 9:43computer's nic
  297. 9:44and a destination mac address of the
  298. 9:46first router's nic
  299. 9:47that's what's going to get this
  300. 9:49information to the first router
  301. 9:52once it gets there we can remove that
  302. 9:54layer 2 information
  303. 9:56remember the whole purpose of that layer
  304. 9:582 header was simply to get
  305. 10:00this construct from here to here through
  306. 10:03the first hop
  307. 10:04from this point this router now knows
  308. 10:07that this
  309. 10:08needs to get moved to the next router
  310. 10:10and it's going to do this by adding
  311. 10:11another layer 2 header
  312. 10:13but notice this time the source and
  313. 10:15destination mac address
  314. 10:17identify these two mac addresses that's
  315. 10:20what's going to take
  316. 10:21this packet to the next router
  317. 10:25and here once again we can get rid of
  318. 10:27that layer 2 information
  319. 10:29again the whole purpose of that layer 2
  320. 10:31header was simply to get the packet from
  321. 10:33here
  322. 10:34to here since it did that successfully
  323. 10:36we no longer need it
  324. 10:38this process will continue with this
  325. 10:40middle router over here
  326. 10:41adding layer 2 information that will
  327. 10:42take care of this hop
  328. 10:47and finally the last router in the
  329. 10:49sequence will add the final layer 2
  330. 10:51header
  331. 10:52which will take the packet from this
  332. 10:54nick to
  333. 10:55the end host's nick once it gets to the
  334. 10:59final host
  335. 11:00again the layer 2 header can be removed
  336. 11:02the purpose of that header was again
  337. 11:04just to bring the packet from here
  338. 11:06to here moreover the layer 3 header can
  339. 11:10be removed
  340. 11:10because the purpose of that header was
  341. 11:12to bring the data from
  342. 11:14here to here from end to end
  343. 11:18finally this gets the data to the
  344. 11:20computer and the data can be processed
  345. 11:21by the receiving host
  346. 11:24that is why we need both ip addresses
  347. 11:26and mac addresses
  348. 11:27because they serve different functions
  349. 11:31and we've been talking about ip
  350. 11:32addresses and mac addresses as
  351. 11:34independent functions
  352. 11:35and indeed they are but i should mention
  353. 11:38at this point that there is a protocol
  354. 11:40that's going to tie these together
  355. 11:42that protocol is known as the address
  356. 11:43resolution protocol
  357. 11:45it's going to link a layer 3 address
  358. 11:47like an ip address
  359. 11:48to a layer 2 address like a mac address
  360. 11:51arp is crucial to understanding how data
  361. 11:53flows through a network
  362. 11:55we're going to be talking about arp
  363. 11:56later on in this module
  364. 11:58but if you can't wait i did write an
  365. 12:00article series that discusses all the
  366. 12:01different forms of arp
  367. 12:03you can access that series at
  368. 12:04pracnet.net arp
  369. 12:07as for us that wraps up the first part
  370. 12:09of our practical discussion of the osi
  371. 12:11model
  372. 12:12in this video we discussed layer 1 layer
  373. 12:152 and layer 3
  374. 12:16and how each of those layers have a
  375. 12:18specific goal which contributes to how
  376. 12:20data flows through a network
  377. 12:22in particular we illustrated how layer
  378. 12:24two and layer three
  379. 12:25work together to move data across the
  380. 12:27many different hops
  381. 12:29required to get data from one end to
  382. 12:31another
  383. 12:33so that wraps up part one of our
  384. 12:34discussion in part two we'll pick up
  385. 12:36right where we left off discussing the
  386. 12:38transport layer
  387. 12:39but the main takeaways for this lesson
  388. 12:41are on your screen right now
  389. 12:43i hope you enjoyed this video i want to
  390. 12:44thank you for watching and we'll see you
  391. 12:46in the next video as we continue our
  392. 12:48discussion of the osi model
  393. 12:51hey youtube i hope you enjoyed that free
  394. 12:53lesson for my new course on networking
  395. 12:54fundamentals
  396. 12:55i'll be releasing the entire first
  397. 12:57module for free here on youtube
  398. 12:59i want this course to be the ultimate
  399. 13:00networking fundamentals course and since
  400. 13:02i'm still scoping out the outline you
  401. 13:04could have a say in what topics will be
  402. 13:05covered
  403. 13:06let me know in the comments below what
  404. 13:07subjects you want included in this
  405. 13:09course
  406. 13:10otherwise remember to like and subscribe
  407. 13:12and of course if you learned something
  408. 13:13from this video the best way to thank me
  409. 13:15is to share this video
  410. 13:16it's a small act of gratitude but one i
  411. 13:18appreciate greatly
  412. 13:20i hope you enjoyed this lesson i want to
  413. 13:21thank you for watching and we'll see you
  414. 13:23in the next one

About this transcript

This page contains the full transcript of OSI Model: A Practical Perspective - Networking Fundamentals - Lesson 2a by Practical Networking, generated from the public captions YouTube serves with the video. The transcript has 2,416 words across 414 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.