ipv4 vs. ipv6 - zcu.czledvina/dht/tugraz/ipv4ipv6.pdf · ipv4 and ipv6 are not compatible data...

24
IPv4 vs. IPv6 IPv4 vs. IPv6 Advanced Computer Networks KU Johannes Trummer, SS2007

Upload: others

Post on 06-Jan-2020

12 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

IPv4 vs. IPv6IPv4 vs. IPv6

Advanced Computer Networks KU

Johannes Trummer, SS2007

Page 2: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

IPv4IPv6migrationIPv6 mobile supportfuture issues

Outline:

Page 3: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

IP Protocol Stack

Page 4: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

IP Version 4 32-Bit Adressing(2^32 Adresses = 4.294.967.296)studies say that there will not beenough adresses anymore in 2010 (just think of china, india and the upcomingmobile IP generation)

Page 5: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

IP v4 ProblemsIP adress starvationDistribution of adresses (USA >50%)Routing is complicatedRealization of new technologies(Mobile computing, real time services, multicast, security, QOS, etc.)

Page 6: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

IP version 6 (since 1996)128-bit adresses(2^128 Adresses = 3.4*10^38)smaller headeroptions placed in extension headersmobile IPv6 – roaming networks

Page 7: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

comparison of headers

IP v4:

IP v6:

Page 8: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

comparison of headers (cont´d)IP v4: - every header has ALL options

- inspected by each router-> TIME ISSUE !

IP v6: - options in extension headers- next header pointers- routers don´t have to check

options (except hop-by-hop)

Page 9: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

IP version 6: extension headerHop-by-hop options headerDestinations options headerRouting headerFragment headerAuthentication headerEncapsulation security payload header

Page 10: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

IP version 6: extension header (cont‘d)

Page 11: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

IP version 6: adress formatHexadecimal:3ffe : 0400 : 0060 : 004d : 0250 : 04ff : fe44 : b099

Without leading zeros:3ffe : 400 : 60 : 4d : 250 : 4ff : fe44 : b099

Shortened adress format:3ffe : 0 : 0 : 4d : 250 : 4ff : fe44 : b0993ffe : : 4d : 250 : 4ff : fe44 : b099

Prefix:3ffe : 400 : 60 : 4d : 250 : 4ff : fe44 : b099 /64

Page 12: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

IP version 6: adress typesUNICAST 1 to 1, direct adressing of an IP node

MULTICASTn to m, adressing of groups

ANYCAST1 to 1-n, several nodes havesame adress, received by thenearest host

Page 13: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

IP version 6: routing / fragmenting

Page 14: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

IP version 6: advantagesmuch more adresses available (2^128)no fragmentation in routersefficient routingno checksum in headersecurity functions (e.g. IPSEC) auto-configuration

Page 15: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

IP v4 vs. V6: migrationProblems:

IPv4 and IPv6 are not compatibleData exchangeAvoid internet-breakdown when changing over„one day migration“ is impossible

Solution:soft migration over timeCoexistence of IPv4 and IPv6

Page 16: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

IP v4 vs. V6: migration / compatibility

Computers migrated to IPv6 can still bereached over IPv4 (Dual stack)IPv6 can be tunneled over IPv4 networksThere will have to be a „long-timecompatibility“

Page 17: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

IP v6 in v4: EncapsulationIPv6 Datagrams packed in IPv4 Datagrams

Page 18: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

IP v6 in v4: Dual Stack (no tunneling)

Page 19: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

IP v6: mobile support

Page 20: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

IP v6: mobile support

Page 21: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

IP v6: mobile support

Page 22: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

IP v6: mobile support

Page 23: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

Future issuesmuch more mobile IP-devices and risingnumber of internet users (china, india)IPv6 is necessary for the futurechange-over is starting slowly now

Page 24: IPv4 vs. IPv6 - zcu.czledvina/DHT/tugraz/IPv4IPv6.pdf · IPv4 and IPv6 are not compatible Data exchange Avoid internet-breakdown when changing over „one day migration“ is impossible

Prüfungsfragen:

Migration from IPv4 to IPv6

IPv6 Extension Headers