topics that matter; ideas worth sharing

share a tip, submit a link, add something new

Understanding IPv6 addresses

December 11, 2000, 04:44 PM —  ITworld.com — 

 

In my past two columns I've talked about href="http://www.itworld.com/Net/3499/ITW1390/">why
implementing IPv6 on your network is a good idea, and delved deep into href="http://www.itworld.com/Net/2337/ITW1568/">the IPv6
header. I'll now conclude this series with a detailed look at IPv6 addressing
conventions.

IPv4 addresses, which use dotted decimal notation, are fairly easy to remember. With
a maximum of four octets -- IPv4 has a 32-byte address field -- and decimal
representation of the numbers, IPv4 addresses resemble a telephone number. 152.3.2.12 --
that's fairly easy to read and remember.

IPv6 addresses, on the other hand, use hexadecimal notation. Version 6's
implementers chose this over the easier-to-read decimal notation to save space.
Hexadecimal notation allows 8 bits of data to be represented by two characters.

If you've forgotten what hexadecimal notation is, here's a quick refresher.
Hexadecimal, or base 16, notation uses the digits 0-9 and the letters A-F to represent
the digits 0-15. Thus, 12 = 0Ch, and 5x7 = 23h. It's not a difficult conversion, but a
calculator that performs decimal-to-hex conversion makes it even easier. If you don't
have one, I suggest you pick one up. I use the href="http://www.ticalc.org/basics/calculators/ti-86.html">Texas Instruments
TI-86.

A fully-expanded 128-bit IPv6 address would be written like this --
3FFE:1CDD:10:30:0000:0000:0000:1212. Quite a handful, isn't it?

Fortunately, IPv6's designers allowed for a shorthand notation. As in IPv4, all
zeroes to the left of any 16-bit field may be removed. Thus,
3FFE:1CDD:10:30:0000:0000:0000:1212 becomes 3FFE:1CDD:10:30::1212. This saves space,
but only one double colon is allowed in an address.

Shortened or not, IPv6 addresses don't lend themselves to easy memorization. Don't
fret, though; you can use the same naming conventions for IPv6 as you did for IPv4. href="http://www.isc.org/products/BIND/">BIND (Berkeley Internet Name Domain), the
application that provides IP address-to-name translation, has been modified to work
with IPv6.

Now that I've covered IPv6 address notation, it's time to discuss how the addresses
are divided among different-level aggregators.

IPv6 provides four levels of aggregation:

  • The Top Level Aggregator (TLA) is used to identify the Top Level
    Aggregator to which the address block belongs. Typically, a TLA would be a big kahuna
    among network providers -- Sprint, for example. TLAs delegate portions of their address
    block down to Next Level Aggregators (NLAs).
  • A Next Level Aggregator is an organization too small to qualify
    as a TLA, but with an extensive regional backbone and a number of small customers. NLAs
    break up their portion of the address blocks and delegate down to Site Level
    Aggregators (SLAs).
  • A Site Level Aggregator is an entity with no customers that
    delegate address space. A good example of an SLA would be an educational institution or
    small ISP that doesn't delegate.
  • The first three levels of aggregation take up the first half (64 bits) of the
    IPv6 address. The second half is allocated to the interface ID. Like
    the host ID in IPv4, each interface ID must be unique.

That concludes our look at IPv6. In my next column I'll showcase the brave new world
of Cisco's Discovery Protocol -- what it is, why you should enable it, and how to
configure it.

» posted by abennett

ITworld.com

I like it!
Post a comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
Resources
White Paper

Symantec Backup Exec 12 and Backup Exec System Recovery 8 deliver industry leading Windows data protection and system recovery. Download this whitepaper to find out the top reasons to upgrade and how to get continuous data protection and complete system recovery.

Webcast

Data and system loss — from a hard drive failure, malicious attack, natural disaster, or simple human error — can happen anytime. Don’t leave your business vulnerable. Make sure you have a secure recovery strategy in place. Symantec's latest backup and system recovery technology can efficiently restore critical applications, individual emails and documents and even restore your entire system in minutes in the event of a loss.

White Paper

Businesses face a growing challenge to ensure that the IT environment is properly protected. Backup Exec 12 integrates with other applications in the Symantec family of products, to complement your current data protection strategy, keep your data securely backed up and make it recoverable when you need it most.

Free stuff
Featured Sponsor

AISO founders envisioned a Web hosting company that was environmentally friendly. While the company employed energy-efficient innovations like solar panels, its infrastructure produced unacceptable power and cooling requirements. Find out how AISO leveraged AMD technology to overcome their challenge in this case study white paper.

In this whitepaper, Scalar explores the opportunity to change the landscape with respect to mission critical databases built around Oracle. Leveraging technologies such as Linux, high-end commodity processing power and Oracle RAC technology to architect, design, build and maintain database infrastructure that delivers maximum availability, reliability and performance at a fraction of traditional cost.

On a typical day, weather.com, the Web site for The Weather Channel in Atlanta, serves up between 15 million and 20 million page views. But in September 2004, when back-to-back hurricanes ransacked Florida, the peak traffic on one day more than tripled: over 70 million page views by more than 7 million unique visitors. Read the full success story now.

More Resources