Added image and descriptions for IPv6 header (#24754)

pull/29775/head
Christopher McCormack 2018-10-26 12:11:18 -07:00 committed by Aditya
parent 200a376382
commit eb9b154db0
1 changed files with 22 additions and 6 deletions

View File

@ -3,13 +3,29 @@ title: IPv6 Header
---
## IPv6 Header Format
This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/network-engineering/ipv6-header/index.md' target='_blank' rel='nofollow'>Help our community expand it</a>.
Below is the IPv6 header format according to [RFC2460](https://tools.ietf.org/html/rfc2460):
<a href='https://github.com/freecodecamp/guides/blob/master/README.md' target='_blank' rel='nofollow'>This quick style guide will help ensure your pull request gets accepted</a>.
![Image of IPv6 Header](https://i.imgur.com/Jq0eKrO.jpg)
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->
##### Version [4-bits]
* Internet Protocol (IP) version number (decimal 6, binary 0110)
##### Traffic Class [8-bits]
* Identifies different classes or priorities of IPv6 packets
##### Flow Label [20-bits]
* Services that require special handling can utilize this field (defaults to all 0's)
##### Payload Length [16-bits]
* Specifies the size of the payload including extension headers. Value is measured in Octets (8-bit values)
##### Next Header [8-bits]
* Specifies the type of the next header after the IPv6 header
##### Hop Limit [8-bits]
* Number of hops before the packet is discarded
* Value is decremented by each forwarding node in the network. When the value reaches 0, the packet is discarded
* Maximum hops using 8-bits is `2^8` or 256 hops
##### Source Address [128-bits]
* The IPv6 address of the device sending the packet
##### Destination Address [128-bits]
* The IPv6 address of the device(s) destined to receive the packet
* Destination may be more than one host/device when using Multicast/Anycast
#### More Information:
<!-- Please add any articles you think might be helpful to read before writing the article -->
* [List of IP protocol numbers used in the Next Header](https://en.wikipedia.org/wiki/List_of_IP_protocol_numbers)