EUI 64 IPv6 Addressing

Video Activity

EUI 64 IPv6 Addressing In our last lesson we explain how IPv6 address are configured and we mapped out each field for clarification. In this lesson we'll explore what IPv6 addresses do, how they function for what they purposes they exist. For example, you'll learn about Stateless Auto-configuration, what happens when you give a MAC address a /64 pr...

Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or

Already have an account? Sign In »

Time
29 hours 18 minutes
Difficulty
Intermediate
Video Description

EUI 64 IPv6 Addressing In our last lesson we explain how IPv6 address are configured and we mapped out each field for clarification. In this lesson we'll explore what IPv6 addresses do, how they function for what they purposes they exist. For example, you'll learn about Stateless Auto-configuration, what happens when you give a MAC address a /64 preface and observe how it's done, and what importance the UL bit holds.

Video Transcription
00:04
Now I be re six has the ability
00:07
to create
00:11
you. Create an I P V six address
00:14
automatically something called stateless Auto configuration
00:18
automatically given the Mac address off a host.
00:23
So if you give I P v six and Mac address and a 64 bit network address or a 60 slashed 64 network address
00:32
or a 64 prefix
00:36
ah slashed 64 prefix, it can automatically create an I P V six address by inserting
00:42
part,
00:44
inserting the Mac address into the prefix.
00:47
So an I P V six host can automatically configure an I P V six address, given a slashed 64 prefix or slashed 64 network address by inserting it's Mac address into the I. P V six addressed.
01:03
How is this done?
01:06
Well,
01:07
I already got Router one in art Apologies. F zero zero's Mac address to be 00605 c. Six year O C. 801
01:17
and let's say we have the prefix
01:19
2002 Cool in zero colon zero
01:26
colon
01:26
A. This is
01:29
16 32
01:30
48 64 bits.
01:33
Coghlan. Coghlan
01:37
slashed 64 prefix.
01:40
So we're gonna be working with this prefix that I got from this
01:44
I p v six address. So we don't really need to look at the prefix anymore. Ah, the HPV six address on top anymore.
01:52
Because we're gonna be using this prefecture below
01:53
and we're gonna derive.
01:57
And you i 64 address from or the extended unique identify rhe from it. Since this isn't 64 bit prefects
02:06
and our mac addresses 48 bits.
02:08
If I add 64 plus 48 I get 112 minutes.
02:15
But tonight, the V six address
02:17
is 128 bits.
02:21
So I am still short or shy. 16 bits i p v six. You. I resolve this by taking the Mack 0060 colon
02:32
five c 60
02:36
dot sorry. I said Colin dot
02:38
See 801
02:43
and adding a 24 bit padding or a 16 bit patting. Sorry. A 16 bit padding
02:49
in the form of F f f
02:53
E. Right after the 24 bit, or you. I feel
02:57
so
02:59
this first field.
03:02
These for these four hex character's in the lack equals 16 bits.
03:07
This is four bits and four bits. 16 plus eight is 24.
03:13
So the O. U I feel that a Mac address is 24 bits.
03:20
So right after the O. U I field,
03:23
I will add F f f e to create
03:27
and you I 64 address. So I get
03:30
0060
03:35
colon and noticed I'm using Coghlan's not dots because I'm converting it into an I P V six address.
03:42
Then
03:43
five C f f
03:46
cool in five C f f and F e
03:53
60
03:54
then Colon
03:57
see 801 So step one was to add FF Effie right after the O. U I feel
04:05
Step two
04:08
is remember the least significant bit in the most significant bite off a Mac address
04:14
is the U L bit or the universal local bit
04:17
or actually the seventh bit
04:20
in a Mac address? The seventh most significant bit in the Mac address
04:25
is the U L Bit,
04:27
which resides in this second field. So this second field is four bits 1234 with the values 1248
04:39
The first field is on this side, which is also four bits So four bits here,
04:45
567 So this true value bit is my seventh bit by default is it is turned off
04:54
when the U L bit, the seventh most significant bit in the Mac address is turned off. It means that this address is globally unique.
05:02
You're not gonna be in addressing
05:04
overlap anywhere. There's not gonna be another dress like this on the planet. Supposedly, if this
05:12
address has been locally assigned, which is what we're doing, we're tampering with it.
05:17
This bit has to be turned on. So if we turn this bit on,
05:23
we get 0260
05:28
five c f f f ea 60 c 801
05:36
Again, this is 70 bit resides in this hex character.
05:42
Before
05:43
it was zero,
05:46
it was turned off. The bit was turned off. So you gotta value zero. Here was the other bits are off to
05:51
now. If I turned this bit on,
05:55
this is the seventh
05:57
bit.
05:59
If I turn this on
06:01
so the one bit it off that forbid is off a bit is off the tube in is on, so this value becomes too.
06:09
So I get 0260
06:12
Now I pre pend my prefix in front of this address and I get
06:16
2002
06:19
Colin zero cool and zero
06:24
Cool In a
06:26
cooling,
06:27
I admit
06:29
the first leading first leading zero
06:31
260 Colon, five c f f
06:38
cool and F ea 60 Cool and see eight or one. Let's see if we get this address when we do our lab.
Up Next