Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:04,150 --> 00:00:07,679
This is a free, complete course for the CCNA.
2
00:00:07,679 --> 00:00:11,609
If you like these videos, please subscribe\n
3
00:00:11,609 --> 00:00:16,320
Also, please like and leave a comment, and\n
4
00:00:19,789 --> 00:00:23,189
In this video we will cover IPv6.
5
00:00:23,189 --> 00:00:28,868
As you already know, up to this point in the\n
6
00:00:28,868 --> 00:00:34,439
But IPv6 is the future, and it is starting\n
7
00:00:34,439 --> 00:00:40,209
IPv6 brings multiple improvements over IPv4,\n
8
00:00:41,640 --> 00:00:48,469
IPv6 is covered in a few areas of the official\nexam topics list.
9
00:00:48,469 --> 00:00:55,308
Topic 1.8 says you must be able to configure\n
10
00:00:55,308 --> 00:01:00,899
1.9 says you must be able to compare various\nIPv6 address types.
11
00:01:00,899 --> 00:01:05,760
You should also be able to configure and verify\n
12
00:01:07,829 --> 00:01:13,009
I considered trying to fit all of this into\n
13
00:01:14,400 --> 00:01:19,550
A lot of CCNA candidates don’t feel confident\n
14
00:01:19,549 --> 00:01:24,469
I think that’s because we spend so much\n
15
00:01:24,469 --> 00:01:28,400
just briefly cover IPv6 and then never mention\nit again.
16
00:01:28,400 --> 00:01:34,609
Let’s take our time to cover IPv6, and make\n
17
00:01:36,430 --> 00:01:39,090
Here’s what we’ll cover in this video.
18
00:01:39,090 --> 00:01:41,909
First, let’s review hexadecimal.
19
00:01:41,909 --> 00:01:47,329
I told you about hexadecimal when we covered\n
20
00:01:47,329 --> 00:01:52,620
understand hexadecimal, because IPv6 addresses\n
21
00:01:52,620 --> 00:01:56,960
Then I’ll give an overview of why IPv6 is\n
22
00:01:57,959 --> 00:02:05,609
I’ll give you a basic overview of IPv6,\n
23
00:02:05,609 --> 00:02:10,590
Finally I’ll show you how to configure IPv6\n
24
00:02:10,590 --> 00:02:15,430
Watch until the end of the video for a bonus\n
25
00:02:17,889 --> 00:02:23,458
I used them to study for my exams, and they\n
26
00:02:23,459 --> 00:02:29,128
If you want to get Boson ExSim, follow the\n
27
00:02:29,128 --> 00:02:34,389
Before talking about IPv6, you may be wondering,\n
28
00:02:34,389 --> 00:02:39,229
I think I mentioned this earlier in the course,\n
29
00:02:39,229 --> 00:02:44,128
Internet Stream Protocol was developed in\n
30
00:02:46,759 --> 00:02:53,469
It was never called IPv5, but it used a value\n
31
00:02:53,469 --> 00:02:58,098
If you remember, Day 10 of this course covered\n
32
00:03:00,030 --> 00:03:06,039
IPv4 uses a value of 4, and Internet Stream\n
33
00:03:06,039 --> 00:03:12,888
So, to avoid confusion, when the successor\n
34
00:03:12,889 --> 00:03:18,420
and it uses a value of 6 in the Version field\nof the header.
35
00:03:20,560 --> 00:03:25,500
The three numbering systems you should know\n
36
00:03:26,539 --> 00:03:32,519
0b can be used as a prefix before a binary\n
37
00:03:32,519 --> 00:03:34,090
For example, look at this number.
38
00:03:38,188 --> 00:03:41,919
Or binary 1 0, which is equal to decimal 2?
39
00:03:41,919 --> 00:03:46,818
Or is it perhaps hexadecimal 1 0, which is\n
40
00:03:48,400 --> 00:03:52,930
By using the prefix 0b, we can make it clear\n
41
00:03:52,930 --> 00:03:56,278
Now, why is ‘base 2’ another name for\nbinary?
42
00:03:56,278 --> 00:03:59,919
It’s because there are only two available\ndigits in binary.
43
00:04:01,810 --> 00:04:05,378
All numbers are represented using just these\ntwo digits.
44
00:04:05,378 --> 00:04:07,939
But you’re already familiar with binary.
45
00:04:07,939 --> 00:04:11,650
The next numbering system is decimal, or base\n10.
46
00:04:11,650 --> 00:04:15,239
You can use the prefix 0d to indicate decimal.
47
00:04:15,239 --> 00:04:18,199
As the name ‘base 10’ suggests, there\nare 10 available digits.
48
00:04:18,199 --> 00:04:22,709
0, 1, 2, 3, 4, 5, 6, 7, 8, and 9.
49
00:04:22,709 --> 00:04:27,649
Finally, there is hexadecimal, also known\nas base 16.
50
00:04:27,649 --> 00:04:32,560
You can use the prefix 0x to indicate hexadecimal,\n
51
00:04:34,610 --> 00:04:40,750
These are the 16 digits available in hexadecimal,\n
52
00:04:40,750 --> 00:04:44,449
B, C, D, E, and F are used as well.
53
00:04:44,449 --> 00:04:50,209
Here’s a chart comparing the three, from\n0 up to decimal 15.
54
00:04:50,209 --> 00:04:55,099
First, notice that up to 9, decimal and hexadecimal\n
55
00:04:55,100 --> 00:05:00,790
However, the decimal system then runs out\n
56
00:05:04,910 --> 00:05:11,920
Hexadecimal expresses the same value with\n
57
00:05:11,920 --> 00:05:18,970
D, 14 is E, and 15 is F. Okay, now let me\n
58
00:05:18,970 --> 00:05:22,510
Notice that these binary numbers have leading\n0s at the front.
59
00:05:22,509 --> 00:05:28,670
For example, decimal 3 is written as 0 0 1\n
60
00:05:28,670 --> 00:05:33,210
You don’t actually have to do this in binary,\n
61
00:05:33,209 --> 00:05:37,969
So, why did I write all of these numbers as\n
62
00:05:39,199 --> 00:05:46,639
It’s because I want to emphasize that each\n
63
00:05:46,639 --> 00:05:53,019
For example, the maximum value of four binary\n
64
00:05:54,569 --> 00:06:00,279
This is very important for converting between\n
65
00:06:00,279 --> 00:06:05,149
From this chart, I recommend memorizing the\n
66
00:06:05,149 --> 00:06:12,349
It’s not difficult, just remember that 10\n
67
00:06:12,350 --> 00:06:17,990
and 15 is F. Also, be able to convert between\n
68
00:06:17,990 --> 00:06:20,970
You already know that, it shouldn’t be a\nproblem.
69
00:06:20,970 --> 00:06:25,670
If it is a problem, go back and watch the\n
70
00:06:26,959 --> 00:06:32,219
If you can do those two things, convert between\n
71
00:06:32,220 --> 00:06:37,300
between decimal and binary, you’ll have\n
72
00:06:38,720 --> 00:06:42,530
Let’s walk through some conversions.
73
00:06:42,529 --> 00:06:47,599
Binary 1101 1011 is equal to what in hexadecimal?
74
00:06:50,600 --> 00:06:54,460
Remember, each hexadecimal digit contains\n4 bits of information.
75
00:06:54,459 --> 00:07:00,159
So, split the number into 4-bit groups, 1101\nand 1011.
76
00:07:00,160 --> 00:07:04,090
Then, convert each of those 4-bit groups to\ndecimal.
77
00:07:04,089 --> 00:07:08,539
1101 is 8 plus 4 plus 1, so 13.
78
00:07:08,540 --> 00:07:13,310
1011 is 8 plus 2 plus 1, so 11.
79
00:07:13,310 --> 00:07:16,280
Then convert those decimal numbers to hexadecimal.
80
00:07:16,279 --> 00:07:18,099
You should have these conversions memorized.
81
00:07:18,100 --> 00:07:24,540
13 is D, and 11 is B. Simply put those two\n
82
00:07:26,240 --> 00:07:31,870
Binary 1101 1011 is equal to hexadecimal DB.
83
00:07:31,870 --> 00:07:34,470
To check, you can use a calculator.
84
00:07:34,470 --> 00:07:40,100
For example, from the Windows 10 calculator\n
85
00:07:40,100 --> 00:07:42,670
select the programmer calculator.
86
00:07:42,670 --> 00:07:48,001
In the programmer calculator, you can select\n
87
00:07:50,449 --> 00:07:54,699
I selected hexadecimal and typed in DB.
88
00:07:54,699 --> 00:08:00,019
As you can see, it is equal to binary 1101\n1011.
89
00:08:00,019 --> 00:08:04,549
If you don’t use windows 10, your calculator\n
90
00:08:05,550 --> 00:08:11,780
Or, you can just do a Google search for a\n
91
00:08:11,779 --> 00:08:15,839
In the real world, you’d use a calculator\n
92
00:08:16,839 --> 00:08:21,049
However, it’s important to be able to do\n
93
00:08:21,050 --> 00:08:23,009
actually understand the concepts.
94
00:08:23,009 --> 00:08:28,500
Let’s do a few more practice questions for\n
95
00:08:28,500 --> 00:08:36,282
Pause the video to try this one out yourself,\n
96
00:08:38,059 --> 00:08:41,129
First split the number into 4-bit groups.
97
00:08:43,250 --> 00:08:45,730
Convert each decimal number to hexadecimal.
98
00:08:45,730 --> 00:08:53,370
And there’s the answer, binary 0010 1111\n
99
00:08:53,370 --> 00:08:57,490
We’ll do one more for binary to hex.
100
00:08:57,490 --> 00:09:00,399
Pause the video to try it out.
101
00:09:04,509 --> 00:09:07,339
First split the number into 4-bit groups.
102
00:09:07,339 --> 00:09:09,430
Convert each group to decimal.
103
00:09:09,429 --> 00:09:11,899
Convert each decimal number to hexadecimal.
104
00:09:11,899 --> 00:09:21,309
And there’s the answer, binary 1000 0001\n
105
00:09:21,309 --> 00:09:23,729
How about converting from hexadecimal to binary?
106
00:09:23,730 --> 00:09:27,519
Basically, it’s just the reverse process.
107
00:09:27,519 --> 00:09:30,399
Convert to decimal, then to binary.
108
00:09:30,399 --> 00:09:34,789
For example, what’s hexadecimal EC in binary?
109
00:09:34,789 --> 00:09:38,559
First, split up the hexadecimal digits.
110
00:09:43,750 --> 00:09:46,818
Then convert each decimal number to binary.
111
00:09:46,818 --> 00:09:53,039
And that’s the answer, hexadecimal EC is\n
112
00:09:56,870 --> 00:10:03,938
Pause the video to try it out yourself, convert\n
113
00:10:05,230 --> 00:10:08,619
First, split up the hexadecimal digits.
114
00:10:08,619 --> 00:10:10,700
Then convert them to decimal.
115
00:10:13,828 --> 00:10:16,259
Then convert each decimal number to binary.
116
00:10:16,259 --> 00:10:25,692
And that’s the answer, hexadecimal 2B is\n
117
00:10:27,149 --> 00:10:34,914
Pause the video to try it out yourself, convert\n
118
00:10:36,169 --> 00:10:40,000
First, split up the hexadecimal digits.
119
00:10:45,429 --> 00:10:48,109
Then convert each decimal number to binary.
120
00:10:48,110 --> 00:10:56,577
And that’s the answer, hexadecimal D7 is\n
121
00:10:56,577 --> 00:11:01,169
Okay, that’s all for the conversion practice,\n
122
00:11:01,169 --> 00:11:05,568
If you don’t feel comfortable converting\n
123
00:11:05,568 --> 00:11:09,969
Write out a random 8-bit, 1-byte, number and\n
124
00:11:12,958 --> 00:11:16,399
Also try it with numbers that aren’t 8 bits,\n
125
00:11:16,399 --> 00:11:20,970
Now, let’s move on to the next topic.
126
00:11:20,970 --> 00:11:25,129
And the next topic is this, ‘Why IPv6’?
127
00:11:25,129 --> 00:11:29,999
The main reason is that there simply aren’t\n
128
00:11:29,999 --> 00:11:32,449
How many IPv4 addresses are there?
129
00:11:32,448 --> 00:11:40,740
An IPv4 address is 32 bits long, so that means\n
130
00:11:44,539 --> 00:11:49,278
That may seem like a lot, but in our modern\n
131
00:11:51,419 --> 00:11:56,099
When IPv4 was being designed 30 years ago,\n
132
00:11:56,100 --> 00:12:01,540
be as large as it is today, they thought 32\n
133
00:12:01,539 --> 00:12:07,370
However, we have known about the IPv4 address\n
134
00:12:07,370 --> 00:12:10,938
techniques have been used to preserve the\nspace.
135
00:12:10,938 --> 00:12:16,610
VLSM, variable-length subnet masks is one\n
136
00:12:19,458 --> 00:12:24,388
Private IPv4 addresses and NAT, Network Address\n
137
00:12:26,909 --> 00:12:30,370
Both of those will be covered soon in the\ncourse.
138
00:12:30,370 --> 00:12:34,789
Those techniques have been very useful in\n
139
00:12:34,789 --> 00:12:37,599
they are just short-term solutions.
140
00:12:37,600 --> 00:12:43,509
The long-term solution is to transition to\nIPv6.
141
00:12:43,509 --> 00:12:47,470
Let me briefly explain how IPv4 addresses\nare assigned.
142
00:12:47,470 --> 00:12:53,060
IPv4 address assignments are controlled by\n
143
00:12:53,059 --> 00:12:58,198
I mentioned IANA in the last video about TCP\nand UDP, also.
144
00:12:58,198 --> 00:13:04,600
IANA distributes IPv4 address space to various\n
145
00:13:04,600 --> 00:13:07,740
then assign them to companies that need them.
146
00:13:07,740 --> 00:13:12,999
For example, an Internet service provider\n
147
00:13:12,999 --> 00:13:16,360
which can then be used by its customers.
148
00:13:16,360 --> 00:13:19,139
This is a map showing the various RIRs.
149
00:13:19,139 --> 00:13:24,509
To be honest, I don’t know the proper pronunciation\n
150
00:13:24,509 --> 00:13:31,669
Africa, APNIC controls Asia-Pacific, ARIN\n
151
00:13:31,669 --> 00:13:38,219
Atlantic islands, and the US, LACNIC controls\n
152
00:13:38,220 --> 00:13:42,000
NCC controls Europe, the Middle East, and\nparts of Central Asia.
153
00:13:42,000 --> 00:13:45,429
However, these RIRs are almost all out of\nIPv4 addresses.
154
00:13:45,429 --> 00:13:52,688
For example, in September 2015 ARIN declared\n
155
00:13:52,688 --> 00:13:57,419
They don’t have any more addresses to assign,\n
156
00:13:57,419 --> 00:14:00,490
ARIN can reclaim their addresses, for example.
157
00:14:00,490 --> 00:14:07,778
Here’s another one, in August 2020, LACNIC\n
158
00:14:08,828 --> 00:14:11,698
The other RIRs have similar problems, too.
159
00:14:11,698 --> 00:14:16,948
So, as you can see the situation is pretty\n
160
00:14:18,929 --> 00:14:23,079
We need something capable of supporting our\n
161
00:14:26,318 --> 00:14:30,299
Let’s finally get into the specifics.
162
00:14:30,299 --> 00:14:35,708
There is actually a lot of interesting history\n
163
00:14:37,509 --> 00:14:41,519
I think you can see why we need to transition\nto IPv6.
164
00:14:41,519 --> 00:14:46,539
If you want to read a little about it, search\n
165
00:14:53,318 --> 00:14:59,659
That’s 4 times the number of bits in an\n
166
00:14:59,659 --> 00:15:03,958
At first, you might think that 4 times the\n
167
00:15:06,789 --> 00:15:11,278
Every additional bit DOUBLES the number of\npossible addresses.
168
00:15:11,278 --> 00:15:15,088
32 bits allows for about 4 billion addresses.
169
00:15:15,089 --> 00:15:21,829
33 bits would allow about 8 billion, 34 bits\n
170
00:15:21,828 --> 00:15:26,138
So, how many IPv6 addresses are there?
171
00:15:26,139 --> 00:15:35,240
There are 340 undecillion, 282 decillion,\n
172
00:15:35,240 --> 00:15:45,275
463 sextillion, 463 quintillion, 374 quadrillion,\n
173
00:15:45,275 --> 00:15:50,556
thousand and 456 IPv6 addresses.
174
00:15:50,557 --> 00:15:54,318
Yes, I had to search on Google to learn how\nto say that number.
175
00:15:54,318 --> 00:15:57,229
But no, you don’t have to memorize it.
176
00:15:57,230 --> 00:16:01,310
For comparison, here’s the number of IPv4\naddresses again.
177
00:16:01,309 --> 00:16:05,498
Here’s an example IPv6 address in binary.
178
00:16:08,379 --> 00:16:12,860
If you write that in dotted decimal like an\n
179
00:16:12,860 --> 00:16:18,240
However, as I’ve already said Ipv6 addresses\n
180
00:16:19,769 --> 00:16:22,919
Here’s that same address written in hexadecimal.
181
00:16:22,919 --> 00:16:30,289
An IPv6 address is 128 bits, and as I said\n
182
00:16:34,438 --> 00:16:42,088
So, an IPv6 address is written as 32 hexadecimal\n
183
00:16:43,899 --> 00:16:48,759
This is still longer and more difficult to\n
184
00:16:50,360 --> 00:16:56,169
There is 4 times the amount of information\n
185
00:16:58,139 --> 00:17:03,500
IPv6 addresses use the ‘slash’ notation\n
186
00:17:03,500 --> 00:17:06,599
the address in the Cisco IOS CLI.
187
00:17:06,599 --> 00:17:09,578
No more dotted decimal subnet masks.
188
00:17:09,578 --> 00:17:15,028
This /64, for example, means the first half\n
189
00:17:15,028 --> 00:17:17,750
and the second half would be the host portion.
190
00:17:17,750 --> 00:17:23,578
In addition, there are a couple methods to\n
191
00:17:23,578 --> 00:17:29,009
Let’s look at those methods to shorten IPv6\naddresses.
192
00:17:29,009 --> 00:17:32,220
First up, leading 0s can be removed.
193
00:17:34,619 --> 00:17:41,500
‘Leading 0s’ are any 0s at the beginning\n
194
00:17:41,500 --> 00:17:43,538
These are the leading 0s in this address.
195
00:17:43,538 --> 00:17:46,500
So, we can simply remove them.
196
00:17:46,500 --> 00:17:48,369
Now the address can be written like this.
197
00:17:48,369 --> 00:17:52,859
The 0s are still part of the address, but\n
198
00:17:54,119 --> 00:17:59,668
Okay, there’s one more technique to shorten\nan IPv6 address.
199
00:17:59,669 --> 00:18:04,059
Consecutive quartets of all 0s can be replaced\n
200
00:18:04,058 --> 00:18:09,359
For example in the address below, there are\n
201
00:18:09,359 --> 00:18:14,000
You can shorten the address like this, replacing\n
202
00:18:15,579 --> 00:18:20,250
It’s because we know an IPv6 address is\n8 quartets in length.
203
00:18:20,250 --> 00:18:24,960
We can only see four quartets now, so we know\n
204
00:18:28,890 --> 00:18:34,549
You can combine both methods, removing leading\n
205
00:18:34,548 --> 00:18:37,089
Now this address looks much easier to handle.
206
00:18:37,089 --> 00:18:40,428
But, there’s a limitation here.
207
00:18:40,429 --> 00:18:45,759
Consecutive quartets of 0s can only be abbreviated\n
208
00:18:46,759 --> 00:18:49,140
Well, look at this address here.
209
00:18:49,140 --> 00:18:51,500
You might try to shorten it like this.
210
00:18:53,159 --> 00:18:58,010
We know there should be 8 quartets in total,\n
211
00:18:58,009 --> 00:19:00,339
But how many quartets of 0s are here?
212
00:19:04,730 --> 00:19:09,169
Maybe there are 2 quartets on the left and\n
213
00:19:10,429 --> 00:19:16,309
So, this is why we can only abbreviate the\n
214
00:19:16,308 --> 00:19:19,829
Instead, we should shorten the address like\nthis.
215
00:19:19,829 --> 00:19:25,389
The left side has three all-0 quartets, so\n
216
00:19:25,390 --> 00:19:31,460
On the right side, which has two all-0 quartets,\n
217
00:19:31,460 --> 00:19:36,850
Here’s a few questions to practice shortening\nIPv6 addresses.
218
00:19:36,849 --> 00:19:39,990
Pause the video and try to complete each.
219
00:19:42,859 --> 00:19:48,269
Here’s the first one, you’re able to remove\n
220
00:19:49,750 --> 00:19:53,929
Note that there are two sets of consecutive\n
221
00:19:57,420 --> 00:20:02,730
Like the previous two, you’re able to remove\n
222
00:20:03,839 --> 00:20:07,538
There are some leading 0s you can remove in\n
223
00:20:10,339 --> 00:20:15,798
You’re able to replace five quartets of\n
224
00:20:15,798 --> 00:20:21,250
You should also be able to take a shortened\n
225
00:20:22,250 --> 00:20:24,440
Here’s an example of how to do that.
226
00:20:24,440 --> 00:20:29,940
First, put leading 0s where needed, remember\n
227
00:20:29,940 --> 00:20:34,000
characters, that’s why they’re called\nquartets.
228
00:20:34,000 --> 00:20:37,740
Where can we put leading 0s in this example\nshortened address?
229
00:20:39,460 --> 00:20:41,558
So, now the address looks like this.
230
00:20:43,900 --> 00:20:48,390
If a double colon is used, we should replace\n
231
00:20:50,769 --> 00:20:54,889
There is a double colon here, so we can expand\n
232
00:20:58,429 --> 00:21:01,860
Actually there are 8, but currently only 5\nare written.
233
00:21:01,859 --> 00:21:07,500
To make 8 total quartets, simply add three\nquartets of 0s.
234
00:21:07,500 --> 00:21:12,019
Here are a few practice questions for expanding\n
235
00:21:12,019 --> 00:21:15,058
Pause the video to solve them.
236
00:21:25,019 --> 00:21:30,548
I will talk about different IPv6 address types\n
237
00:21:30,548 --> 00:21:32,829
is a different type of address.
238
00:21:32,829 --> 00:21:38,599
IPv4 has different kinds of addresses like\n
239
00:21:40,849 --> 00:21:44,949
But as I said, that’s a topic for another\nvideo.
240
00:21:44,950 --> 00:21:49,890
Next up, let’s see how to find the IPv6\n
241
00:21:51,230 --> 00:21:54,759
We’ve already done this before for IPv4.
242
00:21:54,759 --> 00:21:58,710
Change all of the host bits to 0, and then\n
243
00:21:58,710 --> 00:22:01,759
But let’s try it out for IPv6.
244
00:22:01,759 --> 00:22:09,400
Typically, an enterprise requesting IPv6 addresses\n
245
00:22:09,400 --> 00:22:14,580
Also, typically IPv6 subnets use a /64 prefix\nlength.
246
00:22:14,579 --> 00:22:22,158
So, the enterprise received a /48 block, but\n
247
00:22:22,159 --> 00:22:26,990
This means that an enterprise has 16 bits\n
248
00:22:26,990 --> 00:22:30,388
And the remaining 64 bits can be used for\nhosts.
249
00:22:30,388 --> 00:22:32,408
I think an example will make this clearer.
250
00:22:35,210 --> 00:22:41,100
This part in blue is the /48 block assigned\n
251
00:22:42,779 --> 00:22:47,788
Note that this example is for the IPv6 ‘global\n
252
00:22:47,788 --> 00:22:52,028
As I said before, there are multiple IPv6\n
253
00:22:53,028 --> 00:22:57,160
But these ‘global unicast’ addresses are\n
254
00:22:57,160 --> 00:23:02,808
use over the Internet, they aren’t private\n
255
00:23:02,808 --> 00:23:09,470
Okay, the next 16 bits, 4 hex digits, are\n
256
00:23:09,470 --> 00:23:15,200
Because the enterprise received a /48 block\n
257
00:23:15,200 --> 00:23:21,090
a /64 prefix length, these 16 bits are free\n
258
00:23:21,089 --> 00:23:26,490
Together, these two parts make the ‘network\n
259
00:23:27,490 --> 00:23:31,359
Then the last 64 bits are the host bits.
260
00:23:31,359 --> 00:23:35,479
That is a huge amount of hosts per subnet,\n
261
00:23:35,480 --> 00:23:39,259
But the convention is to use a /64 prefix\nlength.
262
00:23:39,259 --> 00:23:43,710
However, that doesn’t mean you’ll only\n
263
00:23:43,710 --> 00:23:49,840
So, we’ll practice using IPv6 addresses\n
264
00:23:49,839 --> 00:23:55,099
Finding the prefix of an IPv6 address with\n
265
00:23:55,099 --> 00:23:57,519
Simply make the second half of the address\nall 0s.
266
00:23:57,519 --> 00:24:02,980
That’s what I did here, and notice I shortened\n
267
00:24:02,980 --> 00:24:08,159
the host portion, which is all 0s, with a\ndouble colon.
268
00:24:08,159 --> 00:24:13,309
Even if the prefix length isn’t /64, if\n
269
00:24:13,308 --> 00:24:15,528
easy to find the prefix length.
270
00:24:16,528 --> 00:24:20,609
It’s because each hexadecimal character\nis 4 bits.
271
00:24:20,609 --> 00:24:27,469
56 is a multiple of 4, so let me show you\n
272
00:24:27,470 --> 00:24:31,250
This first quartet is the first 16 bits of\nthe address.
273
00:24:31,250 --> 00:24:33,579
This one brings it to 32 bits.
274
00:24:35,259 --> 00:24:38,720
This 2 contains the next 4 bits, so 52.
275
00:24:38,720 --> 00:24:42,259
And this 1 contains another 4 bits, so 56\nbits.
276
00:24:42,259 --> 00:24:48,058
So, these first 14 characters are the network\n
277
00:24:48,058 --> 00:24:54,210
Everything after is the host portion, so we\n
278
00:24:54,210 --> 00:24:58,970
Here it is, after removing leading 0s and\n
279
00:24:58,970 --> 00:25:02,000
Let me point out that you can’t remove these\n0s.
280
00:25:02,000 --> 00:25:05,980
Even though they are part of the host portion\n
281
00:25:07,940 --> 00:25:13,009
For example, if you were to shorten the address\n
282
00:25:13,009 --> 00:25:18,048
the leading 0s back the prefix would be this,\n
283
00:25:19,638 --> 00:25:24,139
So, remember that point, you can only remove\nthe ‘leading’ 0s.
284
00:25:27,589 --> 00:25:31,548
Find where the network portion ends, and change\n
285
00:25:31,548 --> 00:25:36,778
But with an IPv6 address like this you need\n
286
00:25:36,778 --> 00:25:41,058
The prefix length is /93, which isn’t a\nmultiple of 4.
287
00:25:41,058 --> 00:25:46,529
So, that means that the network portions ends\n
288
00:25:48,079 --> 00:25:59,220
16 bits, 32 bits, 48 bits, 64 bits, 80 bits,\n
289
00:26:00,220 --> 00:26:05,558
So, the network portion includes all of these\n
290
00:26:05,558 --> 00:26:12,548
So, in order to properly write out the network\n
291
00:26:12,548 --> 00:26:17,329
As you know, hexadecimal B is equal to decimal\n11.
292
00:26:17,329 --> 00:26:21,480
Decimal 11 is written as 1011 in binary.
293
00:26:21,480 --> 00:26:25,591
Only this first bit is part of the network\n
294
00:26:31,180 --> 00:26:33,380
Change that back to decimal, which is 8.
295
00:26:33,380 --> 00:26:35,528
It’s also written as 8 in hexadecimal.
296
00:26:35,528 --> 00:26:41,470
So, when we write out the network prefix,\n
297
00:26:41,470 --> 00:26:43,669
because we changed the host bits all to 0.
298
00:26:43,669 --> 00:26:46,740
So, here’s the network prefix.
299
00:26:46,740 --> 00:26:49,470
Notice the ‘8’ instead of the ‘B’.
300
00:26:49,470 --> 00:26:53,190
I hope you can see the importance of really\n
301
00:26:53,190 --> 00:26:57,049
If you don’t know binary, it would be tough\n
302
00:26:57,049 --> 00:26:59,970
all of the host bits are changed to 0.
303
00:27:01,898 --> 00:27:07,719
If you don’t know binary, you can’t really\n
304
00:27:07,720 --> 00:27:12,970
Here are some practice questions, find the\n
305
00:27:12,970 --> 00:27:16,569
Pause the video now to do that.
306
00:27:25,798 --> 00:27:28,980
Note that you don’t have to write out the\n
307
00:27:31,259 --> 00:27:35,639
If you still want some more practice, try\n
308
00:27:35,638 --> 00:27:40,990
random prefix lengths yourself, and then try\n
309
00:27:40,990 --> 00:27:48,630
So, we’ve only covered the absolute basics\n
310
00:27:48,630 --> 00:27:52,790
But I want to include a lab with each lecture\n
311
00:27:52,789 --> 00:27:55,519
some very basic IPv6 configuration.
312
00:27:55,519 --> 00:28:00,679
I’ll just show you how to configure IPv6\n
313
00:28:00,679 --> 00:28:03,298
the next video you can try it out in Packet\nTracer.
314
00:28:03,298 --> 00:28:09,970
So, R1 has three interfaces, each connected\n
315
00:28:09,970 --> 00:28:22,139
2001:db8:0:0::/64 on the G0/0 interface, 0:1::/64\n
316
00:28:22,138 --> 00:28:26,658
In this example, the company was assigned\n
317
00:28:26,659 --> 00:28:30,809
quartet of the prefix to make different subnets.
318
00:28:30,808 --> 00:28:36,548
Just a side point, you may be wondering why\n
319
00:28:36,548 --> 00:28:43,450
That’s because this range of IPv6 addresses\n
320
00:28:43,450 --> 00:28:46,960
They should never actually be used in real\n
321
00:28:52,210 --> 00:28:56,169
First up, you have to use the command IPV6\nUNICAST-ROUTING.
322
00:28:56,169 --> 00:28:59,759
This command allows the routers to perform\nIPv6 routing.
323
00:28:59,759 --> 00:29:05,089
If you don’t enable this, it’s not going\n
324
00:29:05,089 --> 00:29:08,470
Next up, I configured the G0/0 interface.
325
00:29:08,470 --> 00:29:14,899
The command to configure an IPv6 address is\n
326
00:29:15,980 --> 00:29:21,750
You’ll notice that a lot of IPv6 commands\n
327
00:29:25,700 --> 00:29:29,569
Also notice that you can use the shortened\n
328
00:29:31,599 --> 00:29:35,339
Remember to use NO SHUTDOWN to enable the\ninterface, too.
329
00:29:35,339 --> 00:29:42,379
I did the same thing on G0/1, and then G0/2,\n
330
00:29:42,380 --> 00:29:46,990
You can use the whole address, the shortened\n
331
00:29:46,990 --> 00:29:51,220
the router will understand what you mean.
332
00:29:51,220 --> 00:29:52,649
Now let’s confirm the configurations.
333
00:29:52,648 --> 00:29:56,919
I used the command SHOW IPV6 INTERFACE BRIEF.
334
00:29:56,920 --> 00:30:02,990
Again, same as the IPv4 command, you just\nhave to use ‘IPv6’.
335
00:30:02,990 --> 00:30:05,970
There are a few things to point out here.
336
00:30:05,970 --> 00:30:10,700
First up, notice that the shortened version\n
337
00:30:11,778 --> 00:30:16,929
Actually, the address on the G0/0 interface\n
338
00:30:19,099 --> 00:30:23,709
To emphasize that the first four quartets\n
339
00:30:23,710 --> 00:30:28,429
two 0s here in the network diagram and when\n
340
00:30:28,429 --> 00:30:32,000
But they can be included in the double colon\n
341
00:30:33,500 --> 00:30:39,339
Okay, next thing to point out, something you\n
342
00:30:39,339 --> 00:30:44,769
has two IPv6 addresses, even though we only\nconfigured one.
343
00:30:44,769 --> 00:30:48,740
These are called ‘link-local’ addresses,\n
344
00:30:48,740 --> 00:30:55,140
interface when you configure an IPv6 address,\n
345
00:30:55,140 --> 00:31:00,630
I will cover these in Day 32 when I cover\n
346
00:31:00,630 --> 00:31:04,990
want to read about them before that Wikipedia\n
347
00:31:04,990 --> 00:31:10,579
IPv4 has link-local addresses as well, although\n
348
00:31:11,579 --> 00:31:16,869
Anyway, as I said I’ll cover those in Day\n32.
349
00:31:16,869 --> 00:31:21,388
Before moving on to the quiz let’s review\n
350
00:31:21,388 --> 00:31:26,168
First up we reviewed hexadecimal and practiced\n
351
00:31:26,169 --> 00:31:30,909
Although we briefly covered hexadecimal when\n
352
00:31:30,909 --> 00:31:34,169
even more important to be comfortable with\nit.
353
00:31:34,169 --> 00:31:37,299
Then I introduced why IPv6 is necessary.
354
00:31:37,298 --> 00:31:41,589
Basically, there aren’t enough IPv4 addresses\n
355
00:31:41,589 --> 00:31:48,109
I covered the basics of IPv6, and the main\n
356
00:31:48,109 --> 00:31:53,658
which are 128-bits in length and usually written\n
357
00:31:53,659 --> 00:31:57,789
Finally I showed you the basic commands to\n
358
00:31:57,788 --> 00:32:00,819
IPv6 addresses on an interface.
359
00:32:00,819 --> 00:32:05,028
There is still a lot more that we have to\n
360
00:32:07,048 --> 00:32:11,079
Make to sure watch until the end of the quiz\n
361
00:32:11,079 --> 00:32:13,388
best practice exams for the CCNA.
362
00:32:13,388 --> 00:32:18,849
They’re the practice exams I used to prepare\n
363
00:32:20,650 --> 00:32:23,750
If you want to get ExSim, follow the link\n
364
00:32:23,750 --> 00:32:29,638
Okay, let’s move on to question 1 of the\nquiz.
365
00:32:29,638 --> 00:32:32,648
Which of the following are valid IPv6 addresses?
366
00:32:35,859 --> 00:32:41,979
Pause the video now to find the answers, only\n
367
00:32:41,980 --> 00:32:46,288
Okay, let’s check the answers.
368
00:32:46,288 --> 00:32:52,648
The valid IPv6 addresses are A, B, and E.\nWhy is C invalid?
369
00:32:52,648 --> 00:32:55,028
It has a G in the fourth quartet.
370
00:32:55,028 --> 00:33:02,759
IPv6 addresses use hexadecimal, which only\n
371
00:33:06,099 --> 00:33:11,699
An IPv6 address should have only 8 quartets\n
372
00:33:14,528 --> 00:33:16,769
It’s using the double colon twice.
373
00:33:16,769 --> 00:33:21,119
Remember, you can only use the double colon\n
374
00:33:21,119 --> 00:33:24,648
Okay, let’s go to question 2.
375
00:33:24,648 --> 00:33:30,339
Which of the following is a correctly-abbreviated\n
376
00:33:32,169 --> 00:33:38,080
Pause the video now to select the correct\none.
377
00:33:38,079 --> 00:33:44,349
The correct answer is D. All of these abbreviations\n
378
00:33:44,349 --> 00:33:49,638
can only remove ‘leading’ 0s from an IPv6\n
379
00:33:50,950 --> 00:33:54,569
So, only D is a correct abbreviation of the\naddress.
380
00:33:57,638 --> 00:34:02,569
Which of the following commands must be used\n
381
00:34:02,569 --> 00:34:06,788
A, IPV6 UNICAST-ROUTING from interface config\nmode.
382
00:34:06,788 --> 00:34:10,579
B, IPV6 UNICAST-ROUTING from global config\nmode.
383
00:34:10,579 --> 00:34:14,390
C, IPV6 ROUTING from global config mode.
384
00:34:14,389 --> 00:34:18,210
Or D, IPV6 ROUTING from interface config mode.
385
00:34:18,210 --> 00:34:25,059
Pause the video to think about your answer.
386
00:34:25,059 --> 00:34:30,889
The answer is B. IPV6 UNICAST-ROUTING, entered\n
387
00:34:30,889 --> 00:34:33,260
the router to perform IPv6 routing.
388
00:34:33,260 --> 00:34:38,409
Okay, we had lots of practice questions earlier\n
389
00:34:38,409 --> 00:34:42,240
Now let’s do a bonus question from Boson\nExSim for CCNA.
390
00:34:42,239 --> 00:34:47,848
Okay, here's today's Boson ExSim practice\nquestion.
391
00:34:47,849 --> 00:34:51,510
This question actually covers something we\n
392
00:34:54,418 --> 00:34:58,879
What command would you issue on RouterA so\n
393
00:34:59,880 --> 00:35:04,369
So, this is a question about static routing\nusing IPv6.
394
00:35:04,369 --> 00:35:10,329
However, the IPv6 static route command is\n
395
00:35:10,329 --> 00:35:13,869
Like I said in the video, a lot of IPv6 commands\nare like that.
396
00:35:13,869 --> 00:35:18,730
The only difference is instead of IP ROUTE\nit's IPV6 ROUTE.
397
00:35:18,730 --> 00:35:25,010
So, the command is IPV6 ROUTE, followed by\n
398
00:35:25,010 --> 00:35:28,270
and the prefix length here, and then the next\nhop.
399
00:35:28,269 --> 00:35:31,239
Okay, so that's the IPv6 static route command.
400
00:35:31,239 --> 00:35:35,139
So, knowing that, you should be able to answer\nthis question.
401
00:35:35,139 --> 00:35:43,411
So pause the video here and try to find the\ncorrect answer.
402
00:35:43,411 --> 00:35:45,879
Okay, hopefully you found the answer.
403
00:35:48,677 --> 00:35:55,690
So, RouterA needs to reach RouterC, which\n
404
00:35:55,690 --> 00:36:00,119
So, that should be the destination in the\nstatic route command.
405
00:36:00,119 --> 00:36:06,329
So that means the correct answer is either\n
406
00:36:06,329 --> 00:36:10,650
2001:DB8:1::/64, which is not correct.
407
00:36:10,650 --> 00:36:13,889
So, is the correct answer B or D?
408
00:36:13,889 --> 00:36:22,230
Let's see, so the next hop should be RouterB's\n
409
00:36:23,900 --> 00:36:29,170
So, which one has the correct next hop?
410
00:36:29,170 --> 00:36:35,170
This one here, B. 2001:DB8:1::2, that looks\ncorrect.
411
00:36:36,820 --> 00:36:40,910
The next hop is 2001:DB8:2::2, that is not\ncorrect.
412
00:36:40,909 --> 00:36:45,808
That would mean RouterC is the next hop, but\n
413
00:36:46,809 --> 00:36:49,470
Okay, so B should be the correct answer.
414
00:36:49,469 --> 00:36:52,299
I will click on 'show answer'.
415
00:36:54,510 --> 00:36:57,329
So here is Boson's explanation.
416
00:36:57,329 --> 00:37:00,490
You can pause the video here to read that.
417
00:37:00,489 --> 00:37:03,709
Also notice there is some Cisco documentation\nincluded.
418
00:37:03,710 --> 00:37:07,500
This is available free online and it's a great\nstudy resource.
419
00:37:07,500 --> 00:37:12,730
And also it shows you which category of the\n
420
00:37:12,730 --> 00:37:15,108
And it is from 'IP Connectivity'.
421
00:37:15,108 --> 00:37:22,690
Okay, so that is an example question from\nBoson ExSim for CCNA.
422
00:37:22,690 --> 00:37:27,550
If you're looking for CCNA practice exams,\n
423
00:37:27,550 --> 00:37:29,420
These are fantastic practice exams.
424
00:37:29,420 --> 00:37:34,630
I used them when preparing for my CCNA and\n
425
00:37:34,630 --> 00:37:42,640
If you want to get a copy of Boson ExSim,\n
426
00:37:42,639 --> 00:37:45,690
There are supplementary materials for this\nvideo.
427
00:37:45,690 --> 00:37:49,280
There is a flashcard deck to use with the\nsoftware ‘Anki’.
428
00:37:49,280 --> 00:37:53,730
There will also be a packet tracer practice\n
429
00:37:53,730 --> 00:37:56,309
That will be in the next video.
430
00:37:56,309 --> 00:37:59,650
Sign up for my mailing list via the link in\n
431
00:37:59,650 --> 00:38:04,880
the flashcards and packet tracer lab files\nfor the course.
432
00:38:04,880 --> 00:38:09,550
Before finishing today’s video I want to\n
433
00:38:09,550 --> 00:38:13,940
To join, please click the ‘Join’ button\nunder the video.
434
00:38:13,940 --> 00:38:18,960
Thank you to Magrathea, Njabulo, Benjamin,\n
435
00:38:18,960 --> 00:38:26,000
Nil, Prakaash, Nasir, Erlison, Apogee, Wasseem,\n
436
00:38:26,000 --> 00:38:32,449
Samil, Ed, Value, John, Funnydart, Scott,\n
437
00:38:32,449 --> 00:38:40,489
C Mohd, Johan, Mark, Yousif, Sidi, Boson Software,\n
438
00:38:40,489 --> 00:38:45,699
Sorry if I pronounced your name incorrectly,\n
439
00:38:45,699 --> 00:38:49,929
One of you is still displaying as Channel\n
440
00:38:49,929 --> 00:38:52,669
me know and I’ll see if YouTube can fix\nit.
441
00:38:52,670 --> 00:38:57,159
This is the list of JCNP-level members at\n
442
00:38:57,159 --> 00:39:02,019
8th 2020, if you signed up recently and your\n
443
00:39:06,449 --> 00:39:10,429
Please subscribe to the channel, like the\n
444
00:39:10,429 --> 00:39:13,699
with anyone else studying for the CCNA.
445
00:39:13,699 --> 00:39:16,519
If you want to leave a tip, check the links\nin the description.
446
00:39:16,519 --> 00:39:23,019
I'm also a Brave verified publisher and accept\n
36418
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.