YouTube2Text

ITN02 - Protocols and Models — Transcript

by Santelmo · 9,507 words · 1,944 segments · language en · Watch on YouTube

Full transcript

  1. 0:01Hi, hello there.
  2. 0:02Welcome to Protocols and Models.
  3. 0:05You know the basic components of a
  4. 0:07simple network,
  5. 0:08as well as the initial configuration.
  6. 0:11But after you configured and connected
  7. 0:13these components,
  8. 0:15how do you know they will work together?
  9. 0:18Protocols.
  10. 0:19Protocols are set of agreed-upon rules
  11. 0:22that have been created by standards
  12. 0:24organizations.
  13. 0:26But because you cannot pick up a rule
  14. 0:28and look at it closely,
  15. 0:30how do you truly understand why there is
  16. 0:32such a rule
  17. 0:34and what it is supposed to do?
  18. 0:37Models.
  19. 0:38Models gives you a way to visualize the
  20. 0:41rules
  21. 0:42and their place in your network.
  22. 0:45This module
  23. 0:46gives you an overview of network
  24. 0:48protocols and models.
  25. 0:50You are about to have a much deeper
  26. 0:52understanding
  27. 0:54of how networks actually work.
  28. 1:01So, for the module objective, so at the
  29. 1:03end of this video lecture, you should be
  30. 1:05able to explain how network protocols
  31. 1:08enable devices to access local and
  32. 1:10remote network resources.
  33. 1:12Also listed here
  34. 1:14are the topic objectives with their
  35. 1:17corresponding topic title.
  36. 1:19So, let's get started.
  37. 1:23So, let's start with the rules.
  38. 1:30Okay.
  39. 1:31So, networks vary in size, shape, and
  40. 1:36function.
  41. 1:38They can be as complex as devices
  42. 1:40connected across the internet or as
  43. 1:42simple as two computers
  44. 1:45directly connected to one another with a
  45. 1:47single cable and anything in between.
  46. 1:50However,
  47. 1:52simply having a wired or wireless
  48. 1:54physical connection between devices is
  49. 1:56not enough to enable communication.
  50. 1:59So, for communication to occur, devices
  51. 2:02must know how to communicate.
  52. 2:06So, people exchange ideas using many
  53. 2:09different communication methods.
  54. 2:11However, all communication methods have
  55. 2:14the following three components in
  56. 2:15common.
  57. 2:17So, these are the sender,
  58. 2:19the receiver,
  59. 2:21and
  60. 2:22the channel or the media.
  61. 2:25So, the message source is the sender.
  62. 2:29Message sources are people or electronic
  63. 2:32devices that need to send message
  64. 2:35to other individuals or devices.
  65. 2:38So, when you say receiver,
  66. 2:40the message destination,
  67. 2:43the destination receives the message and
  68. 2:46interprets it.
  69. 2:48And the third one is the channel or the
  70. 2:50media.
  71. 2:51This consists of the media that provides
  72. 2:54the pathway
  73. 2:55over which the message travels from the
  74. 2:58source
  75. 2:59to destination.
  76. 3:01So, this basically is a wired or
  77. 3:04wireless.
  78. 3:06All right?
  79. 3:10So, let's talk about communication
  80. 3:11protocols. So, sending a message whether
  81. 3:14by face-to-face communication or over
  82. 3:16the network is governed by rules called
  83. 3:20protocols.
  84. 3:21So, these protocols are specific to the
  85. 3:24type of communication method being used.
  86. 3:28So, in our day-to-day personal
  87. 3:29communication,
  88. 3:31the rules we use to communicate over one
  89. 3:33medium,
  90. 3:34like a telephone call, are not
  91. 3:36necessarily the same as the rules for
  92. 3:39using another medium, such as sending a
  93. 3:42letter.
  94. 3:44The process of sending a letter is
  95. 3:46similar to communication that occurs in
  96. 3:49computer networks.
  97. 3:56So, let's take the rule of
  98. 3:58establishment.
  99. 4:00So, individuals must use established
  100. 4:03rules or agreements to govern the
  101. 4:06conversation.
  102. 4:07So, the first message is difficult to
  103. 4:09read because it is not formatted
  104. 4:11properly.
  105. 4:13The second shows the message properly
  106. 4:15formatted.
  107. 4:17Okay?
  108. 4:18So, before communicating with one
  109. 4:20another, individuals must establish
  110. 4:23rules or agreement to govern the
  111. 4:25conversation as mentioned earlier.
  112. 4:28So, notice how it is difficult to read
  113. 4:30the message because it is not formatted
  114. 4:32properly.
  115. 4:34It should be written using rules,
  116. 4:36example protocols, that are necessary
  117. 4:39for effective communication.
  118. 4:41The example shows the message which is
  119. 4:44now formatted for language and grammar.
  120. 4:47So, if you will observe on the first
  121. 4:49message here,
  122. 4:50so, it is not properly formatted because
  123. 4:52if you will observe the word difficult
  124. 4:54is a single word here.
  125. 4:56Okay?
  126. 4:57So, to understand is a single word.
  127. 5:00So, if it is properly formatted, then we
  128. 5:03will be able to understand it.
  129. 5:05Okay? So, that is the rule of
  130. 5:07establishment. We have to specify the
  131. 5:09rule before we converse or before we
  132. 5:12initiate a communication.
  133. 5:18Okay?
  134. 5:19So, protocols must account for the
  135. 5:22following requirements: an identified
  136. 5:24sender and receiver,
  137. 5:26common language and grammar, speed and
  138. 5:29timing of delivery,
  139. 5:31and confirmation or acknowledgement
  140. 5:33requirements.
  141. 5:38So, next is network protocol
  142. 5:40requirements.
  143. 5:42The protocols that are used in the
  144. 5:44network communications share many of
  145. 5:46these fundamental traits.
  146. 5:49In addition to identifying the source
  147. 5:51and destination
  148. 5:53computer and network protocols define
  149. 5:55the details of how a message is
  150. 5:57transmitted across the network.
  151. 6:00Common computer protocols include the
  152. 6:02following requirements.
  153. 6:04You've got message encoding
  154. 6:06message formatting and encapsulation
  155. 6:09message size timing and delivery
  156. 6:13options.
  157. 6:14Okay? So, let us discuss these
  158. 6:17components or requirements in detail.
  159. 6:22First is message encoding.
  160. 6:25So, one of the first steps to sending a
  161. 6:28message is encoding.
  162. 6:30Encoding is the process of converting
  163. 6:32information
  164. 6:33into another acceptable form
  165. 6:36for transmission.
  166. 6:38Decoding reverses this process to
  167. 6:40interpret the information.
  168. 6:43So, let's have the analogy.
  169. 6:45Okay?
  170. 6:46So, the analogy is to communicate the
  171. 6:49message.
  172. 6:51Okay?
  173. 6:52So, maybe we have a a people
  174. 6:55communicating here.
  175. 6:57Okay? So, maybe it's a male and a
  176. 6:59female.
  177. 7:00Okay? So, to communicate the message,
  178. 7:03she converts her thoughts into an
  179. 7:05agreed-upon language.
  180. 7:07She then speaks the words using the
  181. 7:09sounds
  182. 7:10and inflection of spoken language that
  183. 7:13convey the message.
  184. 7:14Her friend listened to the description
  185. 7:17and decodes the sounds to understand the
  186. 7:20message he received.
  187. 7:22Okay? So, in the network
  188. 7:26in the network, we also have the same.
  189. 7:29Encoding between hosts
  190. 7:32must be in appropriate format for the
  191. 7:34medium.
  192. 7:36So, messages sent across the network are
  193. 7:38first converted into bits by sending
  194. 7:41host.
  195. 7:43Each bit is encoded into a pattern of
  196. 7:46voltages on copper wires,
  197. 7:48infrared light in optical fibers, or
  198. 7:52microwaves for wireless systems.
  199. 7:55So, the destination host receives and
  200. 7:57decodes the signal to interpret the
  201. 7:59message.
  202. 8:06Next is message formatting and
  203. 8:08encapsulation.
  204. 8:10Okay? So, let's have an analogy here.
  205. 8:13Okay, so you've got the letter.
  206. 8:16And of course, this is the
  207. 8:19uh packet type.
  208. 8:21Okay?
  209. 8:22So, a common example for requiring the
  210. 8:24correct format in human communication is
  211. 8:26when sending a letter.
  212. 8:28So, an envelope has the address of the
  213. 8:30sender and the receiver.
  214. 8:32Okay? So, of course, this one here on
  215. 8:34the upper left person is the sender, and
  216. 8:37the receiver is of course at the center
  217. 8:38of the envelope.
  218. 8:41Okay? So, um an envelope has the address
  219. 8:44of the sender and the receiver, each
  220. 8:46located at the proper place of the
  221. 8:49envelope.
  222. 8:50So, if the destination address and
  223. 8:52formatting are not correct, the letter
  224. 8:54is not delivered.
  225. 8:56The process of placing one message
  226. 8:58format, the letter, inside another
  227. 9:01message format, the envelope, is called
  228. 9:03encapsulation.
  229. 9:05Okay? De-encapsulation occurs
  230. 9:08when the process is reversed by the
  231. 9:10recipient, and the letter is removed
  232. 9:13from the envelope.
  233. 9:16Now, talking about the network,
  234. 9:20okay? So, similar to sending a letter, a
  235. 9:22message that is sent over a computer
  236. 9:25network follows specific format rules
  237. 9:28for it to be delivered and processed.
  238. 9:30So, the Internet Protocol, or IP,
  239. 9:33is a protocol with similar function to
  240. 9:35the envelope example.
  241. 9:37Okay?
  242. 9:38So, on this figure
  243. 9:40the fields of the internet protocol
  244. 9:42version six.
  245. 9:45Okay, so for instance, this is an IPV6.
  246. 9:48All right?
  247. 9:50And the packet identity or the the
  248. 9:52packet is identified
  249. 9:54by the source of the packet and its
  250. 9:56destination. So, IP is responsible for
  251. 9:58sending a message
  252. 10:00from the message source to destination
  253. 10:02over one or more networks.
  254. 10:06So, you've got the source IP address
  255. 10:07here and the destination IP. So, same
  256. 10:10thing with a letter,
  257. 10:11you've got the source or the sender and
  258. 10:13you've got the recipient or
  259. 10:16the destination.
  260. 10:17Okay?
  261. 10:20Next is let's talk about the message
  262. 10:23size.
  263. 10:24Okay? So, another rule for communicating
  264. 10:28is the message size.
  265. 10:30Okay? So, let's have an analogy here.
  266. 10:33Okay? So, when people communicate with
  267. 10:35each other,
  268. 10:36the messages that they send are usually
  269. 10:39broken into smaller parts or sentences.
  270. 10:42So, these sentences are limited in size
  271. 10:44to what is receiving a person can
  272. 10:46process at one time.
  273. 10:48Okay?
  274. 10:49So, it also makes it easier for the
  275. 10:51receiver to read and comprehend.
  276. 10:56All right? Now, in the network like what
  277. 10:58you can see here,
  278. 11:01so when a long message is sent from the
  279. 11:04host
  280. 11:05to a destination on the network, it is
  281. 11:08necessary to break the language
  282. 11:10or to break the message into smaller
  283. 11:12pieces as shown on this diagram here.
  284. 11:15Okay? So, we will not be forwarding the
  285. 11:17entire message as it is, but basically
  286. 11:21it is broken down into pieces
  287. 11:23and forwarded it to from the source to
  288. 11:25destination.
  289. 11:27Okay? So, they can also be different
  290. 11:29depending on the channel used.
  291. 11:31Frames that are too long or too short
  292. 11:34are not delivered.
  293. 11:36So, the size restriction of the frames
  294. 11:38require the source
  295. 11:40host to break a long message into
  296. 11:42individual pieces
  297. 11:43that meet both the minimum and the
  298. 11:45maximum size requirements.
  299. 11:48So, the long message will be sent in the
  300. 11:50separate frames with each frame
  301. 11:52containing a piece of the original
  302. 11:54message.
  303. 11:56Each frame will also have its own
  304. 11:59addressing information.
  305. 12:01At the receiving host,
  306. 12:03the individual pieces of the message are
  307. 12:05reconstructed into an original message.
  308. 12:09So, that's how it works for the message
  309. 12:10size.
  310. 12:13Next is message timing.
  311. 12:16Okay? So, message timing is also very
  312. 12:19important in network communications.
  313. 12:21Message timing includes the following.
  314. 12:24So, you've got flow control,
  315. 12:26response timeout, and access method.
  316. 12:30So, for flow control,
  317. 12:33this is the process of managing the rate
  318. 12:35of data transmission.
  319. 12:38Flow control defines how much
  320. 12:39information can be sent
  321. 12:42and the speed at which it can be
  322. 12:44delivered. For example,
  323. 12:47if one person is speaks too quickly,
  324. 12:50it may be difficult for the receiver to
  325. 12:52hear and understand the message.
  326. 12:55In network communications,
  327. 12:57there are also network protocols used by
  328. 12:59the source and destination devices to
  329. 13:02negotiate and manage the flow of
  330. 13:04information.
  331. 13:06Okay?
  332. 13:07So, next is response timeout.
  333. 13:11So, if a person asks a question and does
  334. 13:14not hear a response within an accept
  335. 13:17acceptable amount of time,
  336. 13:19so the person assumes that no answer is
  337. 13:22coming and reacts accordingly.
  338. 13:26Okay? So, the person may repeat the
  339. 13:28question or instead may go on with the
  340. 13:31conversation.
  341. 13:33Hosts on the network use network
  342. 13:35protocols
  343. 13:37that specify how long to wait for
  344. 13:40responses and what action to take if a
  345. 13:43response time out occurs.
  346. 13:46So, that's response time out.
  347. 13:50So, the third one is access method.
  348. 13:52So, this determines when someone can
  349. 13:55send a message.
  350. 13:57Okay?
  351. 13:59So, likewise
  352. 14:01when a device wants to transmit on a
  353. 14:02wireless LAN, it is necessary for the
  354. 14:05wireless LAN network interface card or
  355. 14:07NIC to determine whether the wireless
  356. 14:10medium is available or not.
  357. 14:13Okay?
  358. 14:14So,
  359. 14:16that is access method. So, we will be
  360. 14:18dealing with the access method
  361. 14:20okay, later in the course.
  362. 14:24Now, let's move on to the next slide.
  363. 14:28So, the next one is the message delivery
  364. 14:30options.
  365. 14:31Okay? So, a message can be delivered in
  366. 14:34different ways. So, it could be unicast,
  367. 14:37multicast, or broadcast.
  368. 14:40Okay? So, let's go back to our analogy.
  369. 14:43So, sometimes a person wants to
  370. 14:45communicate information to a single
  371. 14:47individual.
  372. 14:49At other times, the person may need to
  373. 14:51send information to a group of people
  374. 14:54at the same time or
  375. 14:56even to all the people in the same area.
  376. 14:59Okay?
  377. 15:00So,
  378. 15:01in the network
  379. 15:03network communications has similar
  380. 15:05delivery options to communicate.
  381. 15:07Okay? So, as shown here in the figure
  382. 15:11so, you've got unicast,
  383. 15:13multicast, and broadcast.
  384. 15:16So, when you say unicast, information is
  385. 15:19being transmitted to a single end
  386. 15:21device.
  387. 15:23Okay? So, it's coming from the source
  388. 15:24going to a specific destination. This is
  389. 15:27a one-to-one communication. We call it
  390. 15:29unicast.
  391. 15:31Okay?
  392. 15:32So, the next one is multicast.
  393. 15:34Information is being transmitted to one
  394. 15:36or more end devices.
  395. 15:39Okay? Now, in this diagram here,
  396. 15:42the source is communicating with the two
  397. 15:44computers on the network.
  398. 15:47Okay?
  399. 15:48So, and then the third one is a
  400. 15:50broadcast. Okay? Broadcast information
  401. 15:53is being transmitted to all the devices
  402. 15:55on the network.
  403. 15:57Okay? Like on this video lecture,
  404. 16:00okay? So, this video lecture is a
  405. 16:02multicast if it is not shared publicly.
  406. 16:06Okay? So, it it is becoming a multicast
  407. 16:10when there are intended people or
  408. 16:12audiences only who is authorized to view
  409. 16:15this video.
  410. 16:17Okay?
  411. 16:17And unicast if I am talking directly to
  412. 16:21you.
  413. 16:23All right? If I am talking to directly
  414. 16:25to a certain person, we call it unicast.
  415. 16:31Okay?
  416. 16:32So, how about the rules and note about
  417. 16:37the node icon.
  418. 16:39So, what do we mean by this? Okay?
  419. 16:41Networking documents and topologies
  420. 16:44often represent networking and the end
  421. 16:46devices using a node icon.
  422. 16:49So, nodes are typically represented as a
  423. 16:51circle.
  424. 16:52So, the figure here
  425. 16:54shows a comparison of the three
  426. 16:55different delivery options using a node
  427. 16:58instead of computer icons. So, if you
  428. 17:01will observe here,
  429. 17:03on this first diagram here, this is from
  430. 17:05orange to green. So, we could say that
  431. 17:07this is a unicast communication.
  432. 17:10All right? So, from orange to green,
  433. 17:13Okay? So, but then in that group,
  434. 17:16there are yellow and green.
  435. 17:19But the message is intended for the
  436. 17:21green one. So therefore, we call it
  437. 17:23multicast.
  438. 17:24Okay?
  439. 17:26So if you are going to broadcast it to
  440. 17:28all the green
  441. 17:30or to all the yellow, we call it
  442. 17:32broadcast.
  443. 17:34All right?
  444. 17:37Okay. So let's talk about protocols now.
  445. 17:40So protocols are defined earlier as the
  446. 17:43rules that governs in data
  447. 17:45communications.
  448. 17:47You know that for the end devices to be
  449. 17:48able to communicate over the network,
  450. 17:51each device must abide by the same set
  451. 17:54of rules.
  452. 17:55These rules are called protocols.
  453. 17:58And they have
  454. 18:00many functions in the network.
  455. 18:02So this topic gives you an overview
  456. 18:05about network protocols. So we have a
  457. 18:08thousands of protocols being used on a
  458. 18:10network.
  459. 18:13Okay. All right.
  460. 18:15So network protocols define a common
  461. 18:17format and set of rules for exchanging
  462. 18:20messages between devices.
  463. 18:23So protocols are important
  464. 18:25or implemented by the end devices and
  465. 18:28intermediary devices
  466. 18:31in software, hardware, or both.
  467. 18:34So each network protocol has its own
  468. 18:36function, format, and rules for
  469. 18:40communications.
  470. 18:41So the table here
  471. 18:43lists various types of protocols that
  472. 18:46are needed to enable communications
  473. 18:48across one or more networks.
  474. 18:52Okay? So protocols are divided into
  475. 18:55network communications, network
  476. 18:57security, routing, and service
  477. 19:00discovery.
  478. 19:02When you say network communications,
  479. 19:04it enables two or more devices to
  480. 19:06communicate over one or more networks.
  481. 19:09Okay? They are also called network
  482. 19:12security protocol.
  483. 19:14So, secure data to provide
  484. 19:15authentication, data integrity, and data
  485. 19:18encryption.
  486. 19:20We also have protocols for routing.
  487. 19:22It enables routers to exchange route
  488. 19:25information,
  489. 19:27compare path information, and select the
  490. 19:29best path to get into the destination.
  491. 19:33Also, we have what's called service
  492. 19:35discovery. Used for the automatic
  493. 19:38detection of devices or services.
  494. 19:46Okay. So, next is the network protocol
  495. 19:48functions.
  496. 19:49So, network communication protocols are
  497. 19:51responsible for a variety of functions
  498. 19:54necessary for network communications
  499. 19:57between end devices. For example,
  500. 20:00in the figure here,
  501. 20:03okay? So, how does the computer send a
  502. 20:05message across several network devices
  503. 20:08to the server?
  504. 20:10So, first, there is a need for
  505. 20:13addressing.
  506. 20:14Addressing,
  507. 20:16it is used to identify the sender and
  508. 20:19the receiver.
  509. 20:21Okay? So, addressing identifies the
  510. 20:23sender and the intended receiver of the
  511. 20:26message using a defined addressing
  512. 20:29scheme.
  513. 20:31Example of protocols that provide
  514. 20:32addressing includes
  515. 20:34Ethernet. Ethernet is the protocol of
  516. 20:37the local area network.
  517. 20:38And we have different varieties for it.
  518. 20:41Okay?
  519. 20:42So, Ethernet is running at 10 Mbps. Fast
  520. 20:46Ethernet is running at 100.
  521. 20:49You also have gig Ethernet at 1,000. You
  522. 20:51have 10G at 10,000, and you have 100G at
  523. 20:54100,000.
  524. 20:56Okay? So, Ethernet, you also have IPv4
  525. 21:00and IPv6. These are examples of
  526. 21:04addressing
  527. 21:05um function.
  528. 21:08Okay? So, next is reliability.
  529. 21:12This function provides guaranteed
  530. 21:14delivery mechanism in case messages are
  531. 21:17lost or corrupted in transit.
  532. 21:20So, TCP provides a guaranteed delivery.
  533. 21:25Okay?
  534. 21:26So, the next one is flow control.
  535. 21:29This function ensures that the data at
  536. 21:33an efficient rate between two
  537. 21:35communicating devices.
  538. 21:36TCP provides flow control services. So,
  539. 21:40we will be talking about and using these
  540. 21:43protocols on the succeeding videos that
  541. 21:45we will have.
  542. 21:48Okay?
  543. 21:48So, next is sequencing.
  544. 21:53So, this function uniquely labels each
  545. 21:56transmitted segment of data.
  546. 21:58The receiving device uses the sequencing
  547. 22:01information to reassemble the
  548. 22:03information correctly.
  549. 22:06This is useful if the data segments are
  550. 22:09lost,
  551. 22:11okay?
  552. 22:12Delayed or received out of order.
  553. 22:15So, the TCP provides a sequencing
  554. 22:17services.
  555. 22:19Okay?
  556. 22:20Next, error detection.
  557. 22:23This function is used to determine if
  558. 22:26data become corrupted during
  559. 22:29transmission.
  560. 22:30Various protocols that provide error
  561. 22:33detection include Ethernet,
  562. 22:36IPv4,
  563. 22:37IPv6,
  564. 22:39and TCP.
  565. 22:42Okay? And the last one
  566. 22:45is application interface.
  567. 22:47This function contains information used
  568. 22:50for process-to-process communications
  569. 22:54between network applications. So, for
  570. 22:56example,
  571. 22:57when accessing a web page, HTTP or HTTPS
  572. 23:01protocols are used to communicate
  573. 23:03between the client and the server web
  574. 23:05processes.
  575. 23:07Okay?
  576. 23:11Next, how about the protocol
  577. 23:12interaction?
  578. 23:14Okay? A message sent from one computer
  579. 23:17network typically requires the use of
  580. 23:20several protocol.
  581. 23:22So, each one of its own function and
  582. 23:25format.
  583. 23:26So, the figure here
  584. 23:29shows some common network protocols that
  585. 23:32are used when a device sends request to
  586. 23:34a web server
  587. 23:35for its web page.
  588. 23:38So, basically, it started with an
  589. 23:40Ethernet,
  590. 23:41which I defined earlier as the protocol
  591. 23:43of the LAN or the local area network.
  592. 23:45Okay?
  593. 23:46And then it goes to the IP,
  594. 23:48delivers messages globally from the
  595. 23:50sender to the receiver.
  596. 23:53And then next is
  597. 23:56a TCP or the transmission control
  598. 23:58protocol,
  599. 23:59which provides guaranteed delivery,
  600. 24:02manages flow control, and manages the
  601. 24:05individual conversations.
  602. 24:07Okay? And then on top is the HTTP
  603. 24:11or the hypertext protocols,
  604. 24:15which governs the way a web server and
  605. 24:17web client interact. It defines the
  606. 24:20content and format. So, basically, this
  607. 24:23protocol here
  608. 24:25is operating on a different layer.
  609. 24:27And we will be talking about the
  610. 24:28different layers used
  611. 24:31in data communications. Okay? So, these
  612. 24:34are the OSI layers, and you've got the
  613. 24:37TCP IP model.
  614. 24:40All right?
  615. 24:44Okay. So, let's talk about the protocol
  616. 24:46switch now.
  617. 24:50So, in many cases, protocols must be
  618. 24:53able to work with other protocols
  619. 24:56so that your online experience gives you
  620. 24:59everything you need for network
  621. 25:01communications. So the protocol suites
  622. 25:04are designed to work with each other
  623. 25:07seamlessly.
  624. 25:08So a protocol suite is a group of
  625. 25:10interrelated protocols necessary to
  626. 25:12perform a communication function.
  627. 25:15One of the best ways to visualize how
  628. 25:18the protocols within the suite interact
  629. 25:21is to view the indirect interaction as a
  630. 25:24stack.
  631. 25:25Okay? A protocol stack shows how the
  632. 25:29individual protocols within a suite are
  633. 25:32implemented.
  634. 25:34The protocols are viewed in terms of
  635. 25:36layers.
  636. 25:38With each higher level service depending
  637. 25:40on the functionality defined by the
  638. 25:42protocols shown on the lower levels.
  639. 25:47Okay? So the lower layers of the stack
  640. 25:50are concerned with moving data
  641. 25:53from the network and providing services
  642. 25:55to the upper layers,
  643. 25:57which are focused on the content of the
  644. 25:59message being sent.
  645. 26:02Okay? So as illustrated on this figure,
  646. 26:07we can use layers to describe the
  647. 26:09activity occurring face-to-face
  648. 26:11communication.
  649. 26:13Okay? So at the bottom is the physical
  650. 26:16layer.
  651. 26:18Where we have two people with voices
  652. 26:21saying words.
  653. 26:23Okay?
  654. 26:24And then in the middle is what you call
  655. 26:26the rules layer.
  656. 26:28Okay? So that stipulates
  657. 26:30the requirements of communications
  658. 26:33including a common language.
  659. 26:35Okay?
  660. 26:37Um
  661. 26:38the wait for your turn
  662. 26:40and signal when finished.
  663. 26:43Okay? At the top is what you call the
  664. 26:46content layer.
  665. 26:47And this is where the content of the
  666. 26:49communication is actually spoken.
  667. 26:53All right?
  668. 26:57Okay. So, a protocol suite is a set of
  669. 27:00protocols that work together to provide
  670. 27:03a comprehensive network communication
  671. 27:05services.
  672. 27:07Since the 1970s, there have been several
  673. 27:10different protocol suites. Some
  674. 27:12developed by standards organization and
  675. 27:15others developed by various vendors.
  676. 27:18Okay? So, during the evolution of the
  677. 27:20network communications and the internet,
  678. 27:24there were several competing protocol
  679. 27:26suite as shown in the figure here.
  680. 27:28Okay? So, we have the TCP
  681. 27:32IP,
  682. 27:34the ISO, AppleTalk, and Novell NetWare.
  683. 27:37Okay? In the industry nowadays,
  684. 27:40we are using the TCP IP model having the
  685. 27:43four layers and the ISO model or the OSI
  686. 27:46layers having the seven layers.
  687. 27:50Okay?
  688. 27:54Okay. So, TCP IP protocols are available
  689. 27:58for the application, transport, and
  690. 28:00internet layers. So, there are no TCP IP
  691. 28:04protocols in the network access layers.
  692. 28:07The most common network access layer LAN
  693. 28:09protocols are the internet
  694. 28:12and the WLAN or the wireless LAN.
  695. 28:15Okay? So, network access layer protocols
  696. 28:19are responsible for delivering the IP
  697. 28:21packet
  698. 28:22over the physical medium.
  699. 28:26Okay?
  700. 28:27Now, the figure here
  701. 28:29shows the example of the three TCP IP
  702. 28:31protocols used to send packets between
  703. 28:34the web server or the web browser
  704. 28:37of the host and the web server.
  705. 28:39So, you've got the HTTP
  706. 28:43or the Hypertext Transfer Protocol,
  707. 28:45which operates on the application layer.
  708. 28:49Okay? So, HTTP, TCP, and IP are TCP/IP
  709. 28:53protocols used.
  710. 28:57So, at the end of the network access
  711. 28:58layer, Ethernet is used
  712. 29:01in the example. However,
  713. 29:04this could also be a wireless standard
  714. 29:06such as WLAN or cellular service.
  715. 29:10Okay? So, for now, if you will observe
  716. 29:12on this diagram,
  717. 29:14each of the protocol here operates on a
  718. 29:16different layer.
  719. 29:18The Ethernet is operating on the network
  720. 29:20access.
  721. 29:21The The IP is operating on the internet
  722. 29:24layer.
  723. 29:25The TCP is operating on the transport
  724. 29:27layer, and the HTTP is operating on the
  725. 29:29application layer.
  726. 29:32So, if you will observe on this diagram,
  727. 29:34there are only four layers used.
  728. 29:37Okay? And this is a TCP/IP protocol
  729. 29:40suite.
  730. 29:41All right?
  731. 29:45Okay.
  732. 29:46So, today, the TCP/IP protocol suite
  733. 29:49includes many protocols and continues to
  734. 29:52evolve
  735. 29:53to support new services. So, some of
  736. 29:56more popular ones are shown on the
  737. 29:59diagram here.
  738. 30:00Okay?
  739. 30:02So, these are the protocols used and
  740. 30:05supported on the TCP/IP layers.
  741. 30:08Okay? So,
  742. 30:11on the application layer, we have what
  743. 30:13you call
  744. 30:15the name system or the DNS.
  745. 30:18Okay? So, the DNS or the domain name
  746. 30:20system translates domain name such as,
  747. 30:24say, cisco.com into an IP address
  748. 30:28or facebook.com into a corresponding IP
  749. 30:30address.
  750. 30:32All right?
  751. 30:34So, you also have the host config,
  752. 30:37which includes the DHCP version 4,
  753. 30:39version 6, and SLAAC.
  754. 30:43So, these are the protocols used to
  755. 30:45assign an IP addresses on the
  756. 30:47workstations.
  757. 30:49On email,
  758. 30:51you have SMTP, POP, and IMAP.
  759. 30:55Okay? SMTP is a single simple mail
  760. 30:58transfer protocol.
  761. 31:00It enables clients to send email
  762. 31:04to email server and enable servers to
  763. 31:06send email to other servers.
  764. 31:11You also have POP3 or POP3, the post
  765. 31:14office protocol version 3.
  766. 31:16It enables clients to retrieve email
  767. 31:19from a mail server and download the
  768. 31:22email to the client's local mail
  769. 31:23application.
  770. 31:26Next is IMAP.
  771. 31:28IMAP is an internet message access
  772. 31:31protocol. So, it enables clients to
  773. 31:32access email
  774. 31:34stored on a mail server as well as
  775. 31:36maintaining email on the server.
  776. 31:39Okay. So, the next one is a file
  777. 31:42transfer.
  778. 31:44For file transfer, we are using
  779. 31:46protocols like FTP,
  780. 31:48SFTP or the SSH file transfer protocol,
  781. 31:52and the TFTP or the trivial file
  782. 31:54transfer protocol.
  783. 31:57Okay?
  784. 31:58So, for the FTP, these are set of rules
  785. 32:01that enable the user on one host to
  786. 32:04access and transfer file to and from
  787. 32:07another host over the network.
  788. 32:09So, the FTP is reliable,
  789. 32:11connection-oriented, and acknowledged
  790. 32:13file delivery protocol.
  791. 32:16So, the next one is the SFTP.
  792. 32:20This is an SSH file transfer protocol,
  793. 32:24an extension of the secure shell
  794. 32:27protocol.
  795. 32:28Okay? So, the SFTP can be used to
  796. 32:31establish a secure file transfer session
  797. 32:34in which the file transfer is encrypted.
  798. 32:38So, SSH is a method for a secure remote
  799. 32:41login
  800. 32:42that is typically used for accessing the
  801. 32:44command line of a device.
  802. 32:49Next is TFTP or the Trivial File
  803. 32:52Transfer Protocol. So, a simple
  804. 32:54connectionless file transfer protocol
  805. 32:57with best effort unacknowledged file
  806. 33:00delivery. It uses less overhead than
  807. 33:03FTP.
  808. 33:05All right?
  809. 33:06So, next is on the transport layer.
  810. 33:10Okay? So, transport layer is basically
  811. 33:12divided into two.
  812. 33:14You've got connection-oriented and
  813. 33:16connectionless.
  814. 33:18Okay? So, when you say
  815. 33:19connection-oriented,
  816. 33:22we're talking about TCP protocols.
  817. 33:24Transmission Control Protocol enables
  818. 33:27reliable communication
  819. 33:29between the process running on a
  820. 33:30separate hosts and provides reliable
  821. 33:34acknowledge transmission that confirm
  822. 33:36successful delivery.
  823. 33:39Okay?
  824. 33:40So, when you say connectionless or UDP
  825. 33:43or the User Datagram Protocol,
  826. 33:46this enables a process running on one
  827. 33:48host to send packets to a process
  828. 33:51running on another host.
  829. 33:53Okay? However,
  830. 33:55UDP does not confirm successful datagram
  831. 33:59transmission.
  832. 34:00Okay? So, the only difference is this
  833. 34:02one is reliable
  834. 34:04Okay? So, for TCP and
  835. 34:07not reliable or unreliable for UDP.
  836. 34:12Okay?
  837. 34:13So, next is the internet layer.
  838. 34:17So, for the internet layer,
  839. 34:19this is divided into three. You've got
  840. 34:20internet protocols,
  841. 34:22um messaging and routing protocols.
  842. 34:26Okay?
  843. 34:27So, for the internet protocol, we have
  844. 34:29the
  845. 34:31IPv4
  846. 34:33which receives message segments from the
  847. 34:35transport layer,
  848. 34:37packages messages into packets, and
  849. 34:40address packets for an end-to-end
  850. 34:42delivery
  851. 34:43over a network. So, IP before uses a
  852. 34:4732-bit IP addresses.
  853. 34:50Okay?
  854. 34:51So, for IP V6, this is similar to IP
  855. 34:54before, it's just that it uses 128-bit
  856. 34:58address.
  857. 35:00All right?
  858. 35:01So, next is the network address
  859. 35:03translation. So, NAT or network address
  860. 35:06translation translates an IP before
  861. 35:08address
  862. 35:09from a private network into a globally
  863. 35:12unique public IP before addresses.
  864. 35:16Okay?
  865. 35:17So, you also have messaging, which
  866. 35:19includes the ICMP version 4, ICMP
  867. 35:22version 6,
  868. 35:24and the ICMP V6ND.
  869. 35:27Okay?
  870. 35:28So, ICMP is the Internet Control Message
  871. 35:31Protocol for IP before.
  872. 35:34And you also have for IP V6,
  873. 35:36and ND is an ICMP version 6 neighbor
  874. 35:40discovery,
  875. 35:41which includes the four protocol
  876. 35:42messages that are used for address
  877. 35:45resolution and duplicate address
  878. 35:47detection.
  879. 35:49Okay?
  880. 35:50So, next is routing protocol.
  881. 35:55So, for the routing protocols, we have a
  882. 35:57popular OSPF, EIGRP, and BGP.
  883. 36:02OSPF is an open shortest path first
  884. 36:07link state routing protocol that uses a
  885. 36:09hierarchical design
  886. 36:11based on areas. So, OSPF is an open
  887. 36:14standard interior routing protocol.
  888. 36:20Okay. So, next is EIGRP.
  889. 36:23EIGRP is enhanced interior gateway
  890. 36:27routing protocol.
  891. 36:29So, this one is an open standard routing
  892. 36:32protocol developed by Cisco that uses a
  893. 36:35composite metric on bandwidth, delay,
  894. 36:37load, and reliability.
  895. 36:39Okay?
  896. 36:40And the last one is BGP or the border
  897. 36:43gateway protocol, an open standard
  898. 36:46exterior gateway routing protocol
  899. 36:49used between internet service providers
  900. 36:51or ISPs.
  901. 36:52BGP is also commonly used between ISPs
  902. 36:55and their large private clients
  903. 36:58to exchange routing information.
  904. 37:01All right?
  905. 37:03Now, let's talk about the protocols on
  906. 37:05the network access layers.
  907. 37:07Okay? So, these are divided into the
  908. 37:09address resolution and the data link
  909. 37:12protocols.
  910. 37:13So, under address resolution,
  911. 37:16you've got the ARP
  912. 37:18or
  913. 37:18the address resolution protocol. So,
  914. 37:20this provides dynamic address mapping
  915. 37:24between an IPv4 and the hardware address
  916. 37:26or the MAC address.
  917. 37:29Okay?
  918. 37:30Now, next is a data link layer protocol.
  919. 37:33So, you I guess you are very familiar
  920. 37:35now with Ethernet. As what I'm saying
  921. 37:37and defining earlier,
  922. 37:38Ethernet is a protocol of the local area
  923. 37:40network.
  924. 37:42Okay? It defines the rules for wiring
  925. 37:44and signaling standards on the network
  926. 37:46access layer.
  927. 37:48And the last one is the wireless LAN
  928. 37:51or the wireless local area network.
  929. 37:53It defines the rules for wireless
  930. 37:55signaling across a 2.4 and 5 GHz radio
  931. 37:58frequencies.
  932. 38:01Okay?
  933. 38:02So,
  934. 38:03this is for TCP/IP. This is an open
  935. 38:06standard protocol suite that is freely
  936. 38:09available to public and can be used by
  937. 38:11any vendor.
  938. 38:16Okay. So, how about the TCP
  939. 38:18communication process?
  940. 38:21So, for instance, we have a web server
  941. 38:23here and you've got a web client.
  942. 38:26So, a web server encapsulating and
  943. 38:29sending a web page to a client.
  944. 38:32Okay?
  945. 38:33And a client de-encapsulate the web page
  946. 38:37for the web browser. So, basically this
  947. 38:41is our PDU here.
  948. 38:43Okay?
  949. 38:44So, PDU uh
  950. 38:46PDU pertains to the data format on a
  951. 38:49specific layer.
  952. 38:50Okay?
  953. 38:51On an Ethernet or layer two, we call it
  954. 38:54frame or Ethernet frame.
  955. 38:56Okay?
  956. 38:57On layer three,
  957. 38:59we call it IP or IP packet.
  958. 39:02Okay?
  959. 39:03On layer four,
  960. 39:05you you you call it TCP segment.
  961. 39:08Okay?
  962. 39:09And on layer seven,
  963. 39:11Okay, so you've got a user data.
  964. 39:14Okay? So, basically if we're talking
  965. 39:16about the TCP/IP communication process,
  966. 39:18this is uh layer one, Ethernet, network
  967. 39:22access.
  968. 39:23IP is the internet layer.
  969. 39:27Okay?
  970. 39:28TCP is
  971. 39:31uh the transport layer.
  972. 39:34And data is the application layer.
  973. 39:40All right.
  974. 39:41Now, let's talk about standards
  975. 39:44organization.
  976. 39:47Okay? So, when buying uh new tires for a
  977. 39:51car, there are many manufacturers you
  978. 39:53might choose. So, each of them will have
  979. 39:55at least one type of tire that fits to
  980. 39:58your car.
  981. 39:59Okay? That is because the automotive
  982. 40:01industry uses standards when they make
  983. 40:04cars.
  984. 40:06It is the same with protocols. So,
  985. 40:07because there are many different
  986. 40:09manufacturers of network components,
  987. 40:12they must all use the same standards. In
  988. 40:15networking, standards are developed by
  989. 40:18international standard organizations.
  990. 40:21Okay? So, open standards encourage
  991. 40:24interoperability, competition, and
  992. 40:27innovation.
  993. 40:28They also guarantee that the product of
  994. 40:32no single company can monopolize the
  995. 40:34market
  996. 40:35and have an unfair advantage over its
  997. 40:37competition.
  998. 40:39So, a good example is this: When
  999. 40:41purchasing a wireless router or router
  1000. 40:44for the home,
  1001. 40:46there are many different choices
  1002. 40:47available. Okay? So, from a variety of
  1003. 40:50vendors, all of which incorporate
  1004. 40:52standard protocols such as IPV4,
  1005. 40:54IPV6, DHCP, Slack, Ethernet, and
  1006. 40:58wireless.
  1007. 40:59Okay? So, this open standard allow a
  1008. 41:02client running the Apple OS X operating
  1009. 41:06system to download a webpage
  1010. 41:08from a web server running the Linux
  1011. 41:10operating systems.
  1012. 41:12Okay? So, this is because both operating
  1013. 41:16systems implemented
  1014. 41:18the open standard protocols such as
  1015. 41:20those of the TCP/IP protocol suite.
  1016. 41:25Okay?
  1017. 41:26So, standards organizations are usually
  1018. 41:28vendor neutral.
  1019. 41:30Nonprofit organizations established to
  1020. 41:32develop and promote the concept of open
  1021. 41:36standards.
  1022. 41:37Okay? So, these organizations are
  1023. 41:40important in maintaining an open
  1024. 41:42internet with freely accessible
  1025. 41:44specifications
  1026. 41:45and protocols that can be implemented by
  1027. 41:48any vendor.
  1028. 41:50Okay? So, a standards organization may
  1029. 41:54draft a set of rules entirely on its
  1030. 41:56own.
  1031. 41:57In other cases,
  1032. 41:59may select a proprietary protocol on the
  1033. 42:02basis of the standard.
  1034. 42:04If a proprietary protocol is used,
  1035. 42:07it usually involves the vendor who
  1036. 42:09created the protocol.
  1037. 42:11Okay? So, these are the open standards.
  1038. 42:15If you can name them,
  1039. 42:17okay? This is IEEE.
  1040. 42:21The Institute of Electrical and
  1041. 42:23Electronics Engineers.
  1042. 42:25You've got the IANA or the Internet
  1043. 42:27Assigned Numbers Authority. So, if you
  1044. 42:30want to have a registered IP address,
  1045. 42:32then you go to IANA.
  1046. 42:34Okay? You also have the IETF or the
  1047. 42:36Internet Engineering Task Force.
  1048. 42:39Okay? ICANN, the Internet Corporation
  1049. 42:43for Assigned Names and Numbers.
  1050. 42:46The ITU or the International Trade Union
  1051. 42:49and the TIA or the Telecommunication
  1052. 42:52Industry Alliances. So, these are
  1053. 42:55organizations
  1054. 42:56that is responsible for having a
  1055. 42:59standards.
  1056. 43:01Okay?
  1057. 43:04Okay, so various organizations have
  1058. 43:06different responsibilities for promoting
  1059. 43:08and creating standards for the Internet
  1060. 43:10and TCP/IP protocol.
  1061. 43:13So, the figure displays standard
  1062. 43:16organizations involved with the
  1063. 43:17development
  1064. 43:19and support for the Internet.
  1065. 43:22So,
  1066. 43:23ISOC or the Internet Society, this is an
  1067. 43:26organization with free membership. Okay?
  1068. 43:28So, if I were you, I would register with
  1069. 43:31ISOC. So, this is an open
  1070. 43:35uh organization. Okay? So, with free
  1071. 43:39membership. Okay? ISOC or the Internet
  1072. 43:41Society.
  1073. 43:42Now, under this ISOC, you've got the IAB
  1074. 43:45or the Internet Architecture Board.
  1075. 43:47And then in there, you've got the IETF,
  1076. 43:50the Engineering Task Force.
  1077. 43:53And you've got the IRTF, which is
  1078. 43:55responsible for the researches.
  1079. 43:58Okay?
  1080. 44:03So, for the Internet standards, so
  1081. 44:06you've got IANA, so registered IP
  1082. 44:08addresses.
  1083. 44:10IP addresses use is regulated by IANA.
  1084. 44:13So, together with the domain names
  1085. 44:15and the use of this port numbers, TCP
  1086. 44:18and UDP port numbers.
  1087. 44:21Okay? So, ICANN coordinates IP address
  1088. 44:25allocation, the management of domain
  1089. 44:27names, and assignment
  1090. 44:29of other information. While IANA
  1091. 44:31oversees and manages IP addresses
  1092. 44:33allocation, domain name management, and
  1093. 44:36protocol identifiers for ICANN. So, they
  1094. 44:38work hand in hand to all to have an
  1095. 44:41internet standards.
  1096. 44:44Okay.
  1097. 44:46So, you also have this IEEE, which I
  1098. 44:49defined earlier. Okay? So,
  1099. 44:53let's move on to the next one.
  1100. 44:57Okay, so let's talk about the reference
  1101. 44:59models now.
  1102. 45:06Okay. So, you cannot actually watch a
  1103. 45:09real packets across a real network.
  1104. 45:12So, the way you can watch the components
  1105. 45:14of a car being put together
  1106. 45:17on an assembly line.
  1107. 45:19So,
  1108. 45:21it helps to have a way of thinking
  1109. 45:24about a network so that you can imagine
  1110. 45:26what is happening.
  1111. 45:28So, a model is useful in this situation.
  1112. 45:32Okay? So, complex concepts such as
  1113. 45:36how a network operates can be difficult
  1114. 45:38to explain and understand. So, for this
  1115. 45:41reason, a layered model is used to
  1116. 45:44modularize the operations of a network
  1117. 45:47into a manageable layers.
  1118. 45:50So, there are benefits of using a
  1119. 45:52layered model to describe network
  1120. 45:54protocols and operations.
  1121. 45:56So, assisting in protocol design because
  1122. 45:59operations or protocols that operate at
  1123. 46:02a specific layer have defined
  1124. 46:04information that they can act upon
  1125. 46:07and define interface
  1126. 46:09to that layers above and below.
  1127. 46:13So, fostering competition because
  1128. 46:15products from different vendors can work
  1129. 46:17together.
  1130. 46:18Preventing technology or capability
  1131. 46:20changes in one layer from affecting
  1132. 46:23other layers above and below.
  1133. 46:26Providing a common language to describe
  1134. 46:28networking function and capabilities.
  1135. 46:31Now, as shown here in the figure, there
  1136. 46:34are two layered models that are used to
  1137. 46:36describe network operations.
  1138. 46:38So, you've got the Open System
  1139. 46:40Interconnection Model or Reference Model
  1140. 46:42and you've got a TCP/IP Reference Model.
  1141. 46:46Okay? So, OSI is from the ISO and TCP/IP
  1142. 46:51is from the IEEE.
  1143. 46:55So, at the top of the image, there are
  1144. 46:59two LANs connected via
  1145. 47:01wide area network.
  1146. 47:03Okay? So, a networking model is used
  1147. 47:07only to represent the network operation.
  1148. 47:10So, the model is not the actual network.
  1149. 47:13Underneath are the TCP/IP layers and
  1150. 47:17protocols.
  1151. 47:18Now, there are seven layers of the OSI
  1152. 47:21model from top to bottom and their
  1153. 47:23associated protocols.
  1154. 47:25So, you've got application,
  1155. 47:27presentation, session, transport,
  1156. 47:31network, data link, and physical layer.
  1157. 47:34Okay?
  1158. 47:35Now, for the TCP/IP model, so there are
  1159. 47:38four layers.
  1160. 47:40Okay? So, from the top, you've got the
  1161. 47:42applications,
  1162. 47:44you've got the transport, the internet,
  1163. 47:46and
  1164. 47:47the network access.
  1165. 47:50Okay?
  1166. 47:50So,
  1167. 47:52basically,
  1168. 47:54the OSI model is a detailed
  1169. 47:58um model
  1170. 48:00for
  1171. 48:01uh computer science, IT.
  1172. 48:04Okay? So, they use OSI model. But, for
  1173. 48:07engineers,
  1174. 48:09we use the TCP/IP model. So, but then
  1175. 48:11they are the same.
  1176. 48:13Okay? So, TCP/IP model is more generic,
  1177. 48:18whereas the OSI model is more specific.
  1178. 48:22Okay?
  1179. 48:27Next,
  1180. 48:29let's get into the detail of the OSI
  1181. 48:32reference model.
  1182. 48:33Okay? So, the OSI reference model
  1183. 48:36provides an extensive list of functions
  1184. 48:39and services that can occur at each
  1185. 48:41layer.
  1186. 48:42So, this type of model provides
  1187. 48:44consistency
  1188. 48:46within all types of network protocols
  1189. 48:48and services by describing what must be
  1190. 48:51done at a particular layer.
  1191. 48:54So, but not prescribing
  1192. 48:56how it should be accomplished.
  1193. 48:59Okay?
  1194. 48:59So, it also describes the interaction of
  1195. 49:01each layer with the layers directly
  1196. 49:03above and below.
  1197. 49:05So, the TCP/IP protocol discusses
  1198. 49:09or discussed in this video lecture
  1199. 49:11are structured around both the OSI and
  1200. 49:14the TCP/IP models.
  1201. 49:16So, the table shows the detail about
  1202. 49:19each layer of the OSI model, the
  1203. 49:21functionality of each layer, and the
  1204. 49:23relationship between layers will become
  1205. 49:25more evident throughout the course as
  1206. 49:28the protocols are discussed in more
  1207. 49:30detail.
  1208. 49:31Okay?
  1209. 49:32So, basically, you've got the
  1210. 49:34application contains protocols
  1211. 49:38used for process-to-process
  1212. 49:39communications.
  1213. 49:41You also have the presentation, which
  1214. 49:42provides a common representation of data
  1215. 49:45transferred between application layer
  1216. 49:47services.
  1217. 49:48The session layer provides services
  1218. 49:51to the presentation layer and to manage
  1219. 49:54data exchange.
  1220. 49:56The transport layer defines services to
  1221. 49:58segment, transfer, and reassemble the
  1222. 50:01data for individual communications.
  1223. 50:04The network layer provides services to
  1224. 50:06exchange the individual pieces of data
  1225. 50:09over the network
  1226. 50:10and prescribes a method for exchanging
  1227. 50:13data frames over a common media for the
  1228. 50:15data link layer.
  1229. 50:17So, basically, your physical layer
  1230. 50:19describes the means to activate,
  1231. 50:21maintain, and deactivate physical
  1232. 50:23connections.
  1233. 50:24Okay? Now, talking about the protocol
  1234. 50:27data unit, okay? On the physical layer,
  1235. 50:30the data is represented in terms of
  1236. 50:32bits.
  1237. 50:34All right? On the data link layer, your
  1238. 50:37data is represented in terms of frames.
  1239. 50:39On the network layer, we call it
  1240. 50:41packets.
  1241. 50:42On the transport layer, we call it
  1242. 50:45segment or datagram.
  1243. 50:47And then on the on the application
  1244. 50:49layer, basically,
  1245. 50:50your data is
  1246. 50:53in a form of applications that is
  1247. 50:56readable and visible to the users.
  1248. 50:59All right?
  1249. 51:03Now, on the TCP/IP reference model,
  1250. 51:06the TCP/IP protocol model for the
  1251. 51:08internetwork communication was created
  1252. 51:11in the early 1970s
  1253. 51:13and is sometimes referred to as the
  1254. 51:14internet model.
  1255. 51:16Okay? So, this type of model closely
  1256. 51:19matches the structure of a particular
  1257. 51:21protocol suite.
  1258. 51:23So, the TCP/IP model is a protocol model
  1259. 51:26because it describes the function that
  1260. 51:29occur at each layer of the protocols
  1261. 51:32within the TCP/IP suite.
  1262. 51:34So, the TCP/IP is also used as a
  1263. 51:37reference model.
  1264. 51:39Okay? Now,
  1265. 51:42the distinct
  1266. 51:44um Mhm, components of the TCP/IP and
  1267. 51:49the OSI model is basically
  1268. 51:53having seven and four respectively.
  1269. 51:57Okay?
  1270. 51:59So, on the TCP/IP reference model, so it
  1271. 52:02has been
  1272. 52:04four layers where the OSI layer is using
  1273. 52:07the seven layers. Okay? So, combining
  1274. 52:10the physical and the data link layer
  1275. 52:12into network access,
  1276. 52:14there is no network layer on the TCP/IP
  1277. 52:17reference model. We call it internet
  1278. 52:19layer.
  1279. 52:21Okay? So, transport has the same name
  1280. 52:24and application basically is a split
  1281. 52:26into
  1282. 52:27application layer, presentation layer,
  1283. 52:29and session layer.
  1284. 52:33Okay?
  1285. 52:34So, here's the comparison of the two
  1286. 52:37models.
  1287. 52:38So, the protocols that make up the
  1288. 52:39TCP/IP protocol suite can also be
  1289. 52:41described in terms of the OSI reference
  1290. 52:44model.
  1291. 52:46So, in the OSI reference model, the
  1292. 52:49network access and the application layer
  1293. 52:52of the TCP/IP model are further divided
  1294. 52:54to describe discrete functions that must
  1295. 52:57occur at these layers.
  1296. 53:00So, at the network access layer, the
  1297. 53:03TCP/IP protocol suite does not specify
  1298. 53:06which protocol to use when transmitting
  1299. 53:10over the physical medium.
  1300. 53:12It only describes the half of
  1301. 53:15from the internet layer to the physical
  1302. 53:17network protocols.
  1303. 53:19Whereas the OSI layers one and two
  1304. 53:22discusses necessary procedures to access
  1305. 53:25the media
  1306. 53:26and the physical means to send data over
  1307. 53:29the network.
  1308. 53:31Okay?
  1309. 53:34Next,
  1310. 53:35let's talk about data encapsulation now.
  1311. 53:40Okay. So, knowing the reference model
  1312. 53:45and the TCP/IP protocol model will come
  1313. 53:48in handy when you learn about how data
  1314. 53:51is encapsulated as it moves across a
  1315. 53:54network.
  1316. 53:55So, it is not as simple as the physical
  1317. 53:58letter being sent through the mail
  1318. 54:00system.
  1319. 54:01Okay? So, in theory
  1320. 54:04a single communication such as a video
  1321. 54:06or an email message with many large
  1322. 54:09attachments could be sent the network
  1323. 54:11from the source to destination as one
  1324. 54:14massive uninterrupted stream of bits.
  1325. 54:19However
  1326. 54:20this would create problems for other
  1327. 54:23devices needing to use the same
  1328. 54:25communication channels or links.
  1329. 54:27This large streams of data would result
  1330. 54:30in a significant delays. So, further
  1331. 54:33if any link in the interconnected
  1332. 54:36network infrastructure failed during the
  1333. 54:38transmission
  1334. 54:40the complete message would be lost and
  1335. 54:43would have to be retransmitted in full.
  1336. 54:46So, a better approach is to divide the
  1337. 54:48data into smaller pieces. We call it
  1338. 54:50segments.
  1339. 54:51Okay? So, segmentation is the process of
  1340. 54:54dividing streams of data into smaller
  1341. 54:56units for transmission over the network.
  1342. 55:01So, segmentation is necessary because
  1343. 55:04data networks use TCP/IP protocol suite
  1344. 55:07send data in individual IP packets.
  1345. 55:11So, each packet is sent separately.
  1346. 55:14Similar to sending a long letter as
  1347. 55:17series of individual postcards.
  1348. 55:20Okay? Or packets containing segments for
  1349. 55:23the same destination can be sent over
  1350. 55:26different paths.
  1351. 55:28So, this leads to segmenting message
  1352. 55:30having the two primary benefits.
  1353. 55:33Okay? What are these?
  1354. 55:35Increased speed and increases
  1355. 55:38efficiency.
  1356. 55:39Okay? So, because a large data stream is
  1357. 55:42segmented into packets, large amounts of
  1358. 55:45data can be sent over the network
  1359. 55:47without trying a communications link.
  1360. 55:51Okay? So, this allows many different
  1361. 55:54conversations to be interleaved on the
  1362. 55:57network called multiplexing.
  1363. 56:01Next is increased efficiency.
  1364. 56:04If a simple segment or single segment is
  1365. 56:07fails to reach its destination due to
  1366. 56:10failure in the network or network
  1367. 56:12congestion,
  1368. 56:13only that segment needs to be
  1369. 56:15retransmitted instead of resending the
  1370. 56:17entire data stream.
  1371. 56:18Okay, so this is the reason why we need
  1372. 56:21to segment the messages.
  1373. 56:24Okay?
  1374. 56:25Now, the challenge here
  1375. 56:28is
  1376. 56:30using segmentation and multiplexing to
  1377. 56:32transmit messages across the network
  1378. 56:35is the level of complexity that is added
  1379. 56:38to the process. Now, imagine if you had
  1380. 56:41to send 100-page letter,
  1381. 56:44but each envelope could only hold one
  1382. 56:47page.
  1383. 56:48Okay? So, therefore, 100 envelopes would
  1384. 56:51be required and each envelope would need
  1385. 56:54to be addressed individually.
  1386. 56:57Okay?
  1387. 56:59Now,
  1388. 57:01having said that, it is possible that
  1389. 57:04the 100-page letter in 100 different
  1390. 57:07envelopes arrives out of order,
  1391. 57:09right?
  1392. 57:10So, consequently,
  1393. 57:12the information in the envelope would
  1394. 57:15need to include a sequence number to
  1395. 57:16ensure that the receiver could
  1396. 57:19reassemble the pages
  1397. 57:21in the proper order.
  1398. 57:23So, in network communications, each
  1399. 57:25segment of the message must go through a
  1400. 57:29similar process to ensure that it gets
  1401. 57:31the correct destination. And
  1402. 57:34it can be reassembled into a content of
  1403. 57:37the original messages.
  1404. 57:40Okay? So, TCP is responsible for
  1405. 57:42sequencing and individual or sequencing
  1406. 57:45the individual
  1407. 57:47segments.
  1408. 57:48Okay? So, remember this. TCP is
  1409. 57:51responsible for sequencing the
  1410. 57:53individual segments because TCP is said
  1411. 57:56to be reliable.
  1412. 57:58All right?
  1413. 58:01Next,
  1414. 58:02let's talk about protocol data units.
  1415. 58:04You
  1416. 58:05you hear me saying PDUs.
  1417. 58:08Okay? So, PDUs is basically the data
  1418. 58:11representation on each of the layer.
  1419. 58:14And protocol data units,
  1420. 58:17okay? On the application layer, we
  1421. 58:19simply call it data.
  1422. 58:21And the concept is the data needs to be
  1423. 58:24segmented
  1424. 58:25before forwarding it to the destination.
  1425. 58:28Okay?
  1426. 58:29Now, each segment of the data is having
  1427. 58:32their transport header.
  1428. 58:34Now, what is the content of the
  1429. 58:35transport header?
  1430. 58:36Well, basically the the one of the
  1431. 58:38important component of the transport
  1432. 58:40header is the port address.
  1433. 58:43So, port address pertains to the
  1434. 58:45application's address.
  1435. 58:47Okay? And when encapsulated, we call it
  1436. 58:50segment.
  1437. 58:52Okay?
  1438. 58:53Now, that segment moving further
  1439. 58:55downward,
  1440. 58:57once it reaches
  1441. 58:59the network layer, okay? So, apart from
  1442. 59:02the transport layer of the front
  1443. 59:04transport header appended on the
  1444. 59:06transport layer,
  1445. 59:07the network layer will append another
  1446. 59:10network header having the source and
  1447. 59:12destination IP address.
  1448. 59:14And when encapsulated, we call it
  1449. 59:16packets.
  1450. 59:18Okay?
  1451. 59:19Now, reaching on the second layer,
  1452. 59:23so, this is now what you call frame.
  1453. 59:26And the frame has the frame header
  1454. 59:30having the source and destination MAC
  1455. 59:32address. And of course, it is it has a
  1456. 59:34trailer.
  1457. 59:37Okay?
  1458. 59:38So, you have to remember this protocol
  1459. 59:40data unit
  1460. 59:41on each of the layers.
  1461. 59:47Okay. So, when messages are being sent
  1462. 59:50on a network, then capsulation process
  1463. 59:52works from top to bottom.
  1464. 59:55Okay?
  1465. 59:56And at each layer, the upper layer
  1466. 59:59information is considered data within
  1467. 1:00:01the encapsulated protocol. So, for
  1468. 1:00:03example,
  1469. 1:00:04the TCP segment is considered within the
  1470. 1:00:07IP packet.
  1471. 1:00:09Okay?
  1472. 1:00:11Now, in here,
  1473. 1:00:13if you'll observe here,
  1474. 1:00:14your data is there.
  1475. 1:00:16Okay? And it has this header, TCP, IP,
  1476. 1:00:19and the Ethernet. So, basically,
  1477. 1:00:22this is now your data transmitted from
  1478. 1:00:24the web server to the web client and
  1479. 1:00:26vice versa.
  1480. 1:00:28Okay?
  1481. 1:00:32Now, this process is reversed at the
  1482. 1:00:34receiving host and is known as
  1483. 1:00:37de-encapsulation.
  1484. 1:00:39Okay? So, de-encapsulation
  1485. 1:00:42is the process used by receiving device
  1486. 1:00:45to remove one
  1487. 1:00:48or more of the protocol headers.
  1488. 1:00:50The data is de-encapsulated as it moves
  1489. 1:00:53up stack towards the
  1490. 1:00:56user or the end user's application.
  1491. 1:00:59Okay?
  1492. 1:01:00So, the each of this header will be
  1493. 1:01:02removed until it reaches the application
  1494. 1:01:05layer for presentation to the end users.
  1495. 1:01:09Okay?
  1496. 1:01:12Next,
  1497. 1:01:13data access.
  1498. 1:01:15Okay?
  1499. 1:01:19As you learned,
  1500. 1:01:20okay, it is necessary to segment
  1501. 1:01:22messages in a network, but those
  1502. 1:01:24segmented messages will not go anywhere
  1503. 1:01:27if they are not addressed properly.
  1504. 1:01:30Okay? So, this topic gives you an
  1505. 1:01:33overview of network addresses. So, you
  1506. 1:01:36will also get a chance to use
  1507. 1:01:39other tools, now. If you are using
  1508. 1:01:41Wireshark, okay? Which will help you
  1509. 1:01:44view the network traffic.
  1510. 1:01:47Now, the network and data link layers
  1511. 1:01:49are responsible for delivering the data
  1512. 1:01:52from the source device to a destination
  1513. 1:01:54device.
  1514. 1:01:55Okay?
  1515. 1:01:56So, in here
  1516. 1:01:59you've got the
  1517. 1:02:02network layer source and destination
  1518. 1:02:04address. You've got the data link data
  1519. 1:02:07link layer source and destination
  1520. 1:02:08addresses.
  1521. 1:02:10Okay?
  1522. 1:02:11So, basically
  1523. 1:02:14on the physical layer your data is dealt
  1524. 1:02:18with timing and synchronization of bits.
  1525. 1:02:21On the data link layer, you've got the
  1526. 1:02:23destination
  1527. 1:02:25and source physical address. When you
  1528. 1:02:27say physical address, this pertains to
  1529. 1:02:29the MAC address of your computer.
  1530. 1:02:32Okay?
  1531. 1:02:34Your network
  1532. 1:02:36is having the source and
  1533. 1:02:39destination logical network address. So,
  1534. 1:02:42when you say logical network address,
  1535. 1:02:43this pertains to the IP address of your
  1536. 1:02:46computer.
  1537. 1:02:47Okay? Your transport
  1538. 1:02:50has this destination and source
  1539. 1:02:52process number or port addresses. This
  1540. 1:02:55pertains to the addresses of the
  1541. 1:02:57applications residing within your
  1542. 1:03:00computer.
  1543. 1:03:01So, basically, your PDU comprises of
  1544. 1:03:04several addresses once it traverses from
  1545. 1:03:07the source to destination or while in
  1546. 1:03:08transit.
  1547. 1:03:10Okay?
  1548. 1:03:15Okay, so, layer three logical address.
  1549. 1:03:19An IP address is the network layer or
  1550. 1:03:22layer three logical address used to
  1551. 1:03:25deliver the IP packet from the original
  1552. 1:03:28source to the final destination.
  1553. 1:03:31Okay, as shown on this diagram here.
  1554. 1:03:33Okay? So, your IP packet traverses over
  1555. 1:03:36the network. Okay, so from one router to
  1556. 1:03:39another and so on. And that is in a form
  1557. 1:03:41of a PDU called packet.
  1558. 1:03:45Okay? So, the source IP address,
  1559. 1:03:48the IP address of the sending device,
  1560. 1:03:51original source of the packet. The
  1561. 1:03:54destination IP address is the IP address
  1562. 1:03:56of the receiving device, the final
  1563. 1:03:58destination of the IP packet.
  1564. 1:04:01Okay? So, the IP address doesn't change
  1565. 1:04:05while your data moves from the source to
  1566. 1:04:08destination.
  1567. 1:04:09Okay? It is fixed.
  1568. 1:04:12Okay?
  1569. 1:04:13Next.
  1570. 1:04:16Now, your layer three logical address
  1571. 1:04:18comprises of the network portion and the
  1572. 1:04:22host portion.
  1573. 1:04:23Okay? So, basically,
  1574. 1:04:26when you say network portion, the
  1575. 1:04:29leftmost part of the address that
  1576. 1:04:32indicates the network in which the
  1577. 1:04:34address or the IP address is a member.
  1578. 1:04:36So, all devices on the same network will
  1579. 1:04:39have the same network portion of the
  1580. 1:04:42address. So, we will be dealing with
  1581. 1:04:44this on IP addressing. So, for now, you
  1582. 1:04:48just have to know that your IP address
  1583. 1:04:49are divided into two. You've got the
  1584. 1:04:51network portion and the host portion.
  1585. 1:04:54Okay? So, the host portion is the
  1586. 1:04:57remaining part of the address that
  1587. 1:04:59identifies the specific device on the
  1588. 1:05:01network. So, this portion is unique for
  1589. 1:05:04each of the device or interface on the
  1590. 1:05:07network.
  1591. 1:05:09Okay? So, we will be talking about this
  1592. 1:05:11once we get onto the IP addressing. But,
  1593. 1:05:14to give you an overview,
  1594. 1:05:16okay? So,
  1595. 1:05:19the network portion for the source IP
  1596. 1:05:22address is 192.168.1.
  1597. 1:05:26This is what you call a network portion.
  1598. 1:05:29The host portion is 110.
  1599. 1:05:32Okay?
  1600. 1:05:33Now, if we're talking about 172.16,
  1601. 1:05:36okay? So, this will depend or vary on
  1602. 1:05:39the subnet mask. So, if we are using
  1603. 1:05:42the classful addressing,
  1604. 1:05:46this is class C and this one here is
  1605. 1:05:48class B. So, therefore, the destination
  1606. 1:05:50IP address 172.16
  1607. 1:05:53pertains to the network portion and 1.99
  1608. 1:05:57is the host portion. So, as what I'm
  1609. 1:05:59saying, we will be dealing about this
  1610. 1:06:02more on the IP addressing on the
  1611. 1:06:04succeeding
  1612. 1:06:05video lecture.
  1613. 1:06:07Okay?
  1614. 1:06:08So, for now, let's move on to the next
  1615. 1:06:10slide.
  1616. 1:06:12Okay.
  1617. 1:06:13So, devices on the same network.
  1618. 1:06:16In this example, we have a computer
  1619. 1:06:18client
  1620. 1:06:20Okay? PC1
  1621. 1:06:22communicating with an FTP server on the
  1622. 1:06:25same IP network.
  1623. 1:06:27Okay?
  1624. 1:06:28So, the source IPV4 address
  1625. 1:06:32of the sending device client is
  1626. 1:06:34192.168.1.110.
  1627. 1:06:37So, this is the IP address of this
  1628. 1:06:39computer sending and the destination IP
  1629. 1:06:42address
  1630. 1:06:44is of course the IP address of the FTP
  1631. 1:06:46server
  1632. 1:06:47and that is on 192.168.1.9.
  1633. 1:06:50So, they are on the same network, so
  1634. 1:06:52that means 192.168.1
  1635. 1:06:55is the network portion.
  1636. 1:06:57Same thing with this.
  1637. 1:06:59.110 and .9 are the host portion.
  1638. 1:07:05Okay? So, when we say that they are on
  1639. 1:07:07the same network,
  1640. 1:07:09okay, so the first three octets in this
  1641. 1:07:13case are the same.
  1642. 1:07:14They only differ on the fourth octet. We
  1643. 1:07:16call this octet.
  1644. 1:07:18Okay?
  1645. 1:07:19So, 110 and 9, so they are different
  1646. 1:07:23components or different computers, but
  1647. 1:07:26they belong to the same network,
  1648. 1:07:28192.168.1.0.
  1649. 1:07:31Okay?
  1650. 1:07:35Next.
  1651. 1:07:38Data access rule in the data link layer
  1652. 1:07:41address, same IP network. Okay? So,
  1653. 1:07:43earlier on, we used an IP address. Now,
  1654. 1:07:47in here, we use MAC addresses now.
  1655. 1:07:50Okay? When the sender and the receiver
  1656. 1:07:53of the IP packet are on the same
  1657. 1:07:54network, the data link frame is sent
  1658. 1:07:57directly to the receiving device.
  1659. 1:08:00On an Ethernet network, the data link
  1660. 1:08:02addresses are known as the Ethernet
  1661. 1:08:05media access control or MAC address, or
  1662. 1:08:10also known as the physical address. So,
  1663. 1:08:13this A A A A A here and this C here, a
  1664. 1:08:17series of C, are what you call MAC
  1665. 1:08:19address.
  1666. 1:08:21Okay? So, MAC addresses are physically
  1667. 1:08:23embedded onto the Ethernet NIC.
  1668. 1:08:27So, the source MAC address,
  1669. 1:08:30this is the data link address or the
  1670. 1:08:32Ethernet MAC address
  1671. 1:08:34of the device that sends the data
  1672. 1:08:37with an encapsulated IP packet. So, the
  1673. 1:08:40MAC address of the Ethernet for PC1 is a
  1674. 1:08:44series of A here.
  1675. 1:08:46Okay? So, this uses a hexadecimal
  1676. 1:08:49notation. And the destination MAC
  1677. 1:08:51address of the FTP server are all C
  1678. 1:08:55here, again, in hexadecimal notation.
  1679. 1:08:58Okay? So, the frame with encapsulated IP
  1680. 1:09:02packet can be transmitted from PC1
  1681. 1:09:05directly to the FTP server.
  1682. 1:09:08Okay? That's the communication
  1683. 1:09:11on the data link layer.
  1684. 1:09:13Okay? On the data link layer, your
  1685. 1:09:15devices uses MAC address. On the network
  1686. 1:09:18layer, your devices uses an IP address.
  1687. 1:09:25Okay. So, how about devices on a remote
  1688. 1:09:27network?
  1689. 1:09:29Okay?
  1690. 1:09:30So,
  1691. 1:09:32for instance,
  1692. 1:09:33okay? We have here
  1693. 1:09:35a source
  1694. 1:09:37which is located on 192.168.1.10.
  1695. 1:09:40And our destination, for instance, is a
  1696. 1:09:42web server at 172.16.1.199.
  1697. 1:09:46Okay? So, the consideration here is a
  1698. 1:09:49/24.
  1699. 1:09:51Okay? So, having a /24, that means the
  1700. 1:09:55subnet mask is 255.255.255.0.
  1701. 1:09:59That means the first three octet
  1702. 1:10:03corresponds to the network ID.
  1703. 1:10:06And
  1704. 1:10:08the last octet corresponds to the host.
  1705. 1:10:10So, you've got the network the network
  1706. 1:10:12portion, and you've got the host portion
  1707. 1:10:14here.
  1708. 1:10:15Okay?
  1709. 1:10:19So, what happens when the actual
  1710. 1:10:21ultimate destination is not on the same
  1711. 1:10:23LAN and it is remote? So, basically, if
  1712. 1:10:27your computer is communicating on a
  1713. 1:10:29remote
  1714. 1:10:31device,
  1715. 1:10:32okay? So, your switch will basically
  1716. 1:10:36examine
  1717. 1:10:38the packet,
  1718. 1:10:40and if it is not on the same network, it
  1719. 1:10:42will be forwarded onto the default
  1720. 1:10:44gateway.
  1721. 1:10:46Okay? That's the sense of the default
  1722. 1:10:48gateway. Whenever we communicate with
  1723. 1:10:50the other devices or other computers on
  1724. 1:10:52the other network,
  1725. 1:10:54your default gateway is being used.
  1726. 1:10:57Okay?
  1727. 1:10:58Now, what happens when PC1 tries to
  1728. 1:11:00reach the web server? So, it's what I'm
  1729. 1:11:02saying, if the destination is not on the
  1730. 1:11:04same network, okay, so therefore it will
  1731. 1:11:06be forwarded onto the default gateway.
  1732. 1:11:10Okay?
  1733. 1:11:11And therefore,
  1734. 1:11:13your data will communicate on the
  1735. 1:11:16network layer, okay? And then once it
  1736. 1:11:19reaches on the destination, it will go
  1737. 1:11:22back to layer two and then forwarding it
  1738. 1:11:25to the web server using the
  1739. 1:11:28MAC address.
  1740. 1:11:30Okay? So, IP addresses are being used by
  1741. 1:11:34routers.
  1742. 1:11:36Okay? Whereas,
  1743. 1:11:38MAC addresses are being used by
  1744. 1:11:39switches. So, how come the switch can
  1745. 1:11:42communicate with the router? So,
  1746. 1:11:44remember that we have the protocol
  1747. 1:11:46called ARP. Okay? The ARP is a protocol
  1748. 1:11:50responsible for mapping the MAC address
  1749. 1:11:53into its corresponding IP address.
  1750. 1:11:55Okay? So, that makes sense here, but
  1751. 1:11:58we'll get into the details of moving
  1752. 1:12:01data from the source to destination as
  1753. 1:12:03we progress as we the course.
  1754. 1:12:05So, for now,
  1755. 1:12:06let's put it that way.
  1756. 1:12:08MAC address is on the layer two and it
  1757. 1:12:11is usually used by the switch
  1758. 1:12:13and your IP address or layer two
  1759. 1:12:15addresses are usually being used by the
  1760. 1:12:17routers.
  1761. 1:12:19All right?
  1762. 1:12:22Okay, so what is the role of the network
  1763. 1:12:24layer addresses? So, when the sender of
  1764. 1:12:26the packet is on a different network
  1765. 1:12:29from the receiver, the source and
  1766. 1:12:31destination IP address will represent
  1767. 1:12:33hosts on a different network.
  1768. 1:12:36So, this will indicate or this will be
  1769. 1:12:38indicated by the network portion of the
  1770. 1:12:41address.
  1771. 1:12:43Okay? And the destination host.
  1772. 1:12:46So, in this example, the source IP
  1773. 1:12:49address is to
  1774. 1:12:52Okay?
  1775. 1:12:53This is the source. And the destination,
  1776. 1:12:55take a look at it. It's 172.16.1.
  1777. 1:12:5899, which is located on the other
  1778. 1:13:01network.
  1779. 1:13:03Okay?
  1780. 1:13:04So, notice that in the figure, that the
  1781. 1:13:06network portion of the source IPV4
  1782. 1:13:09address and the destination address are
  1783. 1:13:12on different networks. Okay? So, in here
  1784. 1:13:17you've got 192.168.1.10.
  1785. 1:13:20And in there, you've got 172.16.1.99.
  1786. 1:13:23So, they are on a different network.
  1787. 1:13:26All right?
  1788. 1:13:28Next, the role of the data link layer
  1789. 1:13:32Okay? And our data link layer addresses
  1790. 1:13:34in a different IP network.
  1791. 1:13:36So, when the receiver or when the sender
  1792. 1:13:39and the receiver
  1793. 1:13:40of the IP packet are on different
  1794. 1:13:42network, the Ethernet data link frame
  1795. 1:13:44cannot be sent directly to the
  1796. 1:13:46destination because the host is not
  1797. 1:13:49directly reachable.
  1798. 1:13:51Okay?
  1799. 1:13:51So, the Ethernet frame must be sent to
  1800. 1:13:55another device known as the router or
  1801. 1:13:58the default gateway, which I mentioned
  1802. 1:14:00earlier.
  1803. 1:14:01Okay? So, in our example, the default
  1804. 1:14:03gateway of
  1805. 1:14:06PC1 is the interface of R1, which is
  1806. 1:14:09192.168.1.1.
  1807. 1:14:11So, again, the switch should know that
  1808. 1:14:14the destination is not on the same
  1809. 1:14:16network.
  1810. 1:14:17Okay? So, therefore, it will be
  1811. 1:14:19forwarded on to the R1's default gateway
  1812. 1:14:22so that it can be forwarded by R1 to
  1813. 1:14:25another directly connected routers to it
  1814. 1:14:27until it reaches the destination.
  1815. 1:14:31All right?
  1816. 1:14:35Okay.
  1817. 1:14:36So, the MAC address
  1818. 1:14:39in this case,
  1819. 1:14:40the source MAC address is AAA, and then
  1820. 1:14:43the destination's MAC address is
  1821. 1:14:4511 11 11 11. Now,
  1822. 1:14:49as your data moves from the source to
  1823. 1:14:51destination,
  1824. 1:14:52the IP address is fixed. The source IP
  1825. 1:14:56address is fixed, the destination IP
  1826. 1:14:58address is fixed.
  1827. 1:14:59Okay? But, it is different in the case
  1828. 1:15:02of the data link layer or the MAC MAC
  1829. 1:15:05addresses.
  1830. 1:15:07Okay? So, basically, every hops,
  1831. 1:15:10your MAC address changes. Okay? So, for
  1832. 1:15:13instance, on this hop,
  1833. 1:15:15from PC1 going to the default gateway,
  1834. 1:15:18okay? The source MAC address is the MAC
  1835. 1:15:21address of PC1, and the destination MAC
  1836. 1:15:24address is the MAC address of the R1's
  1837. 1:15:28uh interface. This interface
  1838. 1:15:30specifically.
  1839. 1:15:32Okay?
  1840. 1:15:33So, once it moves the data from the
  1841. 1:15:35source to another hop,
  1842. 1:15:38your MAC address source and destination
  1843. 1:15:40changes. So, basically, if we already
  1844. 1:15:43have reached this area here from R2
  1845. 1:15:45going to the web server,
  1846. 1:15:47the source MAC address is
  1847. 1:15:50the MAC address of this router here,
  1848. 1:15:53which in this case is 22 22 22 22 22 22,
  1849. 1:15:57okay? And the destination MAC address is
  1850. 1:15:59the ABCDEF 1234 and 56. So, that's how
  1851. 1:16:04it works.
  1852. 1:16:05Okay?
  1853. 1:16:09Next, data link layer addresses. So, the
  1854. 1:16:12data link layer two physical address has
  1855. 1:16:15a different role. The purpose of the
  1856. 1:16:17data link layer address is to deliver
  1857. 1:16:19the data
  1858. 1:16:21from one network interface to another
  1859. 1:16:23network interface on the same network.
  1860. 1:16:27Okay? That's the use of the MAC address.
  1861. 1:16:30If the source and destination are on the
  1862. 1:16:32same network, then we just have to use
  1863. 1:16:35the MAC address.
  1864. 1:16:36All right?
  1865. 1:16:39So, bef- before an IP packet can be sent
  1866. 1:16:43over a wired or wireless network, it
  1867. 1:16:45must be encapsulated in a data link
  1868. 1:16:47frame, so it can be transmitted over the
  1869. 1:16:49physical
  1870. 1:16:51medium.
  1871. 1:16:53Okay?
  1872. 1:16:54So,
  1873. 1:16:57next.
  1874. 1:17:00Okay, so as the packet travels from host
  1875. 1:17:03to router,
  1876. 1:17:04router to router, and finally router to
  1877. 1:17:06host,
  1878. 1:17:07at each point along the way, the IP
  1879. 1:17:10packet is encapsulated in a new data
  1880. 1:17:12link frame.
  1881. 1:17:13So, each data link frame contains the
  1882. 1:17:16source data link address of the NIC card
  1883. 1:17:21sending the frame and the destination
  1884. 1:17:23data link address of the NIC card of the
  1885. 1:17:26receiving frame.
  1886. 1:17:28Okay? So, that's what I explained
  1887. 1:17:30earlier.
  1888. 1:17:31What every hops, your MAC address
  1889. 1:17:35changes.
  1890. 1:17:37All right?
  1891. 1:17:41Okay. So, take a look at here,
  1892. 1:17:44okay? So, on this area here from the
  1893. 1:17:48source
  1894. 1:17:49going to the first router,
  1895. 1:17:51okay? Your source MAC address is
  1896. 1:17:54basically the MAC address of the
  1897. 1:17:56computer,
  1898. 1:17:57and the destination MAC address is the
  1899. 1:17:59MAC address of this router's interface
  1900. 1:18:01connected to
  1901. 1:18:03uh PC1.
  1902. 1:18:05This is the first stop. Now, on the next
  1903. 1:18:06hop,
  1904. 1:18:07the source MAC address is in here,
  1905. 1:18:11and the destination MAC address is in
  1906. 1:18:13there.
  1907. 1:18:14And on the last hop, source MAC address
  1908. 1:18:17is on the router, and the destination
  1909. 1:18:19MAC address is on
  1910. 1:18:21the server.
  1911. 1:18:23Okay?
  1912. 1:18:24So, basically your data has this layer
  1913. 1:18:28two and layer three
  1914. 1:18:30headers.
  1915. 1:18:32So, your layer two header contains the
  1916. 1:18:34source and destination MAC addresses,
  1917. 1:18:36and then your layer 3 header contains
  1918. 1:18:38the source IP address and the
  1919. 1:18:40destination IP address.
  1920. 1:18:44Okay?
  1921. 1:18:46So, as mentioned earlier,
  1922. 1:18:50notice that the packet is not modified,
  1923. 1:18:53but the frame is changed. Therefore, the
  1924. 1:18:56layer 3 IP addressing does not change
  1925. 1:18:59from segment to segment like the layer 2
  1926. 1:19:01MAC addressing.
  1927. 1:19:03So, the layer 2 addressing remains the
  1928. 1:19:04same since it is global and the ultimate
  1929. 1:19:08destination is still the web server.
  1930. 1:19:11Okay? Now, to sum up this um
  1931. 1:19:14presentation,
  1932. 1:19:16on this video lecture, we talked about
  1933. 1:19:19the different
  1934. 1:19:21uh layers of the OSI model and the
  1935. 1:19:23TCP/IP model.
  1936. 1:19:25And we also talked about the PDUs, the
  1937. 1:19:29protocol data units.
  1938. 1:19:31Okay? So, for each of the layer,
  1939. 1:19:33and
  1940. 1:19:34the difference between MAC address and
  1941. 1:19:36IP address.
  1942. 1:19:38Okay? And the transmission of data on
  1943. 1:19:40the same network and going to a
  1944. 1:19:42different network.

About this transcript

This page contains the full transcript of ITN02 - Protocols and Models by Santelmo, generated from the public captions YouTube serves with the video. The transcript has 9,507 words across 1,944 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 translate the transcript into 100+ languages.

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, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.