IPv6/Header: Unterschied zwischen den Versionen
Erscheinungsbild
| Zeile 2: | Zeile 2: | ||
== Beschreibung == | == Beschreibung == | ||
[[File:ipv4Ipv6Heaser.png|mini|400px]] | |||
[[File:ipv4Ipv6Heaser.png| | |||
; IPv6-Header ist gegenüber IPv4 stark vereinfacht | ; IPv6-Header ist gegenüber IPv4 stark vereinfacht | ||
| Zeile 15: | Zeile 13: | ||
=== Unterschiede IPv4/IPv6 === | === Unterschiede IPv4/IPv6 === | ||
[[File:img-006-001.png|800px]] | [[File:img-006-001.png|800px]] | ||
=== IPv6 (bit) === | |||
{| class="header" border="1" cellpadding="4" cellspacing="0" style="text-align:center;margin:auto;" | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 00 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 01 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 02 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 03 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 04 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 05 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 06 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 07 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 08 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 09 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 10 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 11 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 12 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 13 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 14 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 15 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 16 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 17 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 18 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 19 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 20 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 21 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 22 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 23 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 24 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 25 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 26 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 27 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 28 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 29 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 30 | |||
! style="text-align:center !important; font-weight: normal;" "width="3%"| 31 | |||
|- | |||
| style="background-color:#d6c4ff;" colspan="4"| [[IPv6/Header#Version|Version]] | |||
| style="background-color:#dfffcb;" colspan="8"| [[IPv6/Header#Traffic Class|Traffic Class]] | |||
| style="background-color:#ffbfc0;" colspan="20"| [[IPv6/Header#Flow Label|Flow Label]] | |||
! style="text-align:center !important; font-weight: normal;" "width="3%" rowspan="10"| H</br>e</br>a</br>d</br>e</br>r | |||
|- | |||
| style="background-color:#fff1b0;" colspan="16"| [[IPv6/Header#Payload Length|Payload Length]] | |||
| style="background-color:#d6c4ff;" colspan="8"| [[IPv6/Header#Next Header|Next Header]] | |||
| style="background-color:#fff1b0;" colspan="8"| [[IPv4/Header#Hop Limit|Hop Limit]] | |||
|- | |||
| style="background-color:#d1ffac;" colspan="32" | [[IPv6/Header#Sender-IP-Adresse|Sender-IP-Adresse]] | |||
|- | |||
| style="background-color:#d1ffac;" colspan="32" | [[IPv6/Header#Sender-IP-Adresse|Sender-IP-Adresse]] | |||
|- | |||
| style="background-color:#d1ffac;" colspan="32" | [[IPv6/Header#Sender-IP-Adresse|Sender-IP-Adresse]] | |||
|- | |||
| style="background-color:#d1ffac;" colspan="32" | [[IPv6/Header#Sender-IP-Adresse|Sender-IP-Adresse]] | |||
|- | |||
| style="background-color:#ffbfc0;" colspan="32" | [[IPv6/Header#Empfänger-IP-Adresse|Empfänger-IP-Adresse]] | |||
|- | |||
| style="background-color:#ffbfc0;" colspan="32" | [[IPv6/Header#Empfänger-IP-Adresse|Empfänger-IP-Adresse]] | |||
|- | |||
| style="background-color:#ffbfc0;" colspan="32" | [[IPv6/Header#Empfänger-IP-Adresse|Empfänger-IP-Adresse]] | |||
|- | |||
| style="background-color:#ffbfc0;" colspan="32" | [[IPv6/Header#Empfänger-IP-Adresse|Empfänger-IP-Adresse]] | |||
|- | |||
| style="background-color:#d9e4ff;" colspan="32" | [[IPv6/Header#Payload|Payload]] | |||
|} | |||
=== IPv6 (Felder)=== | |||
{| border="1" cellpadding="4" cellspacing="0" style="text-align:center;margin:auto;" | |||
! width="12%"| 0–3 | |||
! width="12%"| 4–7 | |||
! width="16%"| 8–13 | |||
! width="17%"| 14–18 | |||
! width="15%"| 19–23 | |||
! width="12%"| 24–27 | |||
! width="12%"| 28–31 | |||
|- | |||
| style="background-color:#d6c4ff;" colspan="1"| [[IPv6/Header#Version|Version]] | |||
| style="background-color:#dfffcb;" colspan="2"| [[IPv6/Header#Traffic Class|Traffic Class]] | |||
| style="background-color:#ffbfc0;" colspan="5"| [[IPv6/Header#Flow Label|Flow Label]] | |||
! style="text-align:center !important; font-weight: normal;" "width="3%" rowspan="10"| H</br>e</br>a</br>d</br>e</br>r | |||
|- | |||
| style="background-color:#fff1b0;" colspan="4"| [[IPv6/Header#Payload Length|Payload Length]] | |||
| style="background-color:#d6c4ff;" colspan="2"| [[IPv6/Header#Next Header|Next Header]] | |||
| style="background-color:#fff1b0;" colspan="2"| [[IPv4/Header#Hop Limit|Hop Limit]] | |||
|- | |||
|style="background-color:#d1ffac;" colspan="8" | Quell-IP-Adresse | |||
|- | |||
|style="background-color:#d1ffac;" colspan="8"| | |||
|- | |||
|style="background-color:#d1ffac;" colspan="8"| | |||
|- | |||
|style="background-color:#d1ffac;" colspan="8"| | |||
|- | |||
|style="background-color:#ffbfc0;" colspan="8"| Ziel-IP-Adresse | |||
|- | |||
|style="background-color:#ffbfc0;" colspan="8"| | |||
|- | |||
|style="background-color:#ffbfc0;" colspan="8"| | |||
|- | |||
|style="background-color:#ffbfc0;" colspan="8"| | |||
|} | |||
== IPv4 Header Felder == | == IPv4 Header Felder == | ||
Version vom 25. Dezember 2023, 13:34 Uhr
topic - Kurzbeschreibung
Beschreibung

- IPv6-Header ist gegenüber IPv4 stark vereinfacht
- Enthält nur grundlegende Forwarding-Information
- Zusätzliche Informationen in variablen zusätzlichen Erweiterungs-Headern, welche durch das „Next Header“ Feld identifiziert werden
- Damit trotz vierfacher IPv6-Adresslänge (16 Byte) nur doppelte Headerlänge
Unterschiede IPv4/IPv6
IPv6 (bit)
| 00 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Version | Traffic Class | Flow Label | H e a d e r | |||||||||||||||||||||||||||||
| Payload Length | Next Header | Hop Limit | ||||||||||||||||||||||||||||||
| Sender-IP-Adresse | ||||||||||||||||||||||||||||||||
| Sender-IP-Adresse | ||||||||||||||||||||||||||||||||
| Sender-IP-Adresse | ||||||||||||||||||||||||||||||||
| Sender-IP-Adresse | ||||||||||||||||||||||||||||||||
| Empfänger-IP-Adresse | ||||||||||||||||||||||||||||||||
| Empfänger-IP-Adresse | ||||||||||||||||||||||||||||||||
| Empfänger-IP-Adresse | ||||||||||||||||||||||||||||||||
| Empfänger-IP-Adresse | ||||||||||||||||||||||||||||||||
| Payload | ||||||||||||||||||||||||||||||||
IPv6 (Felder)
| 0–3 | 4–7 | 8–13 | 14–18 | 19–23 | 24–27 | 28–31 | ||
|---|---|---|---|---|---|---|---|---|
| Version | Traffic Class | Flow Label | H e a d e r | |||||
| Payload Length | Next Header | Hop Limit | ||||||
| Quell-IP-Adresse | ||||||||
| Ziel-IP-Adresse | ||||||||
IPv4 Header Felder
| Option | Beschreibung |
|---|---|
| Version | always 4 |
| TOS (type of service) | precedence (3 bits) and “minimize delay”, “maximize throughput”, “maximize reliability”, “minimize cost” bits |
| Identifier | identifier, different for each packet |
| TTL | time to live field; initialized to 64; decremented at each router; drop if TTL = 0 |
| Protocol | next header proto (TCP 6, UDP 17) |
| Header checksum | add together 16-bit words using one’s complement: software optimized |
Entfallene Felder
| Option | Beschreibung |
|---|---|
| HL | weil der IPv6Header eine feste Länge hat |
| Protocol | wurde herausgenommen, weil das Feld Next-Header angibt welches Protokoll auf der Transportschicht verwendet wird. |
| Alle Felder in Bezug auf Fragmentierung | wurden weggelassen, weil IPv6 Fragmentierung anders handhabt
|
| Checksum | entfernt, weil die Berechnung der Prüfsumme bei jedem Hop sich negativ auf die Performance auswirkt
|
| Padding |
Extension-Prinzip

- IPv6-Header ist durch Extension-Prinzip flexibel erweiterbar
- Per Hop ausgewertete Header
- Hop-by-Hop Options (z.B. Jumbogramm Notifier)
- Routing Information Header
- Nur im Endsystem ausgewertete Header
- Fragmentation Header
- Authetication Header
- Header-Extensions u.U. auf Applikationsniveau direkt nutzbar
- Die meisten IPv6 Pakete bestehen nur aus IPv6- und TCP Header sowie Daten
Header-Format
- Feste Länge
- Bei IPv6 eine feste Länge von 40 Byte (320 Bit)
- Im Gegensatz zu IPv4
- Extension Headers
- Optionale, seltener benutzte Informationen werden in Erweiterungs-Kopfdaten (engl.: Extension Headers) eingebettet
- zwischen IPv6-Kopfdatenbereich und der eigentlichen Nutzlast (Payload)
Kopfdaten
- Kopfdaten laut RFC 2460
| Feld | Länge | Inhalt |
|---|---|---|
| Version | 4 Bit | IP-Versionsnummer (6) |
| Traffic Class | 8 Bit | Für Quality of Service (QoS) verwendeter Wert. Eine Art Prioritätsvergabe. |
| Flow Label | 20 Bit | Ebenfalls für QoS oder Echtzeitanwendungen verwendeter Wert. Pakete, die dasselbe Flow Label tragen, werden gleich behandelt. |
| Payload Length | 16 Bit | Länge des IPv6-Paketinhaltes (ohne Kopfdatenbereich, aber inklusive der Erweiterungs-Kopfdaten) in Byte |
| Next Header | 8 Bit | Identifiziert den Typ des nächsten Kopfdatenbereiches, dieser kann entweder einen Erweiterungs-Kopfdatenbereich (siehe nächste Tabelle) oder ein Protokoll höherer Schicht (engl.: Upper Layer Protocol) bezeichnen, wie z. B. TCP (Typ 6) oder UDP (Typ 17). |
| Hop Limit | 8 Bit | Maximale Anzahl an Zwischenschritten über Router, die ein Paket zurücklegen darf; wird beim Durchlaufen eines Routers („Hops“) um eins verringert. Pakete mit null als Hop Limit werden verworfen. Es entspricht dem Feld Time to Live (TTL) bei IPv4. |
| Source Address | 128 Bit | Adresse des Senders |
| Destination Address | 128 Bit | Adresse des Empfängers |
Next Header Werte
IPv6 Header in einem Trace File
IPv4 und IPv6 Header im Vergleich
IPv6-Erweiterungsheader
IPv6/Header/Erweiterungsheader
Maximum Transmission Unit (MTU)
Anhang
Siehe auch
- IPv6/Header
- IPv6/Header/Extension
- IPv6/Header/Extension/Authentication
- IPv6/Header/Extension/Destination Options
- IPv6/Header/Extension/Encapsulating Security Payload
- IPv6/Header/Extension/Fragment
- IPv6/Header/Extension/Hop-by-Hop
- IPv6/Header/Extension/Option Alert
- IPv6/Header/Extension/Routing
- IPv6/Header/Extension/Upper Layer
- IPv6/Header/Format



