IPv6 : Java Glossary
home I words local find no local find frame, full screen Google search web for topic jump to footer translate with Babelfish by Roedy Green ©1996-2008 Canadian Mind Products
Go to : punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all)
IPv6
The successor protocol to IP. The new protocol has addresses four times bigger 128 bits (16 bytes) verses the 32 bits (4 bytes) in the current IP version 4. The Java class for dealing with these is called java.net.Inet6Address. The new headers, surprisingly, have fewer fields than before, and are fixed length 40 bytes to streamline processing. New features include:

IPv6 Packet Header
Field Size in bits Purpose
version 4 6 for IP version 64. This allows IPv4 and IPv6 packets to be mixed.
payload length 16 total size of data payload measured in 8-bit chunks (aka bytes or octets). The means the maximum size of a packet including data is 64K. This means the payload of data is at most 65,496 bytes.
hop limit 8 how many more hops this packet has to live before being discarded as lost or hopelessly late. On each leg of this packet’s journey, this field gets decremented by 1.
source address 128 Who sent the packet. When it finally arrives at its destination the receiver will know who it was from.
destination address 128 Where the packet is going. On each leg of its journey the routing computer uses this to get the packet a little closer to its final destination.
other stuff 36 Miscellaneous fields.

Everything is in big endian byte order.

Java 1.4.1 handles the new IPs with java.net.InetAddress and java.net.Inet6Address.

Learning More

Sun’s JDK Technote Guide on IPv6 : available:

CMP_homejump to top
CMP logo
feedback Please email your feedback for publication, errors, omissions, broken/redirected link reports
and suggestions to improve this page to Roedy Green : feedback email
made with CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[65.110.21.43]
Your face IP:[38.103.63.17] The information on this page is for non-military use only.
You are visitor number 7,885. Military use includes use by defence contractors.
You can get a fresh copy of this page from: or possibly from your local J: drive (Java virtual drive/Mindprod website mirror)
http://mindprod.com/jgloss/ipv6.html J:\mindprod\jgloss\ipv6.html