Java Glossary : IPv6

CMP home Java glossary home Menu no menu Last updated 2004-06-28 by Roedy Green ©1996-2004 Canadian Mind Products

Java definitions: 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

You are here : home : Java Glossary : I words : IPv6.

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.

datagram ¤ DHCP ¤ IP ¤ TCP/IP ¤ UDP


CMP logo
CMP_home
home
Canadian Mind Products CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[24.87.56.253]
Your IP:[80.134.30.163]
You are visitor number 1183.
Please send errors, omissions and suggestions
to improve this page to Roedy Green.
You can get a fresh copy of this page from: or possibly from your local J: drive mirror:
http://mindprod.com/jgloss/ipv6.html J:\mindprod\jgloss\ipv6.html