09-23-2019 02:30 AM - edited 09-23-2019 02:32 AM
I'm having trouble understanding the prefix part.
from what i know for example 2001:dead:beef::/48 is my network prefix i cant change those 48 bits.
and that my next 16 hex bits 0000 is my sub net bits when you add them up give you 64 bits.
but whats confusing me if you have a /56 does that mean you ignore the the the first 8 bits ?
0000
and i heard from other people you can sub-net from there with a /56
0100
0200
and i saw another video where this lady
she has a ipv6 address of 2000:acdc:1234:6600::/56
and started sub netting
6600
6601
and so on
I'm really confused.
Solved! Go to Solution.
09-26-2019 03:59 AM
09-23-2019 03:00 AM
Hi there,
In your first example, 0100 and 0200, those would be different /56 prefixes:
2001:dead:beef:01::/56 2001:dead:beef:02::/56
Your second example is the correct understanding of IPv6 subnetting.
2001:dead:beef:6601::/64 2001:dead:beef:6602::/64
...are both subnets which are part of the same prefix:
2001:dead:beef:66::/56
cheers,
Seb.
09-23-2019 03:08 AM
what do you mean different /56 prefix
because this is what the guy told me
"No, since only the first eight bits in that hextet are part of the prefix. That means in this case: 2001:DEAD:BEEF:ABCD::/56 A and B are part of your network portion, while C and D are part of your host portion. So counting up subnets for a /56 scheme starts at 2001:DEAD:BEEF:01 | 00:0000:0000:0000:0000, since everything behind the | is not part of your „prefix mask“
thats what got me confused
09-23-2019 03:52 AM
hmmmm, that quote has some incorrect elements.
AB are part of the prefix, CD make up the subnet ID. The host (or interface) ID starts after the 64th bit.
So a prefix of 2001:DEAD:BEEF:AB::/56 will give a subnet range of:
2001:DEAD:BEEF:AB00::/64 to 2001:DEAD:BEEF:ABFF:/64
Back to original example:
2001:dead:beef:01::/56 2001:dead:beef:02::/56
The first prefix has the range 2001:dead:beef:0100::/64 to 2001:dead:beef:01ff::/64 . When you increment the final subnet ID by one, you will be in the next /56
2001:dead:beef:02::/56
If in any doubt have a play with an online subnet calculator:
http://www.gestioip.net/cgi-bin/subnet_calculator.cgi
cheers,
Seb.
09-26-2019 03:59 AM
09-26-2019 11:24 AM
so for the /57 the goes from 0 to 7 = 8
and net next sub-net is 8 to f =8
and another question i can use 0 right unlike ipv4 ?
09-26-2019 11:13 PM
Yes, you are correct.
and yes, you can use 0
/Mikael
10-09-2019 11:09 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide