-
In this video, I'm going to show you how
-
to do IP version 6 subnetting. IP version
-
6 is little bit of scary. It's not like
-
IP version 4
-
with regular decimal numbers that we
-
can understand.
-
IP version 6 uses hexadecimal number
-
that we normally don't use every day.
-
That's why it's
-
much difficult to fathom those numbers.
-
Regardless, IP version 6 is going to be
-
the next generation internet protocol.
-
And its adoption is increasing faster.
-
If we look at the overall traffic and the
-
network advertisements,
-
over 25% of all
-
internet-connected networks advertise
-
IP version 6 connectivity. So you can
-
tell
-
this is going to
-
increase further, not going to go down.
-
So that means we all have to get
-
familiarized with IP version 6
-
like we did with IP version 4.
-
If we look at the IP version 6, it
-
has 8 groups of four hexadecimal digits.
-
You see here, four hexadecimal digit and
-
a total of eight groups separated by
-
colons.
-
And the first part is- first three is
-
used for network parts. It's like IP
-
version 4. IP version 4
-
has different classes, and there is
-
network
-
digits and
-
client digits.
-
Likewise in here,
-
it has network portion and the subnet
-
portion
-
and the
-
client ID portion.
-
So let me go a little further and look
-
at
-
the IP version 6
-
addressing.
-
So
-
there are eight groups, and
-
each one is a hexadecimal digit. So here
-
you have four hexadecimal digit,
-
and each hexadecimal digit
-
has
-
four
-
binary bits.
-
So that means
-
one group is going to be 4 into 4
-
16, and if you multiply 16 into 8, you
-
come up with 128.
-
So
-
IP version 6 is 128 bit long,
-
not like IP version 4, which is 32
-
bit long. So if you look at the chart,
-
this is a hexadecimal chart. As I told
-
you before, each hexadecimal digit
-
is
-
composed of
-
4 binary numbers, and it goes from
-
0 to 15.
-
And the hex- this is the decimal
-
number, 0 to 15. So we are not going to
-
use
-
these decimal numbers, we are going to
-
use the hexadecimal representation.
-
And
-
it goes from 0
-
up to 9 as same as a decimal,
-
and then goes into 'A' to 'F'.
-
That's what
-
it makes a hexadecimal number. And these
-
are the binary representation of these
-
numbers. So if we look at
-
here
-
2,
-
and 2 is- so these four numbers here,
-
that is 0 0 1 0,
-
that represent 2,
-
and you see here 0 0 1 0,
-
that's represent 2.
-
And let me go back there, and
-
so these are zeros so all of them are
-
going to be
-
zeros. That means eight
-
zeros and then 1. 1 is going to be
-
0 0 0 1. So if you go here 1,
-
that is 0 0 0 1. So that's how you
-
convert
-
hexadecimal
-
digit into binary bits.
-
So you know how to convert all of them.
-
So all these numbers
-
came from the hexadecimal
-
digits.
-
And when you write these numbers,
-
if you have all of them zeros,
-
consecutive zeros, in a group
-
you can represent by two colons.
-
But you cannot use these two colons
-
twice
-
because that will be problematic
-
because
-
you have- you know, the algorithm know
-
everything else come here
-
after zero, but if you put
-
two colons here,
-
it's going to-
-
it's not going to know how many groups
-
come here, how many groups come
-
here. So you can use these two colons
-
only once.
-
And then you can
-
remove these leading zeros,
-
so that means you can write it in a
-
different way. I'm going to get to that
-
in
-
another section here.
-
So if you look at here,
-
this is a
-
unedited,
-
unabbreviated IP version 6 number, and then
-
you can
-
make all zeros into one zero.
-
And
-
you can write it down as it is here,
-
there's nothing to abbreviate.
-
And here, you have two continuous
-
groups of zeros, so you can
-
represent this with
-
two colons.
-
So if you come
-
to the final thing,
-
so this come as it is, and you can
-
represent this
-
with a
-
single zero, and you have to write it as
-
it is. You can represent everything into
-
two colons.
-
And then you can remove this leading
-
zero,
-
and then you have to write this one as
-
it is. So this is the
-
abbreviated IP version 6
-
number because
-
writing a big, long 128 bit
-
is very cumbersome, so
-
if you can abbreviate,
-
you have to just put it this way.
-
So
-
let me go back
-
here. So we looked at
-
what is IP version 6 here,
-
and then we understand how we can
-
write IP version 6 addresses
-
and how we can abbreviate. So now we get
-
to the
-
IP version 6 subnetting part. Before we
-
go into subnetting part, we need to know
-
how to obtain IP version 6 address.
-
So if you are a regular customer,
-
you can get the IP version 6 address
-
from your ISP. If you are a Charter or
-
Verizon or AT&T
-
customer, your ISP will provide you with
-
an IP version 6 address.
-
But if you are an ISP or a large
-
enterprise
-
customer or a university or institution,
-
you have to
-
request a big block of IP addresses
-
because it's not like a customer, you
-
just get one IP and you're done with it.
-
They will need thousands and thousands
-
of
-
addresses for their large institution
-
and the customers.
-
So you have to request an IP version 6 block
-
from one of these organizations. So
-
this is called Regional
-
Internet Registry.
-
So there will be five of them
-
in different region. So if you are in
-
North America, you have to go
-
a r i n, ARIN.
-
They are the one providing you
-
the IP version 6 address. So you have to
-
contact and create a login with them, and
-
then request IP version 6 block. If you
-
already have a IP version
-
4 allocation from them, it's pretty
-
simple. The process would be pretty
-
simple.
-
Okay, so as I told you before,
-
this is the- the first three is going to
-
be the routing prefix.
-
And this is for
-
the subnet ID.
-
So routing prefix can be said it's
-
network,
-
and this is for subnet and this is for
-
clients.
-
So you will be getting the first two
-
portion
-
from the ARIN. That's if you are North
-
America,
-
these two will come from
-
the ARIN. And then
-
the third one is going to represent your
-
region or your institution. So if you are
-
a university,
-
you can decide this part of it.
-
So let me go to the block so you will
-
understand it further.
-
So block size,
-
if you are a big, large institution,
-
you will be provided with
-
/32 address. So /32 means
-
each block is 16. So 16 into 232 so
-
you will end up with only these 2 and
-
you have to make up everything else from
-
there.
-
And if you are,
-
you know, if you have this many size,
-
next level is
-
36 block, and next level is 40 and
-
44 and 48. If you have one single site,
-
you will be provided with /48.
-
Okay, so let's look at- I'm going to go
-
here first.
-
This is the IP version 6
-
subnet cheat sheet.
-
Let me go in there before I start the
-
subnetting part of it. So if you see here,
-
IP version 6 subnet cheat sheet and ipv6
-
cheat sheet reference. This tells you, okay,
-
how many IP address you will get if you
-
use this CIDR number. So /28,
-
you have just 1. It's like a /32
-
in IP version
-
4.
-
And then if you go down to the path, you
-
know, it will be increasing,
-
and then
-
you come here,
-
that will be
-
64, residential.
-
So
-
if a block is
-
/64.
-
Let me tell you one thing here. So
-
that means
-
in IP version 6-
-
4, we have a concept. It's like you
-
cannot use the first IP and last IP. That
-
is used for
-
network and for the
-
broadcast IP. But IP version 6 is not like that.
-
You can use all the IPs available. So if
-
you get a
-
/64,
-
that means-
-
let me go here, and then I'll show you.
-
Here. So
-
this is where the /64 comes. So if
-
you see like a 4
-
network part and subnet id
-
slash 64 here so that means
-
if you are getting a slash 64 you have
-
only
-
one
-
network one subnet
-
so that's why
-
one side
-
that's why it this
-
this is telling you
-
a residential allocation slash 64. and
-
other 64 all can be host
-
so you can
-
have
-
this many number of hosts in a slash 64
-
ip address
-
block
-
and you go down here
-
and then you come here it's a business
-
if you are using a slash 48 it's going
-
to be a
-
business one
-
and
-
if you are
-
go
-
this is 32
-
is going to be the
-
isp allocation so if you are a charter
-
communication or
-
a tnt a verizon uh aaron will be
-
providing them with the slash 32
-
uh subnet
-
and that's the one you can
-
get uh the biggest one you can get from
-
aaron or any other uh
-
internet registry so let me go back here
-
and we
-
i'm going to go to this
-
calculator this is where i'm going to do
-
the
-
the calculation part of it
-
so uh for this i'm going to grab
-
an address here
-
so i can show you
-
how the allocation works so
-
so this is the address
-
i have been given by aaron
-
so it's going to be two
-
colons
-
and
-
that's going to be 32.
-
so you uh say if you are isp or
-
university you will be provided with
-
this block so when you get this block
-
you put this one here
-
and you can go down here and find out
-
how many
-
smaller subnet you can create from this
-
block so
-
if you have just 32 is just one subnet
-
and if you are going to create two
-
subnets
-
from this 32 that will be
-
33. so if you can go down here all the
-
way
-
and that will be
-
uh you know
-
tells you if you under 60 subnets you
-
will be having a lot many subnets here
-
so the best idea in subnetting is if you
-
are going to
-
divide this 32
-
uh
-
you have to follow
-
this one uh let me show you
-
this
-
allocation uh
-
typing
-
this allocation type so
-
for one site
-
think about you have a big site you had
-
a you have a very big department
-
or something so
-
say
-
school of engineering you want to
-
allocate them with the 48
-
so i will go
-
here so you have to start with first you
-
start with 40 that's the recommendation
-
from 32 go to 40
-
so you will have 256
-
40s so that means
-
you can allocate this one to 40 a big
-
big
-
entities within your organization
-
and then what you do is you take
-
so you have to
-
256 40s
-
say you you have a big pie
-
and you take the pie
-
cut into 40s first so you will get
-
256 pieces
-
and then you take the first piece here
-
right
-
and then you cut that first piece
-
i would say
-
take the first piece
-
and cut that first piece this is a 40
-
subnet
-
and you can create
-
how many 44s so you can create
-
from 40 to
-
44 you can create
-
44
-
you can create 16 subnets of 44.
-
and let me go to the block again so 48
-
to 44
-
and then
-
uh so we are coming in this side
-
so
-
it recommends 36 also so you can do 36
-
before 40. so
-
let me go here
-
32
-
and you go to
-
36
-
so you have 16 36 subnets
-
and you take the first 36
-
and make it
-
as
-
40s
-
and you can create another
-
16
-
40s
-
and you take the 40s
-
and do 44.
-
and you take the first one
-
that's not going to change
-
here
-
uh they take the first one and create 44
-
you have another 16 inside
-
and then you take that
-
44
-
and you create
-
48
-
so you have another 16 here
-
right
-
and this one will give you so many
-
address so if you look at so you take
-
this 48
-
and
-
divide this
-
into
-
64 subnets this is the recommended uh
-
client subnet
-
so you take uh 64. so you have 65 536
-
client subnets you can
-
create from 148.
-
so think about how many subnets you
-
already have
-
so if you go to the cheat sheet
-
and if you look at
-
here
-
you have a slash 64
-
right
-
uh you have a slash 64
-
65 536
-
subnets
-
and each subnet can have
-
this many hosts
-
so
-
that's why you know ip version 6 is
-
enormous
-
and you get
-
trillions and trillions of
-
addresses
-
you can get so let me
-
look at
-
how many
-
c
-
client ip
-
in ip
-
ipv6
-
so
-
let me how many ip addresses does
-
support
-
so it it support this many you know is
-
unbelievable
-
uh this is equal to
-
340 trillion trillion trillion ip
-
addresses so
-
that's why they created this ip address
-
never
-
deplete like ipv4 address hope you liked
-
this video if so please hit the like
-
button below and subscribe
-
if you want to get notified when i
-
release my next video
-
go ahead and turn on the notification
-
bell
-
thanks for watching and see you next
-
time