Prática de Shadowing: Packet Traveling - How Packets Move Through a Network - Aprenda a falar inglês com vídeo

Escolha um modo de prática

Cada modo abre uma sala de prática em tela cheia.

190 frases
Se as frases estiverem muito curtas ou longas, clique em Edit para ajustá-las.
1
Hey YouTube, this is Ed from practicalnetworking .net.
2
This video is the series finale to an article series
3
that covers everything you need to know to understand how a packet moves through a network.
4
You can access the series at practicalnetworking .net or by clicking here.
5
There will also be a link in the description.
6
In this series, we talked about everything that happens for two directly connected hosts to speak to each other.
7
Next, we talked about everything that happens when you add a switch to the middle.
8
Then we talked about everything that happens when you add routers to the mix.
9
In this video, we will combine all these lessons as we discuss everything that happens to get a packet from a host,
10
through a switch, then a router, then another switch, then finally to another host.
11
I highly recommend reading through the article series in order to get the most out of this video.
12
Let's get started.
13
This is the sample topology we'll be using.
14
Our topology will have four hosts, two switches, and one router.
15
If you read the article series, then you understand that routers facilitate communication between networks.
16
Since our router has two connections, it means we have two IP networks in our topology.
17
Each host will also have an IP address in their respective network.
18
For example, host A's IP address will be 11 .11 .11 .10.
19
Each host will also have a MAC address.
20
I'm only providing the first four digits of the MAC address.
21
If you repeat this three times, you'll get the complete MAC address.
22
Router interfaces will also have an IP address and a MAC address.
23
I will refer to the router's interface as Ethernet 1 or ETH 1,
24
and I will refer to the router's right interface as Ethernet 2 or ETH 2.
25
The switches will be referred to as Switch X and Switch Y.
26
Each port on the switch will also be uniquely labeled.
27
Switch X will have ports 1, 2, and 3, and Switch Y will have ports 4, 5, and 6.
28
To demonstrate how hosts switches and routers process traffic, we'll be looking at three different tables that these devices maintain an ARP table,
29
a MAC address table, and a routing table.
30
An ARP table is a mapping of an IP address to a MAC address.
31
All Layer 3 devices will have an ARP table.
32
A MAC address table is a mapping of a switch port to a MAC address.
33
As traffic flows through a switch,
34
they will identify what devices are connected to each port by their MAC address and record it in their MAC address table.
35
For example, at some point in our illustration, SwitchX is going to identify that the device on port 2 owns a MAC address AAAA.
36
Lastly, a routing table is a mapping of IP networks to egress interfaces.
37
Routing table is a map of every network the router knows how to get to and how to get there.
38
Understanding how each of these tables are populated, as well as how they are used to process traffic,
39
is critical to knowing how packets travel through a network.
40
To illustrate this, we will look at the tables for each device in this gray area to the right.
41
We will look at host A's and host D's ARP table.
42
We will also look at the switch's MAC address tables and for the router, we will look at its ARP table and routing table.
43
Each of these tables are populated dynamically as traffic is moving through each respective device, except for the routing table.
44
The routing table is populated prior to any traffic showing up.
45
Since the router's ETH1 interface is configured with the IP address 11 .11 .11 .1,
46
our router knows that the ETH1 interface is directly connected to the 11 .11 .11 .0 .24 network.
47
Similarly, since our router's ETH2 interface is configured with the IP address 22 .22 .22 .1,
48
our router knows that the Ethernet 2 interface is directly connected to the 22 .22 .22 .0 .24 network.
49
For more information about any of these tables, take a look at the Key Players article in the Packet Traveling series at practicalnetworking .net.
50
With all that said, let's take a look at what it'll take to get data from Host A to Host D.
51
Host A has some data it needs to get to Host D.
52
Host A already knows the IP address of Host D, so is therefore able to put together a Layer 3 header.
53
The Layer 3 header will have a few different pieces of information,
54
namely a source IP of 11 .11 .11 .10 and a destination IP of 22 .22 .22 .40.
55
Host A can then compare the destination IP address in the header with its own network to determine
56
that this that host d is on a foreign network
57
which means the packet needs to go to the default gateway
58
which in this case is the router host a will need
59
to create a layer 2 header to get the packet to the router
60
but at this point host a does not have an entry
61
for the router's mac address host a will have to use the address resolution protocol
62
or arp to discover its default gateway's mac address host a
63
is going to send an request to discover the MAC address that correlates to the IP address 11 .11 .11 .1.
64
The ARP request is a small frame that essentially asks, hey, if the IP 11 .11 .11 .1 is out there, send me your MAC address.
65
The ARP request will arrive at the switch X on port 2.
66
The first thing the switch will do is learn the MAC address mapping from the received frame.
67
The mapping will state that the device on port 2 owns the MAC address AAAA.
68
The ARP request is a broadcast frame, which means it is meant to be delivered to everyone on the local network.
69
Therefore, the switch will duplicate the frame and send it out each switch port, except the one it came in on.
70
This action is known as flooding.
71
The switch will flood the frame and both the router and host B will get a copy of the ARP request.
72
When host B gets the frame it'll take a look
73
and realize that the request is for someone else's IP address so it'll simply discard it without taking any action.
74
When the router gets the ARP request it'll take a look and realize that the request is for its own IP address.
75
The router will therefore accept and process the ARP request.
76
First the router will learn the ARP mapping of the device who sent it which was host A.
77
The router will populate its ARP table with a mapping of
78
the IP address 11 .11 .11 .10 to the MAC address AAAA.
79
Next, the router will generate an ARP response.
80
Since the router knows host A's MAC address, it can send the response directly back to host A.
81
The ARP response will arrive at the switch on port 3.
82
The switch will learn that the device on port 3 owns the MAC address EEE01.
83
Now, this frame is a unicast frame destined directly for host A, which means it has a destination MAC address of AAAA.
84
Since the switch has this entry in a MAC address table, it'll know that the frame needs to be forwarded out port 2.
85
Host A will receive the ARP response, and host A will learn the ARP mapping for the address 11 .11 .11 .1.
86
Remember, this whole time, the data has been held up at host A while waiting for the address resolution process to complete.
87
Now that Host A has the router's MAC address, it can finally send the packet to the router.
88
Host A will create a Layer 2 header.
89
The Layer 2 header will have a source MAC address of Host A and a destination MAC address of the router.
90
Recall that the Layer 3 header included a source IP address of Host A and a destination IP address of Host D.
91
The Layer 3 header's purpose is to get the data from end to end.
92
The Layer 2 header's purpose is to get the data from hop to hop.
93
With that said, the packet will be sent on its way.
94
The frame will arrive on SwitchX on port 2.
95
SwitchX already has an entry in its MAC address table for port 2, so this entry will simply be refreshed.
96
The destination MAC address of the layer 2 header was EEO1.
97
SwitchX already has an entry for this MAC address in its MAC address table,
98
and it will use this to realize that this program needs to be sent out port 3.
99
The switch will forward the frame out port 3, and this will get the packet to the router.
100
When receiving the packet, the router will strip the layer 2 header.
101
Remember, the whole purpose of this header was to get the packet from host A to the router.
102
Now that that job is done, that header is no longer needed.
103
Now the router needs to figure out where to send this packet next.
104
It takes a look at the Layer 3 header and sees
105
that this packet is destined to the IP 22 .22 .22 .40.
106
The router consults its routing table and determines that this packet needs to go out its Ethernet 2 interface.
107
Since the router is directly connected to this network, it knows that the packet must be delivered to its final destination, which is hostd.
108
But the router doesn't have an ARP entry for hostd, so it must use the address resolution protocol to discover it.
109
The router will send an RP request for HostD's IP address.
110
Again, the RP request is a small frame that essentially asks, hey, if the IP 22 .22 .22 .40 is out there,
111
send me your MAC address.
112
The frame will arrive on the switch Y via port 4.
113
The switch will learn that the device on port 4 owns the MAC address EEE02.
114
Just like before, the RP request is a broadcast frame
115
which again means it should be delivered to everyone in the network
116
which why flood the frame at all ports except the point it came in on
117
which means that both host C
118
and host D will get a duplicate copy of the ARP request
119
when host C gets the frame it'll take a look
120
and realize that the request is for someone else's IP address
121
so it'll simply discard it without taking any action
122
when host D receives the ARP request it'll take a look
123
and realize that the request is for its own IP address therefore it'll accept and process the ARP request.
124
HostD will start by adding the router's ARP mapping to its ARP table.
125
The ARP mapping will state that the IP address 22 .22 .22 .1 will correlate to the MAC address eee02.
126
HostD will then generate an ARP response.
127
Since HostD knows the router's MAC address, it can send the response unicast directly to the router.
128
SwitchY will receive the ARP response on port 5.
129
The switch will learn the device on port 5 owns the MAC address ddd.
130
Since the ARP response was sent unicast to the router it'll have a destination MAC address of EE02.
131
The switch will look up this MAC address in the MAC address table
132
and determine that the frame must be forwarded out port 4.
133
The router will receive the ARP response and the router will learn hostd's ARP mapping.
134
Specifically, that the IP address 22 .22 .22 .40 is going to correlate to the MAC address dddd.
135
Now the router has the information it needs to create the Layer 2 header to get the packet to its final destination.
136
The router creates the Layer 2 header.
137
The Layer 2 header will have a source MAC address of ee02 and a destination MAC address of dddd.
138
Now the router can send the packet on its way.
139
SwitchY will receive the frame on port 4.
140
SwitchY already has an entry in its MAC address table for port 4, so there's nothing new to learn,
141
but the port 4 entry in the MAC address table gets refreshed.
142
The destination MAC address of this header is dddd, and since SwitchY has an entry in its MAC address table for this MAC address,
143
it'll know to forward the frame out port 5.
144
This will get the frame to host D.
145
Host D will strip the layer 2 header.
146
This header was used to get the packet from the router to host D and is no longer needed.
147
Host D will then strip the layer 3 header.
148
This header was used to get the packet from host A to host D and is no longer needed.
149
HostD will then finally receive and process the data.
150
But this is only the halfway point.
151
We've talked through 22 steps to get a packet from hostA to hostD.
152
Now hostD has to respond.
153
You'll notice that the way back will be much quicker since all the tables have already been populated.
154
The entire way back will only take eight more steps.
155
HostD creates the response data to send back to hostA.
156
HostD already knows hostA's IP address and is therefore able to build a Layer 3 header.
157
The Layer 3 header will include the source of HostD's IP address and a destination of HostA's IP address.
158
HostD can compare the destination IP with its own network to determine that the final destination is on a foreign network,
159
which means that this packet needs to be sent to the default gateway next.
160
HostD also already has an entry in its ARP table for its default gateway's MAC address.
161
You can use this information to build a Layer 2 header to get the packet to the router.
162
The Layer 2 header will have a source MAC address of dddd and a destination MAC address of ee02.
163
The frame will arrive on Switch Y on port 5.
164
Switch Y already has an entry in its MAC address table for port 5, so there's nothing new for the switch to learn.
165
Switch Y will use the destination MAC address field in the header to determine
166
that this frame needs to be sent out port 4.
167
The router will receive the packet and the router will strip the Layer 2 header.
168
This header's only purpose was to get the packet from host D to the router.
169
Like before, the router needs to figure out where to send this packet next.
170
It takes a look at the Layer 3 header and sees that the packet is destined to 11 .11 .11 .10.
171
This network exists out the router's Ethernet -1 interface.
172
Since the router is directly connected to this network, it knows that the packet is to be delivered to its final destination, which is host A.
173
The router already has an entry in its ARP table for host A's IP address,
174
so it has everything it needs to create the layer 2 header and get the packet to host A.
175
The layer 2 header will have a source MAC address of EE01 and a destination MAC address of AAAA.
176
The router then sends the packet on its way and it'll arrive on switch X on port 3.
177
The switch already has an entry in its MAC address table for port 3, so there's nothing new for the switch to learn.
178
This entry will be refreshed in the MAC address table.
179
Switch X will then use the destination MAC address field to determine that this frame must be forwarded out port 2.
180
Host A will receive the packet.
181
Host A will strip the layer 2 header.
182
This header was used to get the packet from the router to host A.
183
Host A will then strip the layer 3 header.
184
This header was used to get the packet from host D to host A.
185
Host A then finally receives and processes the response data.
186
And there you have it.
187
All 30 steps needed to get data from host A through a switch, a router, another switch, and finally to host D,
188
and all the way back again.
189
For more details on anything we talked about in this video, check out the packet traveling series at practicalnetworking .net.
190
You'll also find a bunch of other articles covering a range of topics in the computer networking and network security world.

Baixar aplicativo

Tudo o que você precisa para falar fluentemente

Pronúncia com IANota em cada frase
Prática de IPADomine cada som
VocabulárioMonte seu banco de palavras
Jogo de vocabulárioAprenda brincando

Mesmo canal

FOR YOU

Vídeo recomendado

Vocabulário e dicas de fala para esta lição

Esta aula de conversação usa o vídeo “Packet Traveling - How Packets Move Through a Network”. As palavras que mais se repetem: address, host, mac, router, table. Este vídeo tem 190 frases e 2638 palavras para praticar shadowing. A fala dura 14:29. O falante fala rápido, cerca de 182 palavras por minuto, então espere sons ligados e reduzidos. Apenas 75% das palavras estão entre as 3.000 mais comuns do inglês, por isso o vocabulário é exigente.

Vocabulário principal deste vídeo

15 palavras do vídeo que vale a pena aprender, com pronúncia e significado:

PalavraPronúnciaSignificado
header substantivo/ˈhɛdɚ/cabeçalho
packet substantivo/ˈpæk.ɪt/pacote
layer substantivo/ˈleɪ̯ɚ/camada
destination substantivo/dɛstɪˈneɪʃən/destino
interface substantivo/ˈɪn(t)ɚˌfeɪs/interface
arrive verbo/əˈɹaɪv/chegar
connect verbo/kəˈnɛkt/conectar
strip verbo/ˈstɹɪp/tirar, retirar
default substantivo/dɪˈfɔlt/inadimplência
refer verbo/ɹɪˈfɜː/encaminhar
discover verbo/dɪˈskʌvə/descobrir
flood substantivo/flʌd/cheia, enchente
destined adjetivo/ˈdɛstɪnd/destinado
refresh verbo/ɹɪˈfɹɛʃ/refrescar
compare verbo/kəmˈpɛɚ/comparar

Phrasal verbs que você vai ouvir

PalavraSignificado
figure out verbodescobrir, deduzir
check out verboverificar, sacar só
go out verbosair
put together verbomontar, construir

Gramática neste vídeo

As estruturas que o falante mais usa, com as palavras exatas do vídeo:

EstruturaNo vídeo
Voz passiva be + particípio passado — o foco está no que acontece, não em quem fazwill be referred · be uniquely labeled · are connected
Present perfect have/has + particípio passado — uma ação passada que ainda importa agorahas been held · We've talked · have already been populated
Orações relativas who / which + oração — informação extra sobre uma pessoa ou coisaframe, which means · destination, which is

Pronúncia para ficar de olho

O falante usa 20 contrações e formas reduzidas, como it'll, you'll, we'll. Diga-as na forma curta, do jeito que você ouve.

  • Os sons de “sh” e “zh”: destination /dɛstɪˈneɪʃən/, refresh /ɹɪˈfɹɛʃ/, essentially /ɪˈsɛnʃəli/, illustration /ˌɪləsˈtɹeɪ̯ʃən/
  • Palavras longas — acerte a sílaba tônica: destination /dɛstɪˈneɪʃən/, essentially /ɪˈsɛnʃəli/, similarly /ˈsɪm.ə.lə.li/, facilitate /fəˈsɪlɪteɪt/, illustration /ˌɪləsˈtɹeɪ̯ʃən/

Sons difíceis para falantes de português:

  • Consoante final — sem acrescentar um “i” depois: packet /ˈpæk.ɪt/, connect /kəˈnɛkt/, strip /ˈstɹɪp/, default /dɪˈfɔlt/, flood /flʌd/
  • /l/ final — a língua toca o céu da boca, não vira “u”: protocol /ˈpɹoʊtəˌkɑl/, label /ˈleɪ.bəl/, recall /ɹɪˈkɔl/
  • /h/ — um sopro suave, diferente do “r”: header /ˈhɛdɚ/, halfway /ˌhæfˈweɪ/, hosta /ˈhoʊ stə/

Como praticar com este vídeo

  1. Ouça o vídeo inteiro uma vez sem falar e anote as palavras que você não conhece.
  2. Comece na velocidade 0,75×, faça shadowing frase por frase e volte à velocidade normal quando ficar fácil.
  3. Grave a sua voz e compare com o original, prestando atenção a palavras como header, packet, layer.

O que é a Técnica de Shadowing?

Shadowing é uma técnica de aprendizado de idiomas com base científica, originalmente desenvolvida para o treinamento de intérpretes profissionais. O método é simples, mas poderoso: você ouve áudio em inglês nativo e repete imediatamente em voz alta — como uma sombra seguindo o falante com 1-2 segundos de atraso. Pesquisas mostram melhora significativa na precisão da pronúncia, entonação, ritmo, sons conectados, compreensão auditiva e fluência na fala.

Técnica de shadowing: leia o guia completo passo a passo →