How is the ipv6 link-local address determined ?
First let’s find out the mac-address of our fastethernet interface :
R1 :
|
Let’s give the interface an ipv6 address :
R1 :
|
Let’s have a look at the link-local address :
R1 :
|
How was this link-local address determined :
-Invert 7th most significant bit
each two characters is 1 byte, so we need to invert the 7th most significant bit in CC
that is
C is 12 in hexadecimal so cc would be :
8 4 2 1 8 4 2 1
1 1 0 0 1 1 0 0
Now let’s invert the 7th most significant bit :
8 4 2 1 8 4 2 1
1 1 0 0 1 1 1 0
Now that is CE
So now we take the ce00 put FE80 in front of it and we put FFFE in the middle and we get :
FE80::CE00:EFF:FED8:20 (the leading zero’s are discarded)
Now let’s ping some dead beef (lol) :
R1 :
|