Do IPv6 addresses need to have an inside local private address and a outside public address like IPv4? Or does it use one address for everything? IIRC, IPv4 public addresses were used since private addresses were becoming scarce.
Hi Jerry, you have your IPv4 public/private the wrong way around. There are only around 4 billion useable IPv4 addresses, so we've had to do things like NAT in order to stretch the IPv4 addresses which we have. IPv6 can have both local and private addresses like IPv4, however there are far more IPv6 addresses than we will ever need (currently!). So you could have everyone using their own IPv6 public address, or you could do some form of NAT if you wanted.
Say for instance, you have 2fab:0000:0000:8493:d423:0000:0000:0000 as your IPv6 address. Does it matter which set of zeros you drop? Would I be able to drop the second set of zeros, instead of the first if it is more efficient? Additionally, say for instance, you have only one set of zeros in an entire address. Would you compress to double colon (::) or would it be (:0:)? Can you use the double colon for only one set of zeros? Lastly, can you compress any set of zeros to (:0:), even if you've used the double colon once? If anyone can answer these questions, I would appreciate it. I am only finding the rules in this video via Google and can't seem to find these rare scenarios.
+Taylor Pelletier It doesn't matter which set of zeros you collapse with the double colon, as long as you only use the double colon once in an address. You would collapse the longest group of zeros in an address. If the length of consecutive zeros is the same, then you collapse the left-most group. If you only have a single group of zeros, then you wouldn't use the double colon. You would remove the leading zeros instead, leaving a single 0 to represent the group. You can remove all leading zeros in an address, regardless of the use of a double colon.
i Know that this is a year old but the exam is still good, and i saw that you answered Taylor's question. So, i have just one portion that im a little confused on; the U/L bit. one, it says that MAC address L/u bit is defaulted to 0, so when you invert it to a 1 that makes the address a globally Unique address. yet, they call this auto configuration a link local address, why. if its globally unique how can it be a local link, which isn't rotatable. On top of that, if the manufacture defaults the U/L bit to 0 then that means the auto configuration address will always be a globally unique address. yet, the say that those address only communicate with other host on that LAN or broadcast domain. in addition, in what circumstance would the MAC address's U/L bit be a 1 and have to be inverted to a 0 to make it a locally Unique. in which my understanding is just like private addresses. In which it would act as the so called globally unique address but is routable with the domains. If you could help clear this up I would greatly be appreciated, thanks.
Thank you for the clarification in this video
Do IPv6 addresses need to have an inside local private address and a outside public address like IPv4? Or does it use one address for everything? IIRC, IPv4 public addresses were used since private addresses were becoming scarce.
Hi Jerry, you have your IPv4 public/private the wrong way around. There are only around 4 billion useable IPv4 addresses, so we've had to do things like NAT in order to stretch the IPv4 addresses which we have. IPv6 can have both local and private addresses like IPv4, however there are far more IPv6 addresses than we will ever need (currently!). So you could have everyone using their own IPv6 public address, or you could do some form of NAT if you wanted.
Say for instance, you have 2fab:0000:0000:8493:d423:0000:0000:0000 as your IPv6 address. Does it matter which set of zeros you drop? Would I be able to drop the second set of zeros, instead of the first if it is more efficient?
Additionally, say for instance, you have only one set of zeros in an entire address. Would you compress to double colon (::) or would it be (:0:)? Can you use the double colon for only one set of zeros?
Lastly, can you compress any set of zeros to (:0:), even if you've used the double colon once?
If anyone can answer these questions, I would appreciate it. I am only finding the rules in this video via Google and can't seem to find these rare scenarios.
+Taylor Pelletier It doesn't matter which set of zeros you collapse with the double colon, as long as you only use the double colon once in an address. You would collapse the longest group of zeros in an address. If the length of consecutive zeros is the same, then you collapse the left-most group.
If you only have a single group of zeros, then you wouldn't use the double colon. You would remove the leading zeros instead, leaving a single 0 to represent the group.
You can remove all leading zeros in an address, regardless of the use of a double colon.
+Professor Messer Thank you!
Does it matter how many sets of zeros are next to each other in your IPv6 address? Does it all compress down to ::
Correct, but only once per IPv6 address.
i Know that this is a year old but the exam is still good, and i saw that you answered Taylor's question. So, i have just one portion that im a little confused on; the U/L bit. one, it says that MAC address L/u bit is defaulted to 0, so when you invert it to a 1 that makes the address a globally Unique address. yet, they call this auto configuration a link local address, why. if its globally unique how can it be a local link, which isn't rotatable. On top of that, if the manufacture defaults the U/L bit to 0 then that means the auto configuration address will always be a globally unique address. yet, the say that those address only communicate with other host on that LAN or broadcast domain. in addition, in what circumstance would the MAC address's U/L bit be a 1 and have to be inverted to a 0 to make it a locally Unique. in which my understanding is just like private addresses. In which it would act as the so called globally unique address but is routable with the domains. If you could help clear this up I would greatly be appreciated, thanks.