I was making an IPv6 exercise in which I had to configure two Router Interface: G0/0 and G0/1
G0/0 uses 2001:DB8:FADE:00FF::/64 and I have to use to next subnet for G0/1
This is the answer, but What I don't get to understand is, how to move the bits:
G0/0 2001:DB8:FADE:00FF::1/64
G0/1 2001:DB8:FADE:0100::1/64
00FF - 0000 0000 1111 1111
0100 - 0000 0001 0000 0000
Let's say:
000F - 0000 0000 0000 1111
What is going on after? The last bits back to zero, while I increment +1 on third part? Like 0000 0000 0001 0000 = 0010 (Hex).
Update:
I would like to know how develop this binaries until the Hex value gets FFFF
Example:
00FF - 0000 0000 1111 1111
0000 0001 0000 0000
0000 0001 0000 0001
0000 0001 0000 0010
Trying to simplify, the fourth part reaches 1111 while previous parts keep the values, after
0000 0001 0001 1111
0000 0001 0010 1111
Now, the third part starts to build until 1111, the next is second part and etc..
Am I correct? I'm not getting to develop that values :\
ffffsince that is65,535in decimal. If you have a spreadsheet, like Excel, you can do this. Excel won't do binary numbers with that many digits (maybe 10 digits), but it does have formulae for converting between the different number bases (BIN2DEC,BIN2HEX,DEC2BIN,DEC2HEX, etc.). You could easily create a list of0to65,535in once column, and the binary (up to 10 digits) in another column, and the hexadecimal in another column, to see how it works. – Ron Maupin Mar 06 '16 at 18:0910is the number base. Binary10is2, octal10is8, hexadecimal10is16, and so on. Number bases larger than10don't have enough numeric digits, so we use letters. Number bases smaller than10have more digits so you don't use them all. Base 2 (binary) is really the smallest number base you can represent; you just increment the next-higher digit as you increment by1when the lower digit reaches1, the same way you do it in decimal when the lower digit reaches9. – Ron Maupin Mar 06 '16 at 18:25