• No results found

IPv6 Next Generation Internet Protocol

N/A
N/A
Protected

Academic year: 2021

Share "IPv6 Next Generation Internet Protocol"

Copied!
27
0
0

Loading.... (view fulltext now)

Full text

(1)

schmidt@informatik. haw-hamburg.de

IPv6

Next Generation Internet Protocol

• The limits of IPv4 – IPv6 Highlights

• Addressing

• IPv6 Packet formats

• QoS

• Further aspects

(2)

schmidt@informatik. haw-hamburg.de

The Limits of IPv4

• Basic design over 25 years old

- Packet format, ... outdated

- Hardware development of networks overran IP algorithms

• Address space exhausted

- ‚Regular‘ Internet growth runs out of addresses

- New kinds of Internet devices (mobile telephones, intelligent devices,...) need new quantities of addresses

- Caused by address bottle-neck: NAT-ALGs

(3)

schmidt@informatik. haw-hamburg.de

IP Routing: CIDR

• Static subnet masks in IPv4 (classes) lead to two main problems: Class B exhaustion & explosion of R-T

• Internet backbone routers need methods for aggregation, to limit routing tables:

– Classless Interdomain Routing (CIDR) – Variable Length Subnet Masks (VLSM)

• Approach:

(4)

schmidt@informatik. haw-hamburg.de

Route Aggregation via VLSM

(5)

schmidt@informatik. haw-hamburg.de

IPng History

• IETF WG IPng began to work in the early 90er • Winter 1992: 7 proposals for development of IP

– CNAT, IP Encaps, Nimrod, Simple CLNP, PIP, SIP, TP/IX

• Autum 1993: several mergers lead to

– ‚Simple Internet Protocol Plus‘ (SIPP) and ‚Common Architecture for the Internet‘ CATNIP

• July 1994: IPng Area Director recommend roadmap (RFC 1752) on basis of SIPP (Steve Deering)

• Dec. 1995: S. Deering, R. Hinden, „Internet Protocol,

(6)

schmidt@informatik. haw-hamburg.de

IPv6 Innovations

Addressing and routing

- Elimination of address bottle-neck: 128 Bit addresses - Address hierarchy can simplify backbone routing

- Several addresses per interface • Simple administration

- Autoconfiguration of interfaces without DHCPv6 - Floating net masks, renumbering via prefix change • Security: IPSec

(7)

schmidt@informatik. haw-hamburg.de

IPv6 Innovations(2)

• Protocol configuration

– Slim header for fast processing – Optional extension headers – Fixed format for all headers – No header checksum

– No fragmentation in routers

• Improved multicast, anycast, QoS and mobile services

(8)

schmidt@informatik. haw-hamburg.de

Addressing

• IPv6 addresses are 128-bit long and variably built

• Address architecture: RFC 3513 (April ´03, Hinden & Deering) • Automatic address configuration

• Global address hierarchy from top level allocation to the interface-ID designated • Aggregation-based allocation to simplify

the global routing (possible)

(9)

schmidt@informatik. haw-hamburg.de

Notation of IPv6 Addresses

• Standard Form: 8 x 16 bit Hexadecimal

Example: 1080:0:FF:0:8:800:200C:417A • Short form: sequences of nulls replaced by ::

Example: FF01:0:0:0:0:0:0:43 → FF01::43 • IPv4 compatible addresses:

Example: 0:0:0:0:0:0:13.1.68.3 → ::13.1.68.3 • CIDR notation for prefixes:

(10)

schmidt@informatik. haw-hamburg.de

Address Types

Type Binary Prefix • Unicast (one-to-one)

– global all not specified elsewhere – site-local 1111 1110 11 (FEC0::/10) – link-local 1111 1110 10 (FE80::/10) – compatible (IPv4, a.a.) 0000...0 (96 zero bits)

– Loop back 0000..1 ::1/128

(11)

schmidt@informatik. haw-hamburg.de

Global Unicast Addresses

(RFC 3513)

n bits m bits 128–m–n bits

Subnet

ID Interface Identifier Global Routing

Prefix

• All fields have variable length and are not ‚self-explanatory ‘ (as of CIDR)

• All global unicast addresses, which do not begin with 000 (binary), carry a 64 bit interface ID, this means m + n = 64

(12)

schmidt@informatik. haw-hamburg.de

Local Unicast Addresses

• Link-local addresses for use during auto-configuration and in nets without routers:

1111111010 0 Interface ID

• Site-local addresses independent of TLA/NLA:

(13)

schmidt@informatik. haw-hamburg.de

Example: FHTW IPv6 Net

• 2001:: /16 - Pre-set prefix

2001:0600:: /23 - Regional registry Europa (RIPE) • 2001:0638:: /29 - DFN prefix

2001:0638:0801:: /48 - FHTW net address

2001:0638:0801:0001:: /64 - First FHTW subnet • 2001:0638:0801:0001:0000:0000:0000:0001 /128

- First IPv6 computer address at FHTW

(14)

Internet Control Message

Protocol (ICMPv6)

schmidt@informatik. haw-hamburg.de

RFC 2463 (Conta, Deering)

• Defines two (expandable) message classes:

Informational Messages

• Echo Request (128) • Echo Reply (129)

Error Messages

• Destination Unreachable (1) • Packet Too Big (2)

(15)

schmidt@informatik. haw-hamburg.de

Stateless Auto-Configuration

1. Interface assigns a link-local address on activation (e.g. built from a hardware address).

2. Interface sends router solicitation, to omit waiting for router advertisements.

3. Router sends router advertisement (prefix, default gateway, …). 4. The interface creates its global address from prefix and link-local

address.

(16)

schmidt@informatik. haw-hamburg.de

IPv6 Packet Format: Basic Header

(17)

schmidt@informatik. haw-hamburg.de

1 4 8 16 19 24 32

Version Servicetypen Paketlänge

Identifikation D F

M

F Fragmenabstand Lebenszeit Transport Kopfprüfsumme

(18)

schmidt@informatik. haw-hamburg.de

IPv6 Packet Format: Option Headers

• Extended option mechanisms: Each header references a possible successive header or data, e.g.:

I P v 6 h e a d e r N H : r o u t i n g I P v 6 h e a d e r N H : r o u t i n g f r a g m e n t h e a d e r N H : T C P T C P h e a d e r d a t a r o u t i n g h e a d e r N H : f r a g m e n t

• Option headers have no length limit (IPv4: 40 Octets), Padding to 8 Octets

(19)

schmidt@informatik. haw-hamburg.de

Basic Option Headers

Routing

Advanced routing information (source routing) • Fragmentation

Fragmentation / defragmentation information • Authentication

Security information: authentication and integrity • Encapsulation

‚Tunnelling‘, i.g. for confidential data • Hop-by-Hop Option

Dedicated options to be processed by every router • Destination Option

(20)

schmidt@informatik. haw-hamburg.de

IPv6 & QoS

Priority: Traffic Class Feld (8 Bit) break down in two classes: • Flow controlled traffic (0 - 7)

0 Not specified 4 Bulk (i.g. ftp, http) 1 ‚Feeder‘ (i.g. netnews) 5 (Reserved)

2 Unnoticed (i.g. email) 6 Interactive (i.g. telnet, X11) 3 (Reserved) 7 Internet control (i.g. rip)

• Traffic without flow control (Realtime, Constant Bitrate, ...)

(21)

schmidt@informatik. haw-hamburg.de

Flow Labels

24-bit Flow Labels can be uses by senders to mark associated packets. • At present still experimental

• Goal: accelerated, uniform handling of packet streams through routers • Flow label: Random per Flow

(22)

schmidt@informatik. haw-hamburg.de

More to IPv6

Domain Name System, closed disscussion

– A-Record → AAAA - Record versus

– A-Record → [A6 - Record (storage of address parts)]

• SNMP: in review, SNMP(v4) can manage IPv6 interfaces • IPsec is mandatory part of IPv6

• Secure Neighbour Discovery (Send) • IPv6 over 3GPP

(23)

schmidt@informatik. haw-hamburg.de

Packet Tunnelling of IPv6

• RFC 2473 (Conta, Deering)

• Mainly used for explicit routing path control • Defines (statefull) ‚ends‘:

- Tunnel Entry-Point - Tunnel Exit-Point

• State variables contain MTU, Traffic Class, Flow Label • Fragmentation may be necessary at tunnel entry point

(24)

schmidt@informatik. haw-hamburg.de

IPv4

→ IPv6 Porting

• Source and binary code compatibility for existent application: ‘all goes on’

• Address data structure: New for IPv6

• Name-to-address translation:

New functions to support IPv6 and IPv4 • Address converting functions:

New functions to support IPv6 and IPv4 • DNS resolver:

(25)

schmidt@informatik. haw-hamburg.de

IPv4

→ IPv6 Migration

Many techniques for migration are designed and implemented

according to the following approach:

– Dual-Stack techniques, which allow the coexistence of IPv4 and IPv6 for the same devices and nets

– Tunnel, which connect IPv6 regions over IPv4 regions

– Protocol translator, which let IPv6 devices with IPv4 devices speak

(26)

schmidt@informatik. haw-hamburg.de DRIVER IPv4 IPv6 IPv4 IPv6 TCP/UDP

Dual Stack

• On activation of IPv6 the IPv4 can continously being used (multi protocol approach)

• Devices can keep their addresses (IPv4 in IPv6) • Application / libraries choose the IP version:

– On approach in dependency of DNS answer

– On answering in dependency from received packets

(27)

schmidt@informatik. haw-hamburg.de

Information

• Christian Huitema: IPv6, die neue Generation Addison Wesley, 2000 • Herbert Wiese: Das neue Internetprotokoll IPv6, Hanser 2002

References

Related documents

Using geographical variation in school admissions policies, we are able to split this difference into an age of starting school or length of schooling effect, and an age of sitting

Workshop on Strategic Executive Leadership International Bank of Qatar 5/20/2010 12/20/2010 Business & Management Training of Medical Services Director Qatar Petroleum

This is a perfect comb for anyone who wants to groom their hair very neat and quick as it comes with hair product dispenser and also straightener feature.. Thus,

– Packets destined for anycast address are delivered to the “nearest” interface. – Subnet router anycast

RCOM internet routers and switches maintain and process the routing tables containing IPv6 addresses, RCOM uses routing protocol RIPv6 (RIPng) enabling routers to share

• The entire 128-bit IPv4-compatible IPv6 address is used as the IPv6 address of a node and the IPv4 address embedded in the low-order 32 bits is used as the IPv4 address of

a case, the adhesion would be dominated by the free functional units, i.e., those not involved in forming ionic cross-links. This implies that multilayer films prepared with

In April 2013 the Chartered Institute of Public Finance & Accountancy’s Finance Advisory Network issued a briefing entitled ‘Housing Revenue Account