All language subtitles for 24. Summary or routing, MAC addresses and IP addresses

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic Download
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English Download
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian Download
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal) Download
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese Download
sk Slovak
sl Slovenian
so Somali
es Spanish Download
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

1

So when sending traffic from 1 subnet to another subnet

2

the layer 3 headers contain the source host IP address

3

and the destination host IP address.

4

But at layer 2 the source MAC address is the local host

5

and the destination MAC address is the local router on the local segment.

6

When the frame gets to the router the router will strip

7

the layer 2 headers and then read the layer 3 headers

8

to determine what to do with the traffic.

9

So the destination IP address is 10.1.2.1 the router will firstly check

10

to see if that’s a local IP address on the router

11

and in this case it’s not, the router has these IP addresses.

12

So its check it’s routing table to determine

13

if it knows where the destination IP address is

14

This IP address 10.1.2.1 is on subnet 10.1.2.0 which is out of F0/1.

15

The router therefore knows it needs to send the traffic to host

16

10.1.2.1 out of F0/1 it then checks its ARP cache

17

to see if it has an entry for 10.1.2.1

18

In this case let’s assume the router doesn’t have an ARP entry

19

mapping IP address 10.1.2.1 to MAC address B, so it doesn’t know that.

20

So to find that out it needs to send a broadcast unto the local segment

21

requesting the MAC address of IP address 10.1.2.1

22

so it will send out an ARP request message, the hub will flooded out

23

of its ports and both B and D will receive the frame.

24

D will receive the frame at layer 2 because its broadcast

25

but at higher layers it will drop the message

26

because it's an ARP request for another devices IP address.

27

So host D drops the frame, but host B will receive at it

28

layer 2 send it to high layer protocols, high layer protocols will see

29

that this is an ARP request for the local IP address of this host.

30

So PC B will process the ARP request

31

and send back an ARP reply.

32

The ARP reply will be sent to the hub with source MAC address of B

33

destination MAC address of the router, the routers is the device

34

that requested the IP address of the PC and the MAC address

35

is on each interface of a router are different.

36

In this case the MAC address used was H

37

so the PC will reply back to that MAC address, so source MAC address is B

38

destination MAC address is H, source IP address is 10.1.2.1

39

destination IP address is 10.1.2.100, the IP address

40

and MAC address of the routers F0/1 is used in the reply from PC B

41

when the hub receives the traffic it will flood it out of all of its ports

42

D will drop the frame the router however will process the traffic

43

because the MAC address is its local MAC address.

44

So the routers network interface card

45

will receive the traffic at layer 2, it will then process the layer 3

46

and layer 4 information and it will update its local ARP cache

47

stating that IP address 10.1.2.1 as MAC address B.

48

Now that the ARP cache is updated the router can send

49

the original ping traffic to host B.

50

So when the frame arrived at the router from host A

51

it had a source MAC address of A, destination MAC address of G

52

source IP address of 10.1.1.1 destination IP address of 10.1.2.1

53

when it now sends that traffic out of F0/1, it rewrites the MAC address entries

54

So the source MAC address is H, the local router's interface

55

the destination MAC address is B

56

the host that the router wants to communicate with.

57

the source IP address is still the IP address of host A

58

and the destination IP address is still the IP address of host B.

59

It’s really important to remember that when traversing a router

60

or a layer 3 switch, so for example when moving from 1 VLAN to another

61

the layer 2 information is rewritten, the layer 3 information is left the same

62

but every time traffic hops across a router

63

or is sent from 1 VLAN to another VLAN

64

the layer 2 information is rewritten in the frame

65

When that traffic is received by the hub, it will flood it out of all ports

66

D will drop the frame because the destination MAC address is B and not D.

67

B will receive the frame at layer 2 because it's destined to itself

68

and then it will process the layer 3 and layer 4 information.

69

In this case it’s an ICMP echo message sent from A to B.

70

so B is going to one to reply with an echo reply message.

71

So B will reply with an echo reply but please notice that the echo reply

72

is going to a destination IP address of 10.1.1.1 which is host A

73

the source Mac address is B, the local PC

74

but the destination MAC address is the router, device B is sending

75

the traffic to its default gateway because it would have also done

76

a logical end on the IP address and subnet and it would have worked out

77

that IP address 10.1.1.1 is on a different subnet to itself.

78

So it’s gonna send the traffic to its default gateway

79

and in this case we would have configured the PC

80

with the default gateway of 10.1.2.100

81

The hub will flood the traffic out of all ports

82

D will drop the frame once again because it’s not destined to itself.

83

The router will process the frame at layer 2

84

because the destination MAC address is its local MAC address.

85

It will then strip the layer 2 information and read the layer 3 information

86

to determine if it knows where the destination address is.

87

In this case 10.1.1.1 is in subnet 10.1.1.0/24

88

and that subnet is directly connected to F0/0 on the router.

89

So the destination IP address is in a subnet that’s known by the router

90

and it now knows out of which interface to send a traffic.

91

So the router knows that it needs to forward this packet out of interface F0/0.

92

The router will then rewrite the layer 2 headers.

93

So the destination MAC address is A.

94

The source MAC addresses is G,

95

which is the MAC address of F0/0 on the router.

96

The layer 3 information is left the same but the layer 2 headers are rewritten.

97

The router forwards the frame to the hub.

98

When a hub receives the traffic it will flood it out of all ports.

99

C will drop the frame because it’s not destined to it.

100

A will receive the frame because the destination MAC address is itself.

101

It will then process the layer 2 information

102

strip the layer 2 headers, forward it to higher layer protocols.

103

The higher layer protocols will process the layer 3

104

and layer 4 and upper layers and the ping will succeed in this example.

105

Now in some cases you'll notice that when you ping a device

106

the first ping fails and that’s typically because of the ARP request

107

and replies that need to take place to populate the ARP caches

108

of devices between the source and destination device.

109

So don’t be concerned if you lose the first ping when pinging a remote device.

110

It’s probably because the ARP cache is have been populated

111

by the devices involved in the communication.

112

The important thing to remember is that when you ping across a router

113

or a layer 3 switch, the layer 2 information is updated at each hop

114

but the layer 3 information remains the same

115

unless Network Address Translation or NAT is used.

116

When you move from 1 VLAN to another VLAN on a layer 3 switch

117

or move from 1 interface to another on a router

118

the layer 3 information is not changed, but the layer 2 headers are rewritten.

119

So in summary a router is a layer 3 device, it makes routing decisions

120

based on IP addresses and it rewrites MAC addresses

121

layer 3 switches also operate at this layer.

122

The layer 3 switch has layer 2 capability as well as layer 3 capability.

123

When you send traffic from VLAN 10 to VLAN 20 for example

124

the layer 2 frames are rewritten.

125

The traffic is logically going through a router as the layer 3 switch

126

implements routing capability and therefore the layer 2 MAC addresses

127

are rewritten but the layer 3 information remains the same.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.