Now I be re six has the ability
you. Create an I P V six address
automatically something called stateless Auto configuration
automatically given the Mac address off a host.
So if you give I P v six and Mac address and a 64 bit network address or a 60 slashed 64 network address
ah slashed 64 prefix, it can automatically create an I P V six address by inserting
inserting the Mac address into the prefix.
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.
I already got Router one in art Apologies. F zero zero's Mac address to be 00605 c. Six year O C. 801
and let's say we have the prefix
2002 Cool in zero colon zero
So we're gonna be working with this prefix that I got from this
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.
Because we're gonna be using this prefecture below
and we're gonna derive.
And you i 64 address from or the extended unique identify rhe from it. Since this isn't 64 bit prefects
and our mac addresses 48 bits.
If I add 64 plus 48 I get 112 minutes.
But tonight, the V six address
So I am still short or shy. 16 bits i p v six. You. I resolve this by taking the Mack 0060 colon
dot sorry. I said Colin dot
and adding a 24 bit padding or a 16 bit patting. Sorry. A 16 bit padding
in the form of F f f
E. Right after the 24 bit, or you. I feel
These for these four hex character's in the lack equals 16 bits.
This is four bits and four bits. 16 plus eight is 24.
So the O. U I feel that a Mac address is 24 bits.
So right after the O. U I field,
I will add F f f e to create
and you I 64 address. So I get
colon and noticed I'm using Coghlan's not dots because I'm converting it into an I P V six address.
cool in five C f f and F e
see 801 So step one was to add FF Effie right after the O. U I feel
is remember the least significant bit in the most significant bite off a Mac address
is the U L bit or the universal local bit
or actually the seventh bit
in a Mac address? The seventh most significant bit in the Mac address
which resides in this second field. So this second field is four bits 1234 with the values 1248
The first field is on this side, which is also four bits So four bits here,
567 So this true value bit is my seventh bit by default is it is turned off
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.
You're not gonna be in addressing
overlap anywhere. There's not gonna be another dress like this on the planet. Supposedly, if this
address has been locally assigned, which is what we're doing, we're tampering with it.
This bit has to be turned on. So if we turn this bit on,
five c f f f ea 60 c 801
Again, this is 70 bit resides in this hex character.
it was turned off. The bit was turned off. So you gotta value zero. Here was the other bits are off to
now. If I turned this bit on,
so the one bit it off that forbid is off a bit is off the tube in is on, so this value becomes too.
Now I pre pend my prefix in front of this address and I get
Colin zero cool and zero
the first leading first leading zero
260 Colon, five c f f
cool and F ea 60 Cool and see eight or one. Let's see if we get this address when we do our lab.