25
Kakiuchi Masatoshi WIDE Project / NAIST Migration to IPv6 – IPv6 Operation – 2008-11-25 1 Migration to IPv6: AfriNIC-9

Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

  • Upload
    others

  • View
    14

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

Kakiuchi Masatoshi WIDE Project / NAIST

Migration to IPv6 – IPv6 Operation –

2008-11-25 1 Migration to IPv6: AfriNIC-9

Page 2: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

What is need for migration to IPv6   Address assignment   Routing support   DNS support on resource record and transport

  Application support on server

2008-11-25 2 Migration to IPv6: AfriNIC-9

Page 3: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

Link-local address assignment   Link-local address is scoped to intra-link communication   IPv6 support stateless address autoconfiguration

 When host connects with network, link-local address is generated using interface ID made from unique MAC address

  We need only to enable IPv6 for communicating with hosts on the same link.

FE80:0000:0000:0000 Link-local Address: interface ID from MAC addr

2008-11-25 3 Migration to IPv6: AfriNIC-9

Page 4: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

Address assignment for network   IPv6 site assigned global address by /48 prefix and can use 80

bits (16 bits subnet ID + 64 bits interface ID) at the site   Length of subnet ID bits is fixed, therefore we does not need

to think about subnet mask like IPv4   If the site consist of branches over some cities, it is good idea

using structured and aggregatable subnet ID

Branch A: 2001:DB8:1234:100::/56

Branch B: 2001:DB8:1234:200::/56

Branch C: 2001:DB8:1234:300::/56

branch router aggregate by /56

2008-11-25 4 Migration to IPv6: AfriNIC-9

Page 5: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

Address assignment for host   IPv6 support stateless address autoconfiguration

 When host connects with network, link-local address is generated using interface ID made from unique MAC address

  host receive RA (router advertisement) from local router, and global address is generated using prefix of RA and interface ID

 Operator need only to configure RA at router

FE80:0000:0000:0000 Link-local Address:

Global Address:

interface ID from MAC addr

prefix from RA interface ID from MAC addr

2008-11-25 5 Migration to IPv6: AfriNIC-9

Page 6: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

Routing support   Many router vendors support IPv6 now

 A lot of devices are approved “IPv6 Ready Logo Program” from IPv6 Forum

  Quagga (GPL licensed) is routing software suite supports major IPv6 routing protocols   PC + UNIX + Quagga = IPv6 Router

2008-11-25 6 Migration to IPv6: AfriNIC-9

Page 7: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

Phase-2 Logo Approved Devices

2008-11-25 Migration to IPv6: AfriNIC-9 7

181

27

5

as of Aug 31 2008

Page 8: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

Phase-2 Logo trend by nation (core)

2008-11-25 Migration to IPv6: AfriNIC-9 8

USA has been “serious”

as of Aug 31 2008

Page 9: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

IPv4 / IPv6 dual routing operation   If it’s running routing protocols of same type for IPv4 / IPv6

 Configuration parameters have been similar well under same topology and same policy

 Cost of management increases a little from only IPv4

  otherwise ...   Planning for IPv6 network is needed separately form IPv4  Double cost of management is needed

2008-11-25 IPv6 Tutorial: AfriNIC-9 9

Page 10: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

If your upstream network does not support IPv6 …   “IPv6 over IPv4 tunnel” is usable to connect IPv6 netowrks

over IPv4 network   If you are network administrator and want IPv6, this tunnel is

one of solutions  You need to search the tunnel peer who is nearer on IPv4

topology as possible in order that you use stable IPv6 network

  “6to4” is usable for host on IPv4 only network   IPv6 address is generated from global IPv4 address

automatically. So the host needs global IPv4 address   If you are one of users on IPv4 only network and assigned global

address, “6to4” is one of solutions

2008-11-25 Migration to IPv6: AfriNIC-9 10

Page 11: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

Example of Migration   First, enable one PC router to support IPv6 and connect to

other sites with IPv6/IPv4 tunnel   Next, go on the followings:

  Enable applications to support IPv6 / IPv4 dual stack  Convert connection with other sites to native link from tunnel   Enable core routers to support IPv6 / IPv4 and integrate IPv4 /

IPv6 networks to one topology

  Last, users will mainly use IPv6 for nice services

2008-11-25 Migration to IPv6: AfriNIC-9 11

Page 12: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

First stage of WIDE 6bone

2008-11-25 Migration to IPv6: AfriNIC-9 12

Inter-Sites tunnels

Intra-WIDE Serial lines

IPv4 is different topology & router as of 1997

Page 13: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

Example: IPv6 topology is different from IPv4 (WIDE Nara NOC)

2008-11-25 Migration to IPv6: AfriNIC-9 13

v6 PC router v4 Cicso

Page 14: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

Example: Core routers support IPv4 / Ipv6 dual protocols

2008-11-25 Migration to IPv6: AfriNIC-9 14

Page 15: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

Take care about ICMPv6 filtering   Many sites install firewall at border with external or front of

servers. Some sites drop almost all ICMP   For IPv4 / IPv6 dual stack environment ICMPv6 is more

important than for IPv4 only environment. If drop ICMPv6, the following mechanisms works worse:   PATH MTU Discovery   Fallback to IPv4 from IPv6

2008-11-25 IPv6 Tutorial: AfriNIC-9 15

Page 16: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

Path MTU Discovery For IPv4 Path MTU Discovery is optional   When it sets Don’t Fragment bit on IP header, Path MTU

Discovery works.

  If MTU of next hop is too small for IP packet, the router return ICMP “destination unreachable” message with code “fragmentation needed and DF set”

2008-11-25 IPv6 Tutorial: AfriNIC-9 16

Page 17: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

Path MTU Discovery For IPv6 Path MTU Discovery is mandatory

  IPv6 router does not support IP fragmentation to be simplify router implementation

  IPv6 Path MTU Discovery uses ICMPv6 “packet too big” message

  On some situation (e.g. IPv6/IPv4 tunnel, PPP) large packet does not reach the destination if intermediate router drop ICMPv6

2008-11-25 IPv6 Tutorial: AfriNIC-9 17

FireWall Router A Router B Sender Receiver

Small MTU Drop ICMP

DATA

ICMP

Page 18: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

Fall back to IPv4 from IPv6   There are some scenarios of fallback to IPv4 from IPv6   Sample case: server supports IPv4 / IPv6 dual stack but

application does not support IPv6   If intermediate router drop ICMPv6, user wait until TCP

timeout

2008-11-25 IPv6 Tutorial: AfriNIC-9 18

FireWall

Drop ICMP

connect using IPv6

ICMPv6 destination unreachable / Port unreachable

connect using IPv4 application response

application does not support IPv6

wait until TCP timeout

application return response

Page 19: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

DNS support on resource record

2008-11-25 Migration to IPv6: AfriNIC-9 19

  “AAAA” resource record is introduced for IPv6 hostname-to-address mappings host-x IN AAAA 2001:BD8:1234:1:2:3:4

  “PTR” resource record and “ip6.arpa” domain support IPv6 address-to-hostname mappings $ORIGIN 8.d.b.0.1.0.0.2.ip6.arpa. 4.0.0.0.3.0.0.0.2.0.0.0.1.0.0.0.4.3.2.1 IN PTR host-x.example.com

  Address notation is longer than IPv4, but only so

Page 20: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

A vs AAAA

20 2008/6/13 Copyright (C) 2008 Internet Initiative Japan Inc.

Source ; Mr.Matsuzaki of IIJ Linier

scale, not log-scale

Page 21: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

Number of source node for Queries

21 2008/6/13 Copyright (C) 2008 Internet Initiative Japan Inc.

Source ; Mr.Matsuzaki of IIJ

Page 22: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

Application support on server

2008-11-25 Migration to IPv6: AfriNIC-9 22

  Many OS support IPv6 now  MS Windows, Mac OS X, Solaris   FreeBSD, NetBSD, GNU/Linux

  Many Applications support IPv6 now   Sendmail, Postfix, Cyrus IMAP, Mozilla Thunderbird  Apache Web Server, Mozilla Firefox

Page 23: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

Some additional issues

2008-11-25 IPv6 Tutorial: AfriNIC-9 23

  NAT-PT (v6 ↔ v4 translator) does not work well   e.g. against google cache that has numeric IP address notation in

URL like: http://209.85.175.132/search?q=cache:i-zEsc35yEMJ:en.wikipedia.org/wiki/IPv6+IPv6

  Also any application which has numeric IP address in the payload

Page 24: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

Conclusion   IPv6 is not difficult. IPv6 network operation requires a little

know-how   Many devices support IPv6 now

  For the begging of IPv6, IPv6 over IPv4 is one of solutions. But for stable network, reduce tunnel

  But there are some open issue for internet application

2008-11-25 IPv6 Tutorial: AfriNIC-9 24

Page 25: Migration to IPv6 – IPv6 Operation - AFRINICExample of Migration First, enable one PC router to support IPv6 and connect to other sites with IPv6/IPv4 tunnel Next, go on the followings:

Thank you

2008-11-25 IPv6 Tutorial: AfriNIC-9 25