Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

10 things you should know about IPv6 addressing
TechRepublic ^ | 22 October 2010 | Brien Posey

Posted on 11/06/2010 8:01:03 AM PDT by ShadowAce

Although IPv6 adoption seems to be moving at a snail’s pace, there’s no outrunning it. Brien Posey demystifies some of the addressing issues many admins are still trying to figure out.


[Editor's note: This article has been revised to correct a couple of errors noted by TechRepublic members. Thanks to everyone who contributed their input.]

Over the last several years, IPv6 has been inching toward becoming a mainstream technology. Yet many IT pros still don’t know where to begin when it comes to IPv6 adoption because IPv6 is so different from IPv4. In this article, I’ll share 10 pointers that will help you understand how IPv6 addressing works.

1: IPv6 addresses are 128-bit hexadecimal numbers

The IPv4 addresses we are all used to seeing are made up of four numerical octets that combine to form a 32-bit address. IPv6 addresses look nothing like IPv4 addresses. IPv6 addresses are 128 bits in length and are made up of hexadecimal characters.

In IPv4, each octet consists of a decimal number ranging from 0 to 255. These numbers are typically separated by periods. In IPv6, addresses are expressed as a series of eight 4-character hexadecimal numbers, which represent 16 bits each (for a total of 128 bits). As we’ll see in a minute, IPv6 addresses can sometimes be abbreviated in a way that allows them to be expressed with fewer characters.

2: Link local unicast addresses are easy to identify

IPv6 reserves certain headers for different types of addresses. Probably the best known example of this is that link local unicast addresses always begin with FE80. Similarly, multicast addresses always begin with FF0x, where the x is a placeholder representing a number from 1 to 8.

3: Leading zeros are suppressed

Because of their long bit lengths, IPv6 addresses tend to contain a lot of zeros. When a section of an address starts with one or more zeros, those zeros are nothing more than placeholders. So any leading zeros can be suppressed. To get a better idea of what I mean, look at this address:

FE80:CD00:0000:0CDE:1257:0000:211E:729C

If this were a real address, any leading zero within a section could be suppressed. The result would look like this:

FE80:CD00:0:CDE:1257:0:211E:729C

As you can see, suppressing leading zeros goes a long way toward shortening the address.

4: Inline zeros can sometimes be suppressed

Real IPv6 addresses tend to contain long sections of nothing but zeros, which can also be suppressed. For example, consider the address shown below:

FE80:CD00:0000:0000:0000:0000:211E:729C

In this address, there are four sequential sections separated by zeros. Rather than simply suppressing the leading zeros, you can get rid of all of the sequential zeros and replace them with two colons. The two colons tell the operating system that everything in between them is a zero. The address shown above then becomes:

FE80:CD00::211E:729C

You must remember two things about inline zero suppression. First, you can suppress a section only if it contains nothing but zeros. For example, you will notice that the second part of the address shown above still contains some trailing zeros. Those zeros were retained because there are non-zero characters in the section. Second, you can use the double colon notation only once in any given address.

5: Loopback addresses don’t even look like addresses

In IPv4, a designated address known as a loopback address points to the local machine. The loopback address for any IPv4-enabled device is 127.0.0.1.

Like IPv4, there is also a designated loopback address for IPv6:

0000:0000:0000:0000:0000:0000:0000:0001

Once all of the zeros have been suppressed, however, the IPv6 loopback address doesn’t even look like a valid address. The loopback address is usually expressed as ::1.

6: You don’t need a traditional subnet mask

In IPv4, every IP address comes with a corresponding subnet mask. IPv6 also uses subnets, but the subnet ID is built into the address.

In an IPv6 address, the first 48 bits are the network prefix. The next 16 bits are the subnet ID and are used for defining subnets. The last 64 bits are the interface identifier (which is also known as the Interface ID or the Device ID).

If necessary, the bits that are normally reserved for the Device ID can be used for additional subnet masking. However, this is normally not necessary, as using a 16-bit subnet and a 64-bit device ID provides for 65,535 subnets with quintillions of possible device IDs per subnet. Still, some organizations are already going beyond 16-bit subnet IDs.

7: DNS is still a valid technology

In IPv4, Host (A) records are used to map an IP address to a host name. DNS is still used in IPv6, but Host (A) records are not used by IPv6 addresses. Instead, IPv6 uses AAAA resource records, which are sometimes referred to as Quad A records. The domain ip6.arpa is used for reverse hostname resolution.

8: IPv6 can tunnel its way across IPv4 networks

One of the things that has caused IPv6 adoption to take so long is that IPv6 is not generally compatible with IPv4 networks. As a result, a number of transition technologies use tunneling to facilitate cross network compatibility. Two such technologies are Teredo and 6to4. Although these technologies work in different ways, the basic idea is that both encapsulate IPv6 packets inside IPv4 packets. That way, IPv6 traffic can flow across an IPv4 network. Keep in mind, however, that tunnel endpoints are required on both ends to encapsulate and extract the IPv6 packets.

9: You might already be using IPv6

Beginning with Windows Vista, Microsoft began installing and enabling IPv6 by default. Because the Windows implementation of IPv6 is self-configuring, your computers could be broadcasting IPv6 traffic without your even knowing it. Of course, this doesn’t necessarily mean that you can abandon IPv4. Not all switches and routers support IPv6, just as some applications contain hard-coded references to IPv4 addresses.

10: Windows doesn’t fully support IPv6

It’s kind of ironic, but as hard as Microsoft has been pushing IPv6 adoption, Windows does not fully support IPv6 in all the ways you might expect. For example, in Windows, it is possible to include an IP address within a Universal Naming Convention (\\127.0.0.1\C$, for example). However, you can’t do this with IPv6 addresses because when Windows sees a colon, it assumes you’re referencing a drive letter.

To work around this issue, Microsoft has established a special domain for IPv6 address translation. If you want to include an IPv6 address within a Universal Naming Convention, you must replace the colons with dashes and append .ipv6.literal.net to the end of the address — for example, FE80-AB00–200D-617B.ipv6.literal.net.


TOPICS: Computers/Internet
KEYWORDS: ipv4; ipv6
Navigation: use the links below to view more comments.
first 1-2021-34 next last

1 posted on 11/06/2010 8:01:06 AM PDT by ShadowAce
[ Post Reply | Private Reply | View Replies]

To: rdb3; Calvinist_Dark_Lord; GodGunsandGuts; CyberCowboy777; Salo; Bobsat; JosephW; ...

2 posted on 11/06/2010 8:01:32 AM PDT by ShadowAce (Linux -- The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce

Bookmarked :)


3 posted on 11/06/2010 8:18:06 AM PDT by andyk (Hi, my name's Andy, and I was a BF 1942 / Desert Combat junkie.)
[ Post Reply | Private Reply | To 2 | View Replies]

To: ShadowAce

Funny, I have been doing IPv6 for more than 5 years but have been doing it though tunnels. Done some IPv6 exploring s well. In fact if you have an Apple Airport Extreme, if the WAN side is hooked in with a real IP number and not a internal IP like 192.168.x.x, it will create an IPv6 tunnel !


4 posted on 11/06/2010 8:21:57 AM PDT by CORedneck
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce

That’s what I’ve been saying all along.


5 posted on 11/06/2010 8:22:56 AM PDT by Larry Lucido
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce

Thanks! I need to start looking into IPv6, which I’ve ignored at least since it was IP next gen, because it’s creeping into my workaday world.


6 posted on 11/06/2010 8:28:06 AM PDT by sionnsar (IranAzadi|5yst3m 0wn3d-it's N0t Y0ur5:SONY|TV--it's NOT news you can trust)
[ Post Reply | Private Reply | To 2 | View Replies]

To: ShadowAce

I remember, back in the day, when this was just beginning to take shape. We all feared it, as we didn’t understand it and we liked IPV4. Since retirement from the IT world I assumed IPV6 would be the law of the land by now but apparently this hasn’t happened yet.


7 posted on 11/06/2010 8:53:36 AM PDT by calex59
[ Post Reply | Private Reply | To 1 | View Replies]

To: calex59

not yet. It looks like this is something will have to be forced on the IT world. IPv4 is just too easy, I guess.


8 posted on 11/06/2010 9:00:02 AM PDT by ShadowAce (Linux -- The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 7 | View Replies]

To: ShadowAce

Yep, once you get the idea of IPV4 it is easy, but they should just about be out of addresses by now:)


9 posted on 11/06/2010 9:04:25 AM PDT by calex59
[ Post Reply | Private Reply | To 8 | View Replies]

To: ShadowAce

Algore actually invented this BEFORE he invented the internet. (He just has problems with prioritizing.)


10 posted on 11/06/2010 9:09:34 AM PDT by Slump Tester (What if I'm pregnant Teddy? Errr-ahh -Calm down Mary Jo, we'll cross that bridge when we come to it)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce
These kinds of blatantly socialist liberal posts are not permitted on this website.

OK, now that you're totally confused, I actually think it's kind of cool that you posted this. I'll guarantee you there aren't 7 people over at the DU funny farm that could even begin to understand this article.

11 posted on 11/06/2010 9:13:28 AM PDT by Hardastarboard (Then he will say to those on his left, 'Depart from me, you who are cursed, into the eternal fire')
[ Post Reply | Private Reply | To 1 | View Replies]

To: Hardastarboard

LOL! I thought it kinda cool, and required reading for our resident techies here. :)


12 posted on 11/06/2010 9:15:09 AM PDT by ShadowAce (Linux -- The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 11 | View Replies]

To: ShadowAce

Make that 11 things.

First thing:

What the hell is IPv6 addressing?


13 posted on 11/06/2010 9:15:28 AM PDT by Peter W. Kessler (Dirt is for racing... asphalt is for getting there.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: calex59

I read that IANA has about 5% of all IPv4 address left to issue. My company is begining to roll out IPv6 in our core. It has taken me a while to wrap my head around 52-bit subnets ;-)


14 posted on 11/06/2010 9:19:54 AM PDT by PogySailor (The ruling class will not go down easily. And neither will their paid hacks.)
[ Post Reply | Private Reply | To 9 | View Replies]

To: Peter W. Kessler
What the hell is IPv6 addressing?

LOL! OK, I don't know how versed you are in internet addressing, so I'll start kinda at the very basics.

The URL you type into browsers is called a Uniform Resource Location. It's essentially the english form of internet addresses. The browser takes what you type in and converts it to an Internet address.

Internet addresses currently are expressed in IPv4. That is, 4 32-bit numbers, separated by periods. For example, 127.0.0.1 indicates your local machine. Google has an internet IPv4 address of 66.249.92.104

Each of those number is between 0 and 255 (that's 32 bits long). However, due to housekeeping chores, and various short-sighted assignments in the 80's, the actual number of addresses that are available, is quite a few less than you'd expect. 232 is approximate 4,294,967,296 addresses, but we only have access to a subset of that. With the expansion of the Internet, we are approaching the upper limit of the number of devices that can be connected.

IPv6 uses 128 bits, rather than 32. This vastly increases the number of available addresses, and ensure we will not run out of addresses on the Internet. 2128 is about 340,282,366,920,938,463,463,374,607,431,768,211,456

The format of IPv6, though is quite a bit different that IPv4. That's what this article is about.

15 posted on 11/06/2010 9:27:39 AM PDT by ShadowAce (Linux -- The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 13 | View Replies]

To: ShadowAce
I use the humorous alternative to IPv6, IPfreely.


Frowning takes 68 muscles.
Smiling takes 6.
Pulling this trigger takes 2.
I'm lazy.

16 posted on 11/06/2010 9:37:11 AM PDT by The Comedian (I really missed you. Next time, I'll adjust for windage.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce

So in terms that I can understand, it’s sorta like the Post Office coming up with ZIP Codes?


17 posted on 11/06/2010 9:50:54 AM PDT by Former War Criminal (My senior Senator [who served in Vietnam and Rhode Island] said so.)
[ Post Reply | Private Reply | To 15 | View Replies]

To: calex59

NAT helped push it off, but even that’s only delaying the inevitable.


18 posted on 11/06/2010 9:56:47 AM PDT by Future Snake Eater ("Get out of the boat and walk on the water with us!”--Sen. Joe Biden)
[ Post Reply | Private Reply | To 7 | View Replies]

To: Former War Criminal

That not quite exact. ZIP codes are the area of an address. IP is the exact address. So instead of 4 billion possible addresses, IPv6 allows for a heck of a lot more addresses to be available.


19 posted on 11/06/2010 10:01:30 AM PDT by ShadowAce (Linux -- The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 17 | View Replies]

To: ShadowAce

Thank you!

I wasn’t trying to be a wiseass. Computer stuff intrigues me.

Yours is a great explanation, and I appreciate it!

Best Wishes!

Pete


20 posted on 11/06/2010 10:02:33 AM PDT by Peter W. Kessler (Dirt is for racing... asphalt is for getting there.)
[ Post Reply | Private Reply | To 15 | View Replies]


Navigation: use the links below to view more comments.
first 1-2021-34 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson