Network Layer Message Delivery Exercise — Transcript
Full transcript
- 0:02if
- 0:03machine a at ip address 6.6.6.2
- 0:08wanted to communicate with machine c
- 0:11at ib address 8.8.8.4
- 0:14over the ipv4 protocol the following
- 0:17process would occur
- 0:19first machine a would create a new ip
- 0:24packet with the fields
- 0:28source address
- 0:32set to be 6.6.6.2
- 0:36and destination address
- 0:428.8.
- 0:48i would also have a ttl
- 0:52of 64. and many other fields but
- 0:56those are less interesting to us
- 1:02okay so it would send this off to its
- 1:05default gateway
- 1:06and since there's only one router on
- 1:08this network the default gateway will be
- 1:10this endpoint over here
- 1:14and we'll assume that all these devices
- 1:16are connected with
- 1:18ethernet okay so it's going to
- 1:22wrap this segment
- 1:26up with a ethernet header
- 1:30where the source mac address is going to
- 1:33be
- 1:33addressed with all a's so i'll just
- 1:36shorten that to
- 1:38a a and i'll put two colons up here
- 1:42for the rest the destination address
- 1:46will be our first router okay and that's
- 1:49because
- 1:49again the ethernet only provides a
- 1:52single hop
- 1:54and we have to chain these together to
- 1:56get to our final destination
- 1:57so destination in this case is going to
- 1:59be the mac address
- 2:06okay so just abbreviated as 1 1.
- 2:10okay once it reaches the router
- 2:14the ethernet header is torn off we don't
- 2:17need this value anymore
- 2:19the ttl is decremented by one
- 2:22to be 63. if this ever hits zero we
- 2:25throw it out
- 2:27because there's likely some type of loop
- 2:29okay
- 2:31so but these this source and destination
- 2:34address are preserved so we don't
- 2:36really change these values okay because
- 2:38they sort of help us
- 2:39guide us to our final destination in
- 2:41case that there was
- 2:43um in a more typical example it wouldn't
- 2:46be sort of three networks it would be
- 2:47maybe
- 2:4810 networks or 20 networks in between we
- 2:50don't have any control of how many
- 2:52networks are
- 2:52our intermediaries okay
- 2:56so the source and destination are sort
- 2:57of guiding us to
- 2:59um to our final destination and
- 3:02we'll talk about routing protocols in
- 3:03the next lecture but again for
- 3:05for for now just assume that we have
- 3:07some oracle device that this router
- 3:10knows that if i want to go to
- 3:13if i'm trying to send the message to
- 3:158.8.8.4
- 3:17i know that i have to go through here
- 3:19and that going through
- 3:21here is is not the right answer okay
- 3:24so we'll just assume that for now and in
- 3:26the next lecture we'll we'll go into the
- 3:28details of how it decides
- 3:30between two paths okay so i'm just gonna
- 3:33quickly rewrite this 6.6.6.2
- 3:37and 8.8.8.4
- 3:40okay so that's our source and
- 3:42destination
- 3:43ip address okay so this router
- 3:47it has two mac addresses one for each
- 3:49network okay
- 3:52it's going to add a new
- 3:55data link layer header okay so it's
- 3:57source mac address
- 3:59is now two
- 4:00[Music]
- 4:03the address of all twos and the
- 4:04destination mac address is the one with
- 4:06all fours okay and the ttl
- 4:11for this one is 63.
- 4:15okay so that's how we get from um
- 4:19this router to the router on the
- 4:22correct network okay so at this point
- 4:24we're actually
- 4:25not finished yet okay we're going to go
- 4:28with the worst case scenario in the best
- 4:30case scenario that this router
- 4:32inside of its arp table it already has
- 4:36machine c so it knows about machine c
- 4:39but it's also possible that
- 4:41machine c when it connected it got its
- 4:45ip address allocated by one of these
- 4:47other two routers okay so it did dhcp
- 4:50and because it was so close to
- 4:53this router okay
- 4:56this router gave machine c a i p address
- 5:00and not this one okay
- 5:03um the consequence of that is that this
- 5:06router
- 5:06may not know the ip address
- 5:10of machine c okay so assume that
- 5:13this router does not have inside of its
- 5:15arp table
- 5:16it does not have an entry for 8.8.8.4
- 5:20okay but it knows that it's part of this
- 5:22network because it fits the
- 5:24decider address okay so what it's going
- 5:26to do
- 5:27is it's going to broadcast an arp
- 5:29request
- 5:30okay so a arp request is a broadcast
- 5:33message that goes
- 5:34out to every device on the network
- 5:35saying something like
- 5:37hey i'm looking for the address 8.8.8.4
- 5:43okay so we have other machines on these
- 5:45networks because they don't own netip
- 5:47address they'll just ignore that request
- 5:49but c because it knows it owns this ip
- 5:51address it will
- 5:53respond back to our router okay and then
- 5:56our
- 5:57router will update its arp table with
- 6:00the correct address
- 6:01and then finally it will make the the
- 6:03final
- 6:05the the final message which is going to
- 6:08be
- 6:09let's clear this up a bit
- 6:14okay so
- 6:17again this stays the same
- 6:24then ttl decreases again to 62
- 6:28and this time wrapper from our source
- 6:32mac address is
- 6:36by the address of all fives
- 6:40and our destination is
- 6:43the address of all c's okay and that's
- 6:45how
- 6:47our machine a can deliver a message
- 6:50to machine c by chaining together
- 6:55multiple data link layer hops
About this transcript
This page contains the full transcript of Network Layer Message Delivery Exercise by Internet and Web Technologies, generated from the public captions YouTube serves with the video. The transcript has 851 words across 155 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.