Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Valid IPv6

Status
Not open for further replies.

bnorton916

Programmer
May 30, 2009
148
US
I thought I knew what a valid IPv6 address looked like but obviously not.

So assuming you have only one set of ::'s, valid hex digits, the correct number of "16-bit sections", what can make an ipv6 address invalid?

Sorry if this is too vague.

Bill

 
Hmm...

Depends on what you're using the address for. Here's a list of the most common blocks and their uses:

::/128 or ::0/128 = Unspecified (Typically used by a host when attempting to secure an address via DHCP)

::1/128 = Loopback (Think 127.0.0.1)

FF00::/8 = Multicast (The two zeroes are replaced by Flag and Scope values depending on the use of the address)

FE80::/10 = Link Local Unicast (Typically generaed automatically by the host/device)
[ This address is ONLY valid on the link and CANNOT be used for routing traffic ]

FC00::/7 = Unique Local Addresses (ULA) intended to be used within a private network -- See RFC 4193 (Think RFC 1918)

2000::/3 = Global Unicast (These are actually assigned to devices for use on the Internet)
[ That's 2000::0 through 3FFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF ]

200::/7 = Reserved Unicast for NSAP allocation -- See RFC 1888 [ Note: This is 200::, NOT 2000:: ]

::FFFF:0:0:x.y.z.d/96 = IPv4-Mapped IPv6 Addresses (Replace the x.y.z.d with a "normal" 32-bit dotted-decimal IPv4 address. Typically used when moving from an IPv4 environment to IPv6 and you want your current IPv4 applications to continue working.)

Hope this helps.


vrs / fmj
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top