O'Reilly logo

SAS 9.4 Language Reference, 6th Edition by SAS Institute

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

IPv6 Address Format
IPv6 and IPv4 use different address formats. The following table compares the features
of the protocols.
Table 40.1 Comparison of Features of the IPv6 and IPv4 Address Formats
Feature IPv6 IPv4
Address Space 128-bit 32-bit
Representation string integer
Length (including Field
Separators)
39 15
Field Separator colon (:) period (.)
Notation hexadecimal decimal
Example of IP Address db8:0:0:1 10.23.2.3
Examples of IPv6 Addresses
Example of Full and Collapsed IPv6 Address
Here is an example of a full IPv6 address:
FE80:0000:0000:0000:0202:B3FF:FE1E:8329
It shows a 128-bit address in eight 16-bit blocks in the format global:subnet:interface.
Here is an example of a collapsed IPv6 address:
FE80::0202:B3FF:FE1E:8329
The :: (consecutive colons) notation can be used to represent four successive 16-bit
blocks that contain zeros. When SAS software encounters a collapsed IP address, it
reconstitutes the address to the required 128-bit address in eight 16-bit blocks.
Example of an IPv6 Address That Includes a Port Number
Here is an example of an IP address that contains a port number:
[2001:db8:0::1]:80
The brackets are necessary only if also specifying a port number. Brackets are used to
separate the address from the port number. If no port number is used, the brackets can be
omitted.
774 Chapter 40 Internet Protocol Version 6 (IPv6)

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required