Pratica di Shadowing: Packet Traveling - How Packets Move Through a Network - Impara a parlare inglese con i video

Scegli una modalità di pratica

Ogni modalità apre una sala di pratica a schermo intero.

190 frasi
Se le frasi sono troppo corte o troppo lunghe, clicca su Edit per modificarle.
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.

Scarica l'app

Tutto ciò che serve per parlare fluentemente

Pronuncia con IAVoto per ogni frase
Pratica IPAPadroneggia ogni suono
VocabolarioCostruisci il tuo lessico
Gioco di vocabolarioImpara giocando

Stesso Canale

FOR YOU

Video consigliato

Vocabolario e note di pronuncia per questa lezione

Questa lezione di conversazione si basa sul video “Packet Traveling - How Packets Move Through a Network”. Le parole che ritornano più spesso: address, host, mac, router, table. Questo video contiene 190 frasi e 2638 parole da ripetere con lo shadowing. Il parlato dura 14:29. Chi parla va veloce, circa 182 parole al minuto: aspettati suoni legati e ridotti. Solo il 75% delle parole rientra nelle 3.000 più comuni dell’inglese, quindi il lessico è impegnativo.

Vocaboli chiave di questo video

15 parole del video che vale la pena imparare, con pronuncia e significato:

ParolaPronunciaSignificato
header sostantivo/ˈhɛdɚ/intestazione
packet sostantivo/ˈpæk.ɪt/pacchetto, pacco
layer sostantivo/ˈleɪ̯ɚ/strato
destination sostantivo/dɛstɪˈneɪʃən/destinazione, meta
interface sostantivo/ˈɪn(t)ɚˌfeɪs/interfaccia
arrive verbo/əˈɹaɪv/arrivare, giungere
connect verbo/kəˈnɛkt/connettere, connettersi
strip verbo/ˈstɹɪp/strappare, togliere
default sostantivo/dɪˈfɔlt/mora, morosità
refer verbo/ɹɪˈfɜː/riferire
discover verbo/dɪˈskʌvə/scoprire, trovare
flood sostantivo/flʌd/inondazione, alluvione
refresh verbo/ɹɪˈfɹɛʃ/rinfrescare
compare verbo/kəmˈpɛɚ/paragonare
essentially avverbio/ɪˈsɛnʃəli/in essenza

I phrasal verb che sentirai

ParolaSignificato
figure out verboscoprire, rendersi conto
send out verboinviare
check out verboinvestigare
go out verbouscire, andare fuori
put together verboassemblare, montare

La grammatica di questo video

Le strutture che chi parla usa di più, con le parole esatte del video:

StrutturaNel video
Forma passiva be + participio passato — conta ciò che accade, non chi lo fawill be referred · be uniquely labeled · are connected
Present perfect have/has + participio passato — un’azione passata che conta ancora adessohas been held · We've talked · have already been populated
Frasi relative who / which + frase — un’informazione in più su una persona o una cosaframe, which means · destination, which is

Pronuncia a cui fare attenzione

Chi parla usa 20 contrazioni e forme ridotte, come it'll, you'll, we'll. Pronunciale nella forma breve, così come le senti.

  • I suoni “sh” e “zh”: destination /dɛstɪˈneɪʃən/, refresh /ɹɪˈfɹɛʃ/, essentially /ɪˈsɛnʃəli/, illustration /ˌɪləsˈtɹeɪ̯ʃən/
  • Parole lunghe — attenzione all’accento: 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/

I suoni difficili per chi parla italiano:

  • /h/ — va soffiata, non è muta: header /ˈhɛdɚ/, halfway /ˌhæfˈweɪ/, hosta /ˈhoʊ stə/
  • Consonante finale — senza aggiungere una vocale dopo: packet /ˈpæk.ɪt/, interface /ˈɪn(t)ɚˌfeɪs/, arrive /əˈɹaɪv/, connect /kəˈnɛkt/, strip /ˈstɹɪp/
  • /æ/ — più aperta della “e”: packet /ˈpæk.ɪt/, halfway /ˌhæfˈweɪ/, lastly /ˈlæstli/

Come esercitarsi con questo video

  1. Ascolta tutto il video una volta senza parlare e annota le parole che non conosci.
  2. Inizia a velocità 0,75×, fai shadowing frase per frase e torna alla velocità normale quando diventa facile.
  3. Registrati e confronta con l’originale, facendo attenzione a parole come header, packet, layer.

Cos'è la tecnica dello Shadowing?

Shadowing è una tecnica di apprendimento delle lingue supportata da studi scientifici, originariamente sviluppata per la formazione dei traduttori professionisti e resa popolare dal poliglotta Dr. Alexander Arguelles. Il metodo è semplice ma potente: ascolti un audio in inglese di madrelingua e lo ripeti immediatamente ad alta voce — come un'ombra che segue il parlante con un ritardo di solo 1–2 secondi. A differenza dell'ascolto passivo o degli esercizi di grammatica, lo shadowing costringe il tuo cervello e i muscoli della bocca a elaborare e riprodurre simultaneamente i modelli di discorso reale. La ricerca dimostra che migliora significativamente la precisione della pronuncia, l'intonazione, il ritmo, il discorso connesso, la comprensione dell'ascolto e la fluidità del parlato — rendendolo uno dei metodi più efficaci per la preparazione alla prova di speaking dell'IELTS e per la comunicazione reale in inglese.

Tecnica dello shadowing: leggi la guida completa passo dopo passo →